This is a very simple minded program that demonstrates that you can write, compile, and link a C program in LINUX.
Create a file named "demo1.cpp" with the contents shown in the box:
|
#include <stdio.h> int main(void) { printf("Hello, World!\n"); return 0; } |