Click here to Skip to main content
15,905,566 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Writing Version Info Pin
Mepho12-Jul-05 20:39
Mepho12-Jul-05 20:39 
GeneralThrowing exceptions from COM components Pin
Uwe Keim11-Jul-05 22:27
sitebuilderUwe Keim11-Jul-05 22:27 
GeneralRe: Throwing exceptions from COM components Pin
Tim Smith12-Jul-05 3:53
Tim Smith12-Jul-05 3:53 
GeneralContinous Graph--Scrolling-----HEEELP Pin
Raza568011-Jul-05 22:05
Raza568011-Jul-05 22:05 
GeneralRe: Continous Graph--Scrolling-----HEEELP Pin
Cedric Moonen11-Jul-05 22:54
Cedric Moonen11-Jul-05 22:54 
GeneralPlease help me! Pin
dSolariuM11-Jul-05 21:04
dSolariuM11-Jul-05 21:04 
GeneralDifference b/w #define and const int Pin
wasife11-Jul-05 20:55
wasife11-Jul-05 20:55 
GeneralRe: Difference b/w #define and const int Pin
Cedric Moonen11-Jul-05 23:02
Cedric Moonen11-Jul-05 23:02 
A #define is just a preprocessor directive. Before the compilation, every lines in the code that match the 'first part' of the define will be 'replaced' by the 'second part' of the define. Thus there is no variable at all that is used for the define.

This code:

#define FIVE  5<br />
<br />
int Test = FIVE;


is exactly the same as this line:

int Test = 5;
GeneralRe: Difference b/w #define and const int Pin
toxcct12-Jul-05 1:26
toxcct12-Jul-05 1:26 
GeneralRe: Difference b/w #define and const int Pin
Bob Stanneveld12-Jul-05 3:16
Bob Stanneveld12-Jul-05 3:16 
GeneralRe: Difference b/w #define and const int Pin
Tim Smith12-Jul-05 3:56
Tim Smith12-Jul-05 3:56 
GeneralRe: Difference b/w #define and const int Pin
Bob Stanneveld12-Jul-05 20:36
Bob Stanneveld12-Jul-05 20:36 
GeneralBorland Support Pin
ditty grail11-Jul-05 20:47
ditty grail11-Jul-05 20:47 
GeneralPointer to const Pin
LiYS11-Jul-05 20:20
LiYS11-Jul-05 20:20 
GeneralRe: Pointer to const Pin
Bob Stanneveld11-Jul-05 20:34
Bob Stanneveld11-Jul-05 20:34 
GeneralRe: Pointer to const Pin
LiYS11-Jul-05 22:22
LiYS11-Jul-05 22:22 
GeneralRe: Pointer to const Pin
Bob Stanneveld11-Jul-05 22:27
Bob Stanneveld11-Jul-05 22:27 
GeneralRe: Pointer to const Pin
LiYS11-Jul-05 22:30
LiYS11-Jul-05 22:30 
GeneralRe: Pointer to const Pin
Nish Nishant11-Jul-05 20:36
sitebuilderNish Nishant11-Jul-05 20:36 
GeneralRe: Pointer to const Pin
MaxVampire8211-Jul-05 21:59
MaxVampire8211-Jul-05 21:59 
GeneralMy self install codes using startup folder - please comment Pin
awah11-Jul-05 18:39
awah11-Jul-05 18:39 
GeneralRe: My self install codes using startup folder - please comment Pin
Yulianto.11-Jul-05 19:20
Yulianto.11-Jul-05 19:20 
GeneralRe: My self install codes using startup folder - please comment Pin
David Crow12-Jul-05 3:15
David Crow12-Jul-05 3:15 
GeneralRe: My self install codes using startup folder - please comment Pin
awah12-Jul-05 17:11
awah12-Jul-05 17:11 
Generalopen file dialog Pin
Anonymous11-Jul-05 18:28
Anonymous11-Jul-05 18:28 

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.