The following collection of links provides you with further information on the C and C++ programming languages:
C and C++ programming reference: http://www.cprogramming.com/
POSIX threads: https://computing.llnl.gov/tutorials/pthreads/
G++ compiler: http://linux.die.net/man/1/g++