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

i'm an idiot at C

Name: Anonymous 2008-11-27 18:10

So I picked up The Programming Language and I'm using Dev-C++ as my IDE.  I'm pretty sure I'm doing the Hello World program right but I've got a few questions.  The cmd window is only there for a split second and I don't actually get to see it say Hello World.  Is this supposed to happen?

Name: Anonymous 2008-11-27 21:42

>>10
#include <stdio.h>
main()
{
      printf("hello, world\n");
      system("pause")
}

Is that where I'm supposed to put it? It doesn't work.

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