Click here to Skip to main content
15,914,820 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Help to remove a level 4 warning Pin
Roland Pibinger30-Nov-05 9:41
Roland Pibinger30-Nov-05 9:41 
Questionwhat is alternation for "ODBCVER.H"of vc6.0 in vc7.0? Pin
G Haranadh30-Nov-05 5:12
G Haranadh30-Nov-05 5:12 
AnswerRe: what is alternation for "ODBCVER.H"of vc6.0 in vc7.0? Pin
Mike Dimmick30-Nov-05 5:53
Mike Dimmick30-Nov-05 5:53 
GeneralRe: what is alternation for "ODBCVER.H"of vc6.0 in vc7.0? Pin
G Haranadh30-Nov-05 9:51
G Haranadh30-Nov-05 9:51 
QuestionWinInet FTP - how to dump each conversation ? Pin
rrrado30-Nov-05 4:21
rrrado30-Nov-05 4:21 
AnswerRe: WinInet FTP - how to dump each conversation ? Pin
ThatsAlok30-Nov-05 23:10
ThatsAlok30-Nov-05 23:10 
GeneralRe: WinInet FTP - how to dump each conversation ? Pin
rrrado1-Dec-05 22:39
rrrado1-Dec-05 22:39 
Question#define scope rules Pin
Like2Byte30-Nov-05 3:54
Like2Byte30-Nov-05 3:54 
Hi. I'm reading through some *very* old 'C' code that was created during the C89 standards - pre-1999. Basically, I've inherited some code from company A to support at company B.

Anyway, in one procedure I've located a #define that the original programmer quoted as it being local to the procedure.

Now, correct me if I'm wrong (of course you will! Laugh | :laugh: ); but, arn't #define's that are created anywhere in the code visible to the remaining portions of the project? That is, all remaining code, across files, that has yet to be compiled (from when the #define is declared) will contain the #define'd parameter until it is undefined?

Was there ever a difference in this behaviour between C89 and C99 conventions?

Thanks!

Carl

-- modified at 10:19 Wednesday 30th November, 2005
AnswerRe: #define scope rules [edited] Pin
toxcct30-Nov-05 4:39
toxcct30-Nov-05 4:39 
AnswerRe: #define scope rules Pin
Chris Losinger30-Nov-05 4:54
professionalChris Losinger30-Nov-05 4:54 
QuestionMulti Monitor Pin
Karl Bahr30-Nov-05 3:51
Karl Bahr30-Nov-05 3:51 
QuestionCreateProcess doesn't work while ShellExecute Does!!!! Pin
YaronNir30-Nov-05 3:25
YaronNir30-Nov-05 3:25 
AnswerRe: CreateProcess doesn't work while ShellExecute Does!!!! Pin
Cedric Moonen30-Nov-05 3:46
Cedric Moonen30-Nov-05 3:46 
GeneralRe: CreateProcess doesn't work while ShellExecute Does!!!! Pin
YaronNir30-Nov-05 3:51
YaronNir30-Nov-05 3:51 
AnswerRe: CreateProcess doesn't work while ShellExecute Does!!!! Pin
Gavin Taylor30-Nov-05 4:15
professionalGavin Taylor30-Nov-05 4:15 
GeneralRe: CreateProcess doesn't work while ShellExecute Does!!!! Pin
YaronNir30-Nov-05 4:50
YaronNir30-Nov-05 4:50 
QuestionRe: CreateProcess doesn't work while ShellExecute Does!!!! Pin
David Crow30-Nov-05 8:03
David Crow30-Nov-05 8:03 
AnswerRe: CreateProcess doesn't work while ShellExecute Does!!!! Pin
YaronNir30-Nov-05 20:26
YaronNir30-Nov-05 20:26 
AnswerRe: CreateProcess doesn't work while ShellExecute Does!!!! Pin
Daniel Lohmann30-Nov-05 10:36
Daniel Lohmann30-Nov-05 10:36 
GeneralRe: CreateProcess doesn't work while ShellExecute Does!!!! Pin
YaronNir30-Nov-05 20:26
YaronNir30-Nov-05 20:26 
Questionprint Pin
viliam30-Nov-05 2:46
viliam30-Nov-05 2:46 
QuestionRe: print Pin
David Crow30-Nov-05 2:55
David Crow30-Nov-05 2:55 
QuestionActiveX Controls in VS 7.1 Pin
sweep12330-Nov-05 2:03
sweep12330-Nov-05 2:03 
QuestionDeviceIoControl() & COM1 Pin
button_basher30-Nov-05 1:45
button_basher30-Nov-05 1:45 
QuestionHow to make a child window appear on TaskBar Pin
pradish30-Nov-05 0:58
pradish30-Nov-05 0:58 

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.