switch from java to c++, add codeblocks project file