Click here to Skip to main content
14,926,168 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Shutdown -r Pin
RomTibi7-Apr-10 5:30
MemberRomTibi7-Apr-10 5:30 
QuestionVisual C++ Solution in GCC Pin
darc koder6-Apr-10 7:12
Memberdarc koder6-Apr-10 7:12 
AnswerRe: Visual C++ Solution in GCC Pin
Maximilien6-Apr-10 8:57
MemberMaximilien6-Apr-10 8:57 
AnswerRe: Visual C++ Solution in GCC Pin
CPallini6-Apr-10 9:44
mveCPallini6-Apr-10 9:44 
AnswerRe: Visual C++ Solution in GCC Pin
David Crow6-Apr-10 10:07
MemberDavid Crow6-Apr-10 10:07 
QuestionVertical/Horizontal scroll bar not coming in CListCtrl Pin
_T("No name")6-Apr-10 3:45
Member_T("No name")6-Apr-10 3:45 
AnswerRe: Vertical/Horizontal scroll bar not coming in CListCtrl Pin
_T("No name")6-Apr-10 3:50
Member_T("No name")6-Apr-10 3:50 
Questionbm_setstate redraw not working Pin
Jach Mullan5-Apr-10 23:57
MemberJach Mullan5-Apr-10 23:57 
AnswerRe: bm_setstate redraw not working Pin
Eugen Podsypalnikov6-Apr-10 1:58
MemberEugen Podsypalnikov6-Apr-10 1:58 
Questionsyntax error [modified] Pin
rupeshkp7285-Apr-10 22:30
Memberrupeshkp7285-Apr-10 22:30 
QuestionRe: syntax error Pin
CPallini5-Apr-10 22:33
mveCPallini5-Apr-10 22:33 
AnswerRe: syntax error Pin
rupeshkp7285-Apr-10 22:40
Memberrupeshkp7285-Apr-10 22:40 
QuestionRe: syntax error Pin
CPallini5-Apr-10 22:47
mveCPallini5-Apr-10 22:47 
AnswerRe: syntax error Pin
rupeshkp7285-Apr-10 23:07
Memberrupeshkp7285-Apr-10 23:07 
GeneralRe: syntax error Pin
CPallini5-Apr-10 23:20
mveCPallini5-Apr-10 23:20 
GeneralRe: syntax error Pin
rupeshkp7286-Apr-10 0:42
Memberrupeshkp7286-Apr-10 0:42 
GeneralRe: syntax error Pin
CPallini6-Apr-10 0:50
mveCPallini6-Apr-10 0:50 
GeneralRe: syntax error Pin
rupeshkp7286-Apr-10 0:52
Memberrupeshkp7286-Apr-10 0:52 
QuestionMultiple .cpp files Pin
gamefreak22915-Apr-10 21:45
Membergamefreak22915-Apr-10 21:45 
AnswerRe: Multiple .cpp files Pin
Cedric Moonen5-Apr-10 22:01
MemberCedric Moonen5-Apr-10 22:01 
I think you don't really understand how to work with multiple cpp files. In fact, the two files are not "executed at the same time". You still have only one main function which will get called when your program start. If you want to call some functions defined in your second cpp file, you have to call them in your main function.

In fact, having multiple cpp files very similar (in the way of calling the functions I mean) as having only one cpp file. It is used to structure your program a bit more nicely (you don't have one huge file with everything in it).
Cédric Moonen
Software developer

Charting control [v3.0]
OpenGL game tutorial in C++

GeneralRe: Multiple .cpp files Pin
gamefreak22915-Apr-10 22:14
Membergamefreak22915-Apr-10 22:14 
GeneralRe: Multiple .cpp files Pin
Cedric Moonen5-Apr-10 22:29
MemberCedric Moonen5-Apr-10 22:29 
GeneralRe: Multiple .cpp files Pin
gamefreak22915-Apr-10 22:31
Membergamefreak22915-Apr-10 22:31 
GeneralRe: Multiple .cpp files Pin
Cedric Moonen5-Apr-10 22:41
MemberCedric Moonen5-Apr-10 22:41 
GeneralRe: Multiple .cpp files Pin
gamefreak22915-Apr-10 22:49
Membergamefreak22915-Apr-10 22:49 

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.