Recently I was assigned a task to provide a C implementation of my C++ code. Since the original code is large, and is largely relying on structures not present in C, I wonder what would be the easiest way for the transfer.
I read that there are wrappers that allow one to use C++ in C? Will these allow me to simply copy/paste the code in C?
Also, I explored the following http://attractivechaos.wordpress.com/2008/09/19/c-array-vs-c-vector/
Do you have a suggestion on how I might do the task without much work (clearly, because the code is already written, needs only be "transferred")?