A high level C++ classes to c structs compiler.
This program converts C++ classes to C structs, and has some limitations.
Features and limitations:
- Multiple variable declaretion is illegal
Ex:
Legal: int a; int b; int c; Illegal: int a,b,c;
- IF and THEN forward is illegal:
Ex:
Legal: if (num2==6) Illegal: if (num2==6) printf(“Its true!”);
printf(“Its true!”);
-
Int, float, void, class and struct datatypes are supported
-
Refference variable not supported
-
Only one default parameter is supported, no more
-
This is a symbolic translator, so has bugs and limitations