| The Following User Says Thank You to slvr32 For This Useful Post: | ||
?# include <stdio.h>
int main (void)
{
printf ("hellow wolrd");
getchar();
}

#include <iostream>
using namespace std;
main() {
cout << "hello, world\n";
if (cin.get() == '\n')
return 0;
}
| The Following 3 Users Say Thank You to Captwheeto For This Useful Post: | ||
| The Following 3 Users Say Thank You to onethreealpha For This Useful Post: | ||
#include <iostream> // use correct i.e. C++ library
int main() // declare return type
{
using namespace std; // do this inside scope
cout << "hello, world"; // self-terminating string
system("PAUSE"); // requires user input (keypress) to quit
return 0; // return an int
}
| The Following 2 Users Say Thank You to demolition For This Useful Post: | ||
| The Following 2 Users Say Thank You to SubCore For This Useful Post: | ||
| The Following User Says Thank You to momcilo For This Useful Post: | ||