943,706 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 592
  • C++ RSS
Aug 6th, 2009
0

Naming Convention

Expand Post »
Is there any naming convention for C++ which is widely used and accepted?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
metdos is offline Offline
15 posts
since Jul 2009
Aug 6th, 2009
1

Re: Naming Convention

No.

Everyone thinks the one they use is the best. Do something that makes sense. Nobody will complain too much so long as it's sensible.
Reputation Points: 453
Solved Threads: 57
Posting Virtuoso
twomers is offline Offline
1,873 posts
since May 2007
Aug 6th, 2009
0

Re: Naming Convention

Just don't use Hungarian. I use Camel naming convention like so ,

float PlayerLife
Reputation Points: 840
Solved Threads: 594
Senior Poster
firstPerson is offline Offline
3,862 posts
since Dec 2008
Aug 6th, 2009
0

Re: Naming Convention

I go for a grazing cammel
double playerLifeForce;
Reputation Points: 453
Solved Threads: 57
Posting Virtuoso
twomers is offline Offline
1,873 posts
since May 2007
Aug 6th, 2009
1

Re: Naming Convention

Click to Expand / Collapse  Quote originally posted by twomers ...
I go for a grazing cammel
double playerLifeForce;
I choose the Hungarian grazing Homer Simpson :
bool iDuff = true;
Moderator
Featured Poster
Reputation Points: 4142
Solved Threads: 394
Industrious Poster
Nick Evan is offline Offline
4,132 posts
since Oct 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Auto assign?
Next Thread in C++ Forum Timeline: help with this in C++





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC