Some corrections in CppGenerator, bufferedwriter works omg!!