Click here to Skip to main content
15,900,378 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ template class and CDialog Pin
Moak9-Feb-03 12:08
Moak9-Feb-03 12:08 
QuestionOpenGL or DirectX ? Pin
Ehsan Baghaki9-Feb-03 3:51
Ehsan Baghaki9-Feb-03 3:51 
AnswerRe: OpenGL or DirectX ? Pin
Moak9-Feb-03 4:05
Moak9-Feb-03 4:05 
AnswerRe: OpenGL or DirectX ? Pin
Mike Nordell9-Feb-03 15:03
Mike Nordell9-Feb-03 15:03 
GeneralQuestion about printf("%ld", ...) Pin
George29-Feb-03 1:05
George29-Feb-03 1:05 
GeneralRe: Question about printf("%ld", ...) Pin
Tim Smith9-Feb-03 1:25
Tim Smith9-Feb-03 1:25 
GeneralRe: Question about printf("%ld", ...) Pin
George29-Feb-03 1:35
George29-Feb-03 1:35 
GeneralRe: Question about printf("%ld", ...) Pin
Gary R. Wheeler9-Feb-03 5:00
Gary R. Wheeler9-Feb-03 5:00 
<purist_anal_retentive_viewpoint>
The "%d" format is for printing variables of type int. The "%ld" format is for printing variables of type long int. For the Win32 versions of Visual C++ (4.0 and greater), int's and long int's are both 32 bits. It's better 'form' to not rely on their being the same size.
</purist_anal_retentive_viewpoint>
Roll eyes | :rolleyes:


Software Zen: delete this;
GeneralRe: Question about printf("%ld", ...) Pin
Nitron9-Feb-03 9:49
Nitron9-Feb-03 9:49 
GeneralRe: Question about printf("%ld", ...) Pin
Gary R. Wheeler9-Feb-03 11:34
Gary R. Wheeler9-Feb-03 11:34 
GeneralQuestion about const int& Pin
George28-Feb-03 23:30
George28-Feb-03 23:30 
GeneralRe: Question about const int& Pin
Stephane Rodriguez.8-Feb-03 23:45
Stephane Rodriguez.8-Feb-03 23:45 
GeneralRe: Question about const int& Pin
George28-Feb-03 23:49
George28-Feb-03 23:49 
GeneralRe: Question about const int& Pin
Stephane Rodriguez.9-Feb-03 0:13
Stephane Rodriguez.9-Feb-03 0:13 
GeneralRe: Question about const int& Pin
George29-Feb-03 0:33
George29-Feb-03 0:33 
GeneralRe: Question about const int& Pin
Stephane Rodriguez.9-Feb-03 0:47
Stephane Rodriguez.9-Feb-03 0:47 
GeneralRe: Question about const int& Pin
George29-Feb-03 0:58
George29-Feb-03 0:58 
GeneralRe: Question about const int& Pin
includeh109-Feb-03 0:38
includeh109-Feb-03 0:38 
GeneralRe: Question about const int& Pin
George29-Feb-03 0:41
George29-Feb-03 0:41 
GeneralRe: Question about const int& Pin
Gary R. Wheeler9-Feb-03 5:06
Gary R. Wheeler9-Feb-03 5:06 
GeneralRe: Question about const int& Pin
Jambolo9-Feb-03 22:39
Jambolo9-Feb-03 22:39 
GeneralESC closing dialog Pin
S O S8-Feb-03 23:18
S O S8-Feb-03 23:18 
GeneralRe: ESC closing dialog Pin
skaanji9-Feb-03 0:47
skaanji9-Feb-03 0:47 
GeneralRe: ESC closing dialog Pin
S O S9-Feb-03 3:22
S O S9-Feb-03 3:22 
GeneralDirectX HELP!!! Pin
Ehsan Baghaki8-Feb-03 22:15
Ehsan Baghaki8-Feb-03 22:15 

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.