I Have a C header file which has common structures which are used by various modules.
Im developing my code using C++, few of the newly written modules are in C++.
We have to use the same structures defined in that C header file.
What i am thinking of doing is,
Take the same structure and convert to a class and add few member functions to that class which act upon the structure variables. I would like to know whether this is really possible or not.
Or can i do this ?
Use the same structure in my own header file and then add member functions to the structure.