Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++

Name: Anonymous 2008-07-15 14:50

#include <iostream>

main()
{
std::cout << "Hello World!" << std::endl;
}

What am I doing wrong here? The cmd just flashes and close. It doesn't display hello world.

Name: Anonymous 2008-07-15 18:16

#include <iostream>
#include <cstdlib>

using namespace std;

int main (void)
{
   printf("Hellow, World!\n");
   system("pause");
   return 0;
}

This is epic fail code.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List