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.
3 Answers
+ 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.
0
I assume you mean "build and run". What IDE are you using?
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.