Is there any helper programs? Thank you.
Printable View
Is there any helper programs? Thank you.
Use your brain. Sorry ;-)
Yes. The Comeau C++ compiler translates the C++ code into C code. Have a look at www.comeau.com. However, the generated C code is not "human readable" -- the idea is not to take this code and use it as a codebase, but that is just a stage in the creation of the executable code.Quote:
Originally posted by smartnosex
Is there any helper programs? Thank you.
For incapsulation you can use
a struct instead a class and the first parameter
of the c-function for pointer to the stract.
For inheritance you can use members of struct
type inside other struct.
For polymorphism you can use arrays of functions .