One of the problems you may find while developing a big project is the class
renaming.
For example I begin using an object of a class CConfig. Then a few moments
later I decide to change the class name from 'CConfig' to a more specific
name 'CInterfaceConfiguration'. It's easy but the filenames remain unchanged.
You can change each file Config.h and Config.cpp. But if you have a really
big project the change becames a problem.
But I solve it partially. The code I made solves the problem parsing each
source file in the project, prompting for change or not the header, and the
corresponding source file (the correct name is builded from the definition
of the clases inside each header). I mean partially beacuse I suppose than
a header file named thing.h has a source named thing.cpp and than changes
only affect one project (the parsed one). |