Note: I'm not too good with programming... but learning
I have a code that has been written by someone else in C++ using Visual C++ that I need to integrate with C code (compiling in Cygwin). I tried bluntly by just doing #include and it gave me an error due to parsing (think it doesn't recognize the class structure).
If I'm not mistaken, the C++ class structure is not supported in C. Is there a way to get around this problem?
I have a code that has been written by someone else in C++ using Visual C++ that I need to integrate with C code (compiling in Cygwin). I tried bluntly by just doing #include and it gave me an error due to parsing (think it doesn't recognize the class structure).
If I'm not mistaken, the C++ class structure is not supported in C. Is there a way to get around this problem?