Click here to Skip to main content
15,909,466 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Typedef Pin
Michael Dunn22-Jun-06 8:29
sitebuilderMichael Dunn22-Jun-06 8:29 
GeneralRe: Typedef Pin
Jay0322-Jun-06 8:36
Jay0322-Jun-06 8:36 
GeneralRe: Typedef Pin
Zac Howland22-Jun-06 9:33
Zac Howland22-Jun-06 9:33 
GeneralRe: Typedef Pin
Michael Dunn22-Jun-06 10:43
sitebuilderMichael Dunn22-Jun-06 10:43 
GeneralRe: Typedef Pin
Alexander M.,22-Jun-06 16:04
Alexander M.,22-Jun-06 16:04 
Questionlong data type with 64-bit Pin
Alexander M.,22-Jun-06 6:57
Alexander M.,22-Jun-06 6:57 
AnswerRe: long data type with 64-bit Pin
Zac Howland22-Jun-06 7:01
Zac Howland22-Jun-06 7:01 
AnswerRe: long data type with 64-bit Pin
toxcct22-Jun-06 7:24
toxcct22-Jun-06 7:24 
short int is the same as short
long int is the same as long

sizeof(short) returns 2
sizeof(long) returns 4


on a 16 bits environment : sizeof(int) returns 2
on a 32 bits environment : sizeof(int) returns 4
on a 64 bits environment : sizeof(int) returns 8

sizeof(long long) is supposed to return 8, but it is not provided by the standard, and not every compilers know that type.
sizeof(__int64) is quite the same as long long, but AFAIK, it is a microsoft specific type, so, not portable either...


TOXCCT >>> GEII power

[VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]
GeneralRe: long data type with 64-bit [modified] Pin
Zac Howland22-Jun-06 7:29
Zac Howland22-Jun-06 7:29 
GeneralRe: long data type with 64-bit Pin
Jörgen Sigvardsson22-Jun-06 11:27
Jörgen Sigvardsson22-Jun-06 11:27 
GeneralRe: long data type with 64-bit Pin
Zac Howland23-Jun-06 3:12
Zac Howland23-Jun-06 3:12 
GeneralRe: long data type with 64-bit Pin
Jörgen Sigvardsson24-Jun-06 9:54
Jörgen Sigvardsson24-Jun-06 9:54 
GeneralRe: long data type with 64-bit Pin
Alexander M.,22-Jun-06 16:01
Alexander M.,22-Jun-06 16:01 
GeneralRe: long data type with 64-bit Pin
Zac Howland23-Jun-06 3:18
Zac Howland23-Jun-06 3:18 
AnswerRe: long data type with 64-bit Pin
Nemanja Trifunovic22-Jun-06 7:41
Nemanja Trifunovic22-Jun-06 7:41 
QuestionHow to merge 2 resource to 1 resource? Pin
xuwenq8822-Jun-06 6:05
xuwenq8822-Jun-06 6:05 
AnswerRe: How to merge 2 resource to 1 resource? Pin
Zac Howland22-Jun-06 6:22
Zac Howland22-Jun-06 6:22 
AnswerRe: How to merge 2 resource to 1 resource? Pin
Tara1422-Jun-06 11:20
Tara1422-Jun-06 11:20 
GeneralRe: How to merge 2 resource to 1 resource? Pin
xuwenq8822-Jun-06 19:48
xuwenq8822-Jun-06 19:48 
GeneralRe: How to merge 2 resource to 1 resource? Pin
Tara1423-Jun-06 0:26
Tara1423-Jun-06 0:26 
QuestionPointer Syntax [modified] Pin
Jay0322-Jun-06 5:59
Jay0322-Jun-06 5:59 
AnswerRe: Pointer Syntax Pin
David Crow22-Jun-06 6:02
David Crow22-Jun-06 6:02 
AnswerRe: Pointer Syntax Pin
Chris Losinger22-Jun-06 6:08
professionalChris Losinger22-Jun-06 6:08 
AnswerRe: Pointer Syntax Pin
toxcct22-Jun-06 6:09
toxcct22-Jun-06 6:09 
GeneralRe: Pointer Syntax Pin
Jay0322-Jun-06 6:24
Jay0322-Jun-06 6:24 

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.