is there some automation tool that converts C++ to C code?
Name:
Anonymous2013-08-14 3:58
You don't need a tool, just make a script. 1. Remove all member functions from classes to the global namespace.
2. Convert all classes to structures.
3. Use function pointers to point to the former member functions.
4. Replace all new with malloc().
5. Replace all template shit with void*.
Literally could not be any fucking simpler.