I have a (possibly bad) habit of coding everything into a monolithic header file when trying out ideas, placing all implementation code with the class definitions. As the code expands, it becomes difficult to navigate the file. Therefore, I refactor the code into separate files and split the implementation details (cpp files) from the interface (hpp files).
The laborious copy / pasting involved seems like a job for a machine. Are there any simple tools available for this task?
probablydefinitely bad habit. – juanchopanza Feb 16 '13 at 12:01