0

I am trying to run a program on my pc but it is not showing out put, why?

in the first basic learning lesson,after making a program as guided in the lesson I click the button burn and run, but PC isn't showing output.

19th Oct 2016, 2:43 AM
Mohan Patel
Mohan Patel - avatar
3 odpowiedzi
+ 2
If your console doesn't show up for more than a split second, then make sure your project is set to a "Console application" in project properties. Location of this may slightly differ between IDEs.
19th Oct 2016, 3:17 PM
Cohen Creber
Cohen Creber - avatar
0
I assume you mean "build and run". What IDE are you using?
19th Oct 2016, 3:34 AM
DaemonErrors
DaemonErrors - avatar
0
I suppose your program exit before you could see any output. You might want to try one of the following: 1-adding this 'system("pause")' before your 'return 0;' in the main function; or 2-adding this 'getchar();' before your 'return 0;' in the main function. If you specify your IDE or show your program as @MCAT suggested, then we can look at it in a targeted way.
19th Oct 2016, 5:39 AM
Yu Xiang Zhang
Yu Xiang Zhang - avatar