Introduction to Programming

Hello World


Everything in yellow text is C code.
Type it exactly into your text editor (the command line won't understand C!).


#include <stdio.h>

int main(int argc, char *argv[])
{
    printf("Hello, world!\n");
    return 0;
}

Next: Variables and Expressions

Previous: Example Command Line Session


Introduction to Programming

Home