If your purpose to reimplement the project for reuse and easy maintenant later, then just start to reimplement some less important C structs(such as I/O utility) in C++ classes. For those efficient C functions(worked well in previous version) leave them alone for now and they become general functions (not class member functions) in your project. You can make calls these general function into your class's member functions to do intended
Originally posted by Joda
Im going through some documentation about a previous software that needs to be ported and updated. It uses C with no C++ code. The new version is supposed to be written in C++.
The app uses some memory calls to store some image data. What is best, use old malloc, realloc instead of using C++ calls like "new TYPE" etc: Whats good and what bad about using a C++ style and skip the old memory calls and use some new "new","delete" calls to work with memory.