Click here to Skip to main content
15,921,694 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: 32-bit or 64-bit, that's the question Pin
Bo Hunter5-Oct-03 7:38
Bo Hunter5-Oct-03 7:38 
GeneralRe: 32-bit or 64-bit, that's the question Pin
ZoogieZork5-Oct-03 7:23
ZoogieZork5-Oct-03 7:23 
GeneralRe: 32-bit or 64-bit, that's the question Pin
markkuk5-Oct-03 7:00
markkuk5-Oct-03 7:00 
GeneralRe: 32-bit or 64-bit, that's the question Pin
Michael Dunn5-Oct-03 9:11
sitebuilderMichael Dunn5-Oct-03 9:11 
QuestionDefining safe integer types? Pin
Dominik Reichl5-Oct-03 1:26
Dominik Reichl5-Oct-03 1:26 
AnswerRe: Defining safe integer types? Pin
includeh105-Oct-03 4:08
includeh105-Oct-03 4:08 
AnswerRe: Defining safe integer types? Pin
Michael Dunn5-Oct-03 9:17
sitebuilderMichael Dunn5-Oct-03 9:17 
AnswerRe: Defining safe integer types? Pin
ZoogieZork5-Oct-03 9:26
ZoogieZork5-Oct-03 9:26 
If your compiler has the inttypes.h header available (such as GCC), you're in luck. This header defines types such as int64_t and uint64_t. So, you might want to create something like this:

#ifdef __GNU_C__<br />
#include <inttypes.h><br />
#define HAS_INTTYPES<br />
#endif<br />
<br />
/* ... */<br />
<br />
#ifndef HAS_INTTYPES<br />
  #ifdef MSC_VER<br />
  typedef __int64 int64_t;<br />
  #elif __BORLANDC__<br />
  typedef __int64 int64_t;<br />
  #endif<br />
#endif


This was just off the top of my head. Hope this helps Smile | :)

- Mike
GeneralI need high lights in Printing invoice(bell) Pin
Anonymous4-Oct-03 22:16
Anonymous4-Oct-03 22:16 
Generalneed advice on drawing code! Pin
coda_x4-Oct-03 21:05
coda_x4-Oct-03 21:05 
GeneralRe: need advice on drawing code! Pin
LunaticFringe4-Oct-03 22:05
LunaticFringe4-Oct-03 22:05 
GeneralRe: need advice on drawing code! Pin
coda_x4-Oct-03 23:37
coda_x4-Oct-03 23:37 
GeneralRe: need advice on drawing code! Pin
LunaticFringe5-Oct-03 3:55
LunaticFringe5-Oct-03 3:55 
GeneralRe: need advice on drawing code! Pin
coda_x6-Oct-03 1:34
coda_x6-Oct-03 1:34 
GeneralQuestion about several popular sleep methods. Pin
George24-Oct-03 19:46
George24-Oct-03 19:46 
GeneralRe: Question about several popular sleep methods. Pin
Blake Coverett4-Oct-03 20:53
Blake Coverett4-Oct-03 20:53 
GeneralRe: Question about several popular sleep methods. Pin
George24-Oct-03 21:27
George24-Oct-03 21:27 
GeneralRe: Question about several popular sleep methods. Pin
Blake Coverett4-Oct-03 21:53
Blake Coverett4-Oct-03 21:53 
GeneralRe: Question about several popular sleep methods. Pin
George24-Oct-03 22:00
George24-Oct-03 22:00 
GeneralRe: Question about several popular sleep methods. Pin
Johnny ²6-Oct-03 1:14
Johnny ²6-Oct-03 1:14 
GeneralRe: Question about several popular sleep methods. Pin
George26-Oct-03 16:39
George26-Oct-03 16:39 
Generalerror Pin
R. Thomas4-Oct-03 18:56
R. Thomas4-Oct-03 18:56 
GeneralRe: error Pin
Dominik Reichl4-Oct-03 23:02
Dominik Reichl4-Oct-03 23:02 
GeneralRe: error Pin
R. Thomas5-Oct-03 0:03
R. Thomas5-Oct-03 0:03 
QuestionCalculating window size based on bitmap and titlebar/border? Pin
Kayembi4-Oct-03 15:53
Kayembi4-Oct-03 15:53 

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.