Added some code structure for C, Java and C++