Skip to content
/ Cpp2C Public

A high level C++ classes to c structs compiler.

Notifications You must be signed in to change notification settings

mshams/Cpp2C

Repository files navigation

Cpp2C

A high level C++ classes to c structs compiler.

This program converts C++ classes to C structs, and has some limitations.

Features and limitations:

  1. Multiple variable declaretion is illegal

Ex:

Legal: int a; int b; int c; Illegal: int a,b,c;

  1. IF and THEN forward is illegal:

Ex:

Legal: if (num2==6) Illegal: if (num2==6) printf(“Its true!”);

printf(“Its true!”);

  1. Int, float, void, class and struct datatypes are supported

  2. Refference variable not supported

  3. Only one default parameter is supported, no more

  4. This is a symbolic translator, so has bugs and limitations

Screenshot Screenshot

About

A high level C++ classes to c structs compiler.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published