LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-12-2011, 05:26 AM   #1
jonkiribati
LQ Newbie
 
Registered: Sep 2011
Posts: 23

Rep: Reputation: Disabled
C++0x


Did you use it ? what do you think of it?
 
Old 11-12-2011, 05:35 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by jonkiribati View Post
Did you use it ? what do you think of it?
what do you really want to know? If people use hexadecimal figures in C/C++?

I do, and quite frequently so. The closer you get to the internals of programming, the more often you deal with numbers that are multiples of 16. And these are very convenient to write down in hexadecimal. Besides, for some numbers or codes, it's simply common practice to give them in hex, such as character codes, memory addresses, bit masks for logical operations, and many more.

So what is your question really aimed at?

[X] Doc CPU
 
0 members found this post helpful.
Old 11-12-2011, 06:10 AM   #3
dwhitney67
Senior Member
 
Registered: Jun 2006
Location: Maryland
Distribution: Kubuntu, Fedora, RHEL
Posts: 1,541

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Originally Posted by Doc CPU View Post
If people use hexadecimal figures in C/C++?
I believe the OP is referring to the yet-to-be-released update to the C++ standard. One can already use some features by specifying the compiler option -std=c++0x.

Personally, I have not had the opportunity to employ its use because I deal with software development in a strict environment, where developers must stick to "official" standards.
 
1 members found this post helpful.
Old 11-12-2011, 07:00 AM   #4
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by dwhitney67 View Post
I believe the OP is referring to the yet-to-be-released update to the C++ standard. ...
I think the standard has already been released: http://en.wikipedia.org/wiki/C%2B%2B11 .

And though I'm not fond of C++ in general, C++11 looks nicer than its predecessors. The Wiki article describes in detail changes/enhancements.
 
1 members found this post helpful.
Old 11-12-2011, 07:16 AM   #5
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by dwhitney67 View Post
I believe the OP is referring to the yet-to-be-released update to the C++ standard.
oh, he might be.
I've never heard of that new standard so far, but the reason may be that I usually write plain C (sometimes refined with a pinch of Assembly language) and avoid C++ wherever I can help it.

[X] Doc CPU
 
0 members found this post helpful.
Old 11-12-2011, 07:41 AM   #6
dwhitney67
Senior Member
 
Registered: Jun 2006
Location: Maryland
Distribution: Kubuntu, Fedora, RHEL
Posts: 1,541

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Originally Posted by Sergei Steshenko View Post
I think the standard has already been released: http://en.wikipedia.org/wiki/C%2B%2B11 .
Thanks for the link. I was wondering if I was going to reach retirement before the standard was ever released. Rumors stated that it would be released sometime before 2010, but when that year passed, I sort of lost faith as to when it ever was going to be released.
 
Old 11-12-2011, 08:36 AM   #7
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by dwhitney67 View Post
Thanks for the link. I was wondering if I was going to reach retirement before the standard was ever released. Rumors stated that it would be released sometime before 2010, but when that year passed, I sort of lost faith as to when it ever was going to be released.
Backward compatibility is a severe problem, and C++ from the getgo is convoluted, so don't expect quick updates in the standard.
 
Old 11-14-2011, 03:04 AM   #8
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
Quote:
Originally Posted by dwhitney67 View Post
Thanks for the link. I was wondering if I was going to reach retirement before the standard was ever released.
You could always wait for perl version 6 instead.

(I'm wating for the Gnu Hurd: expected launch date: Satan's winter olympics)
 
Old 11-14-2011, 12:57 PM   #9
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by bigearsbilly View Post
You could always wait for perl version 6 instead.

(I'm wating for the Gnu Hurd: expected launch date: Satan's winter olympics)
There is a working version of Perl 6, and they are making progress. But Perl 6 is long overdue.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration