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

C / C++ / MFC

 
GeneralPrgramatic Control of Toolbar Pin
Jawache6-Feb-03 1:51
Jawache6-Feb-03 1:51 
GeneralRe: Prgramatic Control of Toolbar Pin
KarstenK6-Feb-03 2:23
mveKarstenK6-Feb-03 2:23 
GeneralRe: Prgramatic Control of Toolbar Pin
Jawache6-Feb-03 3:48
Jawache6-Feb-03 3:48 
GeneralGradient Progress Bar Pin
Ambit6-Feb-03 1:50
Ambit6-Feb-03 1:50 
GeneralRe: Gradient Progress Bar Pin
Kayembi6-Feb-03 9:04
Kayembi6-Feb-03 9:04 
GeneralRe: Gradient Progress Bar Pin
Chris Richardson6-Feb-03 18:52
Chris Richardson6-Feb-03 18:52 
GeneralRe: Gradient Progress Bar Pin
Ambit7-Feb-03 5:06
Ambit7-Feb-03 5:06 
General#define Pin
Rage6-Feb-03 1:30
professionalRage6-Feb-03 1:30 
GeneralRe: #define Pin
Christian Graus6-Feb-03 1:59
protectorChristian Graus6-Feb-03 1:59 
GeneralRe: #define Pin
Anders Molin6-Feb-03 8:33
professionalAnders Molin6-Feb-03 8:33 
GeneralRe: #define Pin
Christian Graus6-Feb-03 9:38
protectorChristian Graus6-Feb-03 9:38 
GeneralRe: #define Pin
Anders Molin6-Feb-03 9:58
professionalAnders Molin6-Feb-03 9:58 
GeneralRe: #define Pin
Christian Graus6-Feb-03 10:29
protectorChristian Graus6-Feb-03 10:29 
GeneralRe: #define Pin
Joaquín M López Muñoz6-Feb-03 9:28
Joaquín M López Muñoz6-Feb-03 9:28 
GeneralRe: #define Pin
Christian Graus6-Feb-03 9:39
protectorChristian Graus6-Feb-03 9:39 
GeneralRe: #define Pin
Joaquín M López Muñoz6-Feb-03 10:03
Joaquín M López Muñoz6-Feb-03 10:03 
GeneralRe: #define Pin
Christian Graus6-Feb-03 10:28
protectorChristian Graus6-Feb-03 10:28 
GeneralRe: #define Pin
Joaquín M López Muñoz6-Feb-03 10:31
Joaquín M López Muñoz6-Feb-03 10:31 
GeneralRe: #define Pin
Paul M Watt6-Feb-03 19:44
mentorPaul M Watt6-Feb-03 19:44 
GeneralRe: #define Pin
RChin6-Feb-03 2:01
RChin6-Feb-03 2:01 
GeneralRe: #define Pin
Gary Wheeler6-Feb-03 2:04
Gary Wheeler6-Feb-03 2:04 
GeneralRe: #define Pin
Chris Richardson6-Feb-03 18:58
Chris Richardson6-Feb-03 18:58 
If you have a compiler smart enough to do "constant folding", then yes, you'll end up with int i = 17. Constant folding is one of those compiler optimizations that is literally so easy, that every compiler you will find out there will do it. Even most interpreters will do it.

The other replies have given a good enough explanation of the preprocessing stuff going on here, so I'll not explain that part of it.

Chris Richardson

C/C++ Include Finder[^]
Generalobtain SID Pin
rohit.dhamija6-Feb-03 0:53
rohit.dhamija6-Feb-03 0:53 
GeneralRe: obtain SID Pin
Iain Clarke, Warrior Programmer6-Feb-03 6:02
Iain Clarke, Warrior Programmer6-Feb-03 6:02 
QuestionWinXp machine, but WINVER macro is 0x400 ?? Pin
CEx6-Feb-03 0:42
CEx6-Feb-03 0:42 

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.