Click here to Skip to main content
15,913,090 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Guidelines say avoid standard integer types Pin
Richard MacCutchan28-Oct-09 2:31
mveRichard MacCutchan28-Oct-09 2:31 
GeneralRe: Guidelines say avoid standard integer types Pin
codedgn28-Oct-09 3:06
codedgn28-Oct-09 3:06 
GeneralRe: Guidelines say avoid standard integer types Pin
CPallini28-Oct-09 3:26
mveCPallini28-Oct-09 3:26 
GeneralRe: Guidelines say avoid standard integer types Pin
Richard MacCutchan28-Oct-09 3:43
mveRichard MacCutchan28-Oct-09 3:43 
GeneralRe: Guidelines say avoid standard integer types Pin
codedgn28-Oct-09 6:55
codedgn28-Oct-09 6:55 
GeneralRe: Guidelines say avoid standard integer types Pin
Richard MacCutchan28-Oct-09 7:48
mveRichard MacCutchan28-Oct-09 7:48 
GeneralRe: Guidelines say avoid standard integer types Pin
CPallini28-Oct-09 3:03
mveCPallini28-Oct-09 3:03 
GeneralRe: Guidelines say avoid standard integer types Pin
Rajesh R Subramanian28-Oct-09 5:42
professionalRajesh R Subramanian28-Oct-09 5:42 
The compilers will handle whatever, based on the build. One build won't fit all, like you would already know. I don't think that using an integer is such a sin. Yes, the size is dependent on the architecture, but you can always make multiple builds (unless of course your code runs on a really large number of different architectures, and you don't want to maintain a build for every such architecture).

I see no reason to carry those old beliefs today. It doesn't do any harm to use that "standard header" and the datatypes present in it, but it doesn't make any sense either any longer. Smile | :)

Just my 2c. Smile | :)


“Follow your bliss.” – Joseph Campbell

AnswerRe: Guidelines say avoid standard integer types [modified] Pin
Adam Roderick J28-Oct-09 0:27
Adam Roderick J28-Oct-09 0:27 
QuestionPrinting the snapshot to the Default printer in VC++ Pin
Arun Abraham Jose27-Oct-09 23:28
Arun Abraham Jose27-Oct-09 23:28 
AnswerRe: Printing the snapshot to the Default printer in VC++ Pin
Randor 27-Oct-09 23:37
professional Randor 27-Oct-09 23:37 
GeneralRe: Printing the snapshot to the Default printer in VC++ Pin
Arun Abraham Jose28-Oct-09 0:18
Arun Abraham Jose28-Oct-09 0:18 
GeneralRe: Printing the snapshot to the Default printer in VC++ Pin
Randor 28-Oct-09 1:11
professional Randor 28-Oct-09 1:11 
GeneralRe: Printing the snapshot to the Default printer in VC++ Pin
Arun Abraham Jose28-Oct-09 2:29
Arun Abraham Jose28-Oct-09 2:29 
GeneralRe: Printing the snapshot to the Default printer in VC++ Pin
Randor 28-Oct-09 3:15
professional Randor 28-Oct-09 3:15 
QuestionHow to know if there is a valid session running on the machine or not ? Pin
Kushagra Tiwari27-Oct-09 23:25
Kushagra Tiwari27-Oct-09 23:25 
AnswerRe: How to know if there is a valid session running on the machine or not ? Pin
Randor 27-Oct-09 23:32
professional Randor 27-Oct-09 23:32 
GeneralRe: How to know if there is a valid session running on the machine or not ? Pin
Kushagra Tiwari27-Oct-09 23:39
Kushagra Tiwari27-Oct-09 23:39 
GeneralRe: How to know if there is a valid session running on the machine or not ? Pin
Covean27-Oct-09 23:56
Covean27-Oct-09 23:56 
QuestionRe: How to know if there is a valid session running on the machine or not ? Pin
Kushagra Tiwari27-Oct-09 23:55
Kushagra Tiwari27-Oct-09 23:55 
AnswerRe: How to know if there is a valid session running on the machine or not ? Pin
Covean28-Oct-09 0:04
Covean28-Oct-09 0:04 
QuestionRe: How to know if there is a valid session running on the machine or not ? Pin
Randor 28-Oct-09 0:25
professional Randor 28-Oct-09 0:25 
AnswerRe: How to know if there is a valid session running on the machine or not ? Pin
Covean28-Oct-09 0:40
Covean28-Oct-09 0:40 
GeneralRe: How to know if there is a valid session running on the machine or not ? Pin
Kushagra Tiwari28-Oct-09 0:26
Kushagra Tiwari28-Oct-09 0:26 
AnswerRe: How to know if there is a valid session running on the machine or not ? Pin
Randor 28-Oct-09 0:32
professional Randor 28-Oct-09 0:32 

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.