C to C++ Converter

Made in 2001 by Denis Sureau, convert sources of a C project to C++. Converting your project to C++ prevent conflits in identifiers, and ease to reuse your code.

Written in Python, it runs on any system.

GNU GPL license. Requires Python 2.x.


Script that translates C to C++ in some steps:

  1. generating classes,
  2. converting functions to methods,
  3. replacing calls to functions by references to methods.

The main script calls other specialized ones but you can also proceed step by step and modify manually the results of a step before to start the next one.
This tool is not easy to use. It is for experienced programmers.


Included tools



This program is provided as is and it is probable that it becomes incompatible with successive versions and Python. No support is given.