Main programs

C++, Java