My C++ program is not running but its getting compiled. please suggest what to do?
My c++/c program is not running, but it is getting complied.
Collapse
X
-
Perhaps your program doesn't do anything palpable -- that is, there is no input or output. I suggest you add a first line to your main function that prints something:
Note the newline at the end of the string, it is important.Code:#include <stdio.h> ... printf("Hello\n");Comment
-
As there are programs that compatible with Vista but not with Windows 7, the answer is yes. (may be useful - http://social.technet.microsoft.com/...4-59b9745d1ec0 )Comment
Comment