Plain C Hello
Mississippi College
Computer Science
Dr. Bennet
CSC 220
Introduction
First Steps
C Note
Plain Hello
Simple Add
Double Volume
C String
Control
Functions
Exceptions
Containers
Native Arrays
Classes
Templates
Dynamic Memory
Copying Objects
Class Inheritance
Multi-File Programs
Other Things
/* Say hello, C. */ #include <stdio.h> int main(void) { printf("Hello, world!\n"); return 0; }
[download]
Uses the plain C standard I/O library to print the message. Notice the different include, and the lack of a using.