Re: Help!! Visual c++ 2008
Put a getchar() before return in the main function
Re: Help!! Visual c++ 2008
Quote:
int main()
{
printf ("Howdy, neighbor! This is my first C program\n");
return 0;
}
You run you program, a dos-box appears, prints your text and the dos-box closes. There is nothing wrong with your app, but the program ends as soon as its starts.
Add this lines so your app won't disappear.
Quote:
int main()
{
printf ("Howdy, neighbor! This is my first C program\n");
system ("pause");
return 0;
}
Re: Help!! Visual c++ 2008
Quote:
Originally Posted by
_Superman_
Put a getchar() before return in the main function
Thanks for all the help this seemed to work,
WOW my first step!
Thanks again