C and C++. Demonstrations.

Task: Hello, world!

hello.c

hello.cc

Task: Read stdin line by line, and write them to stdout ordered lexicographically (asciibetical sort)

sort.c

sort.cc (C++98)

sort2.cc (C++11)