Computer Science Canada Questions, pls come in |
Author: | kk01 [ Sat May 19, 2012 9:59 pm ] | ||||
Post subject: | Questions, pls come in | ||||
I am using Dev-Cpp software. I have the following program. When I compile the program, the screen just pop-out and close instantaneously. I am confused and I think there must be an error in the do while loop since userInput was not set with a value. But, it still doesn't work. At least, at this point, I expect the welcome screen (Welcome to Database!) will show up. It doesn't work at all Can anyone help me with this? Thanks a lot ![]()
- Next time please wrap your code in
in order to preserve whitespace and add colours and stuff. |
Author: | DemonWasp [ Sun May 20, 2012 6:06 pm ] |
Post subject: | RE:Questions, pls come in |
"Compile" and "Run" are different things. Running your program requires that it be compiled; compiling just means converting your C++ code to something the computer understands. Try finding a "Run" or "Debug" button or menu-entry to click on. |
Author: | kk01 [ Sun May 20, 2012 10:10 pm ] |
Post subject: | Re: Questions, pls come in |
well, I press "compile and run", the problem is still the same. |
Author: | QuantumPhysics [ Tue May 22, 2012 3:39 pm ] |
Post subject: | RE:Questions, pls come in |
you have the helpme() function... but where did you state what it does... all the computer see's is a blank canvas. use Console.System("pause") |