C to C++ Converter

Hosted by

Convert sources of a C project to C++
Open source project, written in Python before Scriptol exists.
For any system: Windows, Linux, etc...
By D.G. Sureau
GNU GPL licence (free)

Features

This is a script that translates C to C++ in some steps:
- generating classes,
- converting functions to methods,
- 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.

Why to use it?

Converting your project to C++ prevent conflits in identifiers, and ease to reuse your code.

Requirements

Interpreter
You need for Python to run the scripts.
Formater
The converter works better with a well formatted and indented source. C, C++ formatters are available on the net.
The doc

You need for makeinfo to rebuild the doc.
Before to start the scripts, you should print the CTOCPP.INFO manual,
and read carefully the step by step chapter.

Included tools

Documentation

Download

Scripts.com Rate C to C++
Home