Click here to Skip to main content
15,899,937 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Strange Font bolding Pin
super_ttd27-Feb-07 3:04
super_ttd27-Feb-07 3:04 
JokeRe: Strange Font bolding Pin
Nibu babu thomas27-Feb-07 3:38
Nibu babu thomas27-Feb-07 3:38 
Questionsetting of properties for a ocx control Pin
zareee26-Feb-07 21:33
zareee26-Feb-07 21:33 
QuestionHow to Calculate no of timers. Pin
birajendu26-Feb-07 21:13
birajendu26-Feb-07 21:13 
AnswerRe: How to Calculate no of timers. Pin
David Crow27-Feb-07 2:57
David Crow27-Feb-07 2:57 
Questionmultiple c files in visual studio 6 project Pin
Ayman Mashal26-Feb-07 20:08
Ayman Mashal26-Feb-07 20:08 
AnswerRe: multiple c files in visual studio 6 project Pin
Cedric Moonen26-Feb-07 20:23
Cedric Moonen26-Feb-07 20:23 
AnswerRe: multiple c files in visual studio 6 project Pin
Rajesh R Subramanian26-Feb-07 20:24
professionalRajesh R Subramanian26-Feb-07 20:24 
Ayman Mashal wrote:
i cant understand how a file can access a function or a variable declared in the other file ?

For functions, Cedric Moonen has answered you. For variables, look at the keyword extern for doing this.


Ayman Mashal wrote:
i want to know if its right to add #includes for the standard libraries in all files ?


It is perfectly safe to #include the libraries in all the files, until they are guarded with #ifndef, #define and #endif to prevent it from being included multiple times.




Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா

QuestionRe: multiple c files in visual studio 6 project Pin
Ayman Mashal26-Feb-07 21:08
Ayman Mashal26-Feb-07 21:08 
AnswerRe: multiple c files in visual studio 6 project Pin
Cedric Moonen26-Feb-07 21:17
Cedric Moonen26-Feb-07 21:17 
GeneralRe: multiple c files in visual studio 6 project Pin
ensger27-Feb-07 0:04
ensger27-Feb-07 0:04 
AnswerRe: multiple c files in visual studio 6 project Pin
prasad_som27-Feb-07 1:34
prasad_som27-Feb-07 1:34 
AnswerRe: multiple c files in visual studio 6 project Pin
toxcct26-Feb-07 23:15
toxcct26-Feb-07 23:15 
AnswerRe: multiple c files in visual studio 6 project Pin
David Crow27-Feb-07 3:00
David Crow27-Feb-07 3:00 
QuestionCustom Menu Pin
Nishad S26-Feb-07 19:44
Nishad S26-Feb-07 19:44 
AnswerRe: Custom Menu Pin
prasad_som26-Feb-07 20:04
prasad_som26-Feb-07 20:04 
GeneralRe: Custom Menu Pin
Nishad S26-Feb-07 20:07
Nishad S26-Feb-07 20:07 
AnswerRe: Custom Menu Pin
prasad_som26-Feb-07 20:13
prasad_som26-Feb-07 20:13 
GeneralRe: Custom Menu Pin
Nishad S26-Feb-07 21:08
Nishad S26-Feb-07 21:08 
AnswerRe: Custom Menu Pin
prasad_som26-Feb-07 21:33
prasad_som26-Feb-07 21:33 
GeneralRe: Custom Menu Pin
Nishad S26-Feb-07 22:34
Nishad S26-Feb-07 22:34 
AnswerRe: Custom Menu Pin
prasad_som26-Feb-07 23:54
prasad_som26-Feb-07 23:54 
GeneralRe: Custom Menu Pin
Nishad S27-Feb-07 0:06
Nishad S27-Feb-07 0:06 
QuestionRe: Custom Menu Pin
Rajesh R Subramanian26-Feb-07 20:06
professionalRajesh R Subramanian26-Feb-07 20:06 
GeneralRe: Custom Menu Pin
prasad_som26-Feb-07 20:25
prasad_som26-Feb-07 20:25 

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.