This may be simple, but it is a major problem I have been having:
When I run the program, the number 5 does not display. I am used to using "cout" with C++, can someone help me out?
- Code:
#include <stdio.h>
main()
{
int ctr = 5;
printf(" %d", ctr);
system("PAUSE");
return 0;
}
When I run the program, the number 5 does not display. I am used to using "cout" with C++, can someone help me out?