Click here to Skip to main content
14,877,378 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
gamefreak2291 wrote:
So to get the "main" function of the second .cpp file to run i have to call it within the other one using the same method used for calling the two functions that made the two different colored boxes correct?


Yes, but the problem is that you have a while loop in both of your functions, which means that you still won't achieve what you want. You need to have only one loop in which you execute your code.
Cédric Moonen
Software developer

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

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 
AnswerRe: Multiple .cpp files Pin
KarstenK5-Apr-10 22:38
mveKarstenK5-Apr-10 22:38 
GeneralRe: Multiple .cpp files Pin
gamefreak22915-Apr-10 22:45
Membergamefreak22915-Apr-10 22:45 
GeneralRe: Multiple .cpp files Pin
KarstenK5-Apr-10 22:59
mveKarstenK5-Apr-10 22:59 
GeneralRe: Multiple .cpp files Pin
gamefreak22915-Apr-10 23:40
Membergamefreak22915-Apr-10 23:40 
GeneralRe: Multiple .cpp files Pin
Emilio Garavaglia6-Apr-10 2:20
MemberEmilio Garavaglia6-Apr-10 2:20 
GeneralRe: Multiple .cpp files Pin
gamefreak22916-Apr-10 6:47
Membergamefreak22916-Apr-10 6:47 
GeneralRe: Multiple .cpp files Pin
Emilio Garavaglia6-Apr-10 20:36
MemberEmilio Garavaglia6-Apr-10 20:36 
QuestionPermutations with repetition Pin
MsmVc5-Apr-10 20:59
MemberMsmVc5-Apr-10 20:59 
AnswerRe: Permutations with repetition Pin
CPallini5-Apr-10 21:49
mveCPallini5-Apr-10 21:49 
GeneralRe: Permutations with repetition [modified] Pin
MsmVc5-Apr-10 21:58
MemberMsmVc5-Apr-10 21:58 
GeneralRe: Permutations with repetition Pin
CPallini5-Apr-10 22:06
mveCPallini5-Apr-10 22:06 
GeneralRe: Permutations with repetition Pin
MsmVc5-Apr-10 22:07
MemberMsmVc5-Apr-10 22:07 
GeneralRe: Permutations with repetition Pin
MsmVc6-Apr-10 0:00
MemberMsmVc6-Apr-10 0:00 
GeneralRe: Permutations with repetition Pin
CPallini6-Apr-10 0:21
mveCPallini6-Apr-10 0:21 

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.