Click here to Skip to main content
15,920,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Class Bascis Question... Pin
led mike6-May-06 6:11
led mike6-May-06 6:11 
AnswerRe: Class Bascis Question... Pin
Maxwell Chen6-May-06 3:31
Maxwell Chen6-May-06 3:31 
GeneralRe: Class Bascis Question... Pin
Stephen Hewitt6-May-06 3:54
Stephen Hewitt6-May-06 3:54 
GeneralRe: Class Bascis Question... Pin
Axter6-May-06 16:43
professionalAxter6-May-06 16:43 
GeneralRe: Class Bascis Question... Pin
Stephen Hewitt6-May-06 18:32
Stephen Hewitt6-May-06 18:32 
GeneralRe: Class Bascis Question... Pin
Maxwell Chen6-May-06 19:16
Maxwell Chen6-May-06 19:16 
GeneralRe: Class Bascis Question... Pin
Phil C6-May-06 20:12
Phil C6-May-06 20:12 
AnswerRe: Class Bascis Question... Pin
Maxwell Chen6-May-06 20:44
Maxwell Chen6-May-06 20:44 
Phil C wrote:
Is that where all the leading underscores are coming from????
I've been wondering why I've been seeing them more and more lately.


Nothing but just my habbit.

But you may write a letter to Microsoft to ask them: Why _tcstol(...) has that underscore.

You are not obligated to fix in certain naming way as:
m_MyValue;
_MyValue;
mMyValue;
MyValueMember;
ThisIsTheMemberVariableNamedMyValue;
thisismygoddamnmembervariable;
// ......
You rule the code. Feel free to name in your own way!


Phil C wrote:
I'll be damned if i'm going to pay $291 so I can download a 2MB file of instructions telling me how I'm supposed to name my variables.


Those specifications are not only telling you how to name the variables.

As in this case, ISO/IEC 14882 just enumerates what letters we can use to name identifiers.


Phil C wrote:
I've been listening to this grand promise of making code portable for over 20 years now and I've lost count of how many times I've been told we're all doing it wrong.


Yeah. Eight years ago when I was entering the programming field, I was told that C/C++ are the only portable.
The fact?! Not at all.

Phil C wrote:
to run along with ISO/IEC


Personally, I don't like reading ISO or ANSI specs. They are written in alien language instead of human understandable English. I only look up in the spec when there is any doubt.

The same idea why you bought a dictionary. Your buying a dictionary not to learn how to write the letters [A ~ Z and a ~ z] but you need to look up the words which you don't know the meanings.



Maxwell Chen
GeneralRe: Class Bascis Question... Pin
Axter7-May-06 1:05
professionalAxter7-May-06 1:05 
GeneralRe: Class Bascis Question... Pin
Maxwell Chen7-May-06 2:02
Maxwell Chen7-May-06 2:02 
GeneralRe: Class Bascis Question... Pin
Axter7-May-06 5:53
professionalAxter7-May-06 5:53 
GeneralRe: Class Bascis Question... Pin
Maxwell Chen7-May-06 6:22
Maxwell Chen7-May-06 6:22 
GeneralRe: Class Bascis Question... Pin
Axter7-May-06 1:20
professionalAxter7-May-06 1:20 
QuestionRe: Class Bascis Question... Pin
Maxwell Chen7-May-06 2:08
Maxwell Chen7-May-06 2:08 
AnswerRe: Class Bascis Question... Pin
Axter7-May-06 5:57
professionalAxter7-May-06 5:57 
GeneralRe: Class Bascis Question... Pin
Maxwell Chen7-May-06 6:08
Maxwell Chen7-May-06 6:08 
Questionhow to get ip address of my own system Pin
noumanzaidi6-May-06 1:39
noumanzaidi6-May-06 1:39 
AnswerRe: how to get ip address of my own system Pin
Hamid_RT6-May-06 1:48
Hamid_RT6-May-06 1:48 
AnswerRe: how to get ip address of my own system Pin
Mila0257-May-06 21:19
Mila0257-May-06 21:19 
Questionerror(plz give the solution for this) Pin
Reddyb6-May-06 1:26
Reddyb6-May-06 1:26 
AnswerRe: error(plz give the solution for this) Pin
Hamid_RT6-May-06 1:57
Hamid_RT6-May-06 1:57 
AnswerRe: error(plz give the solution for this) Pin
Cedric Moonen6-May-06 1:58
Cedric Moonen6-May-06 1:58 
AnswerRe: error(plz give the solution for this) Pin
guestcat6-May-06 2:17
guestcat6-May-06 2:17 
AnswerRe: error(plz give the solution for this) Pin
Hamid_RT6-May-06 4:50
Hamid_RT6-May-06 4:50 
Questiondll to source Pin
Try6-May-06 1:20
Try6-May-06 1:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.