I have a big .cpp file with several classes defined and declared in one single file. I was thinking of having a .h file for each class but I am not sure about the advantages.
Is splitting your files pure preference? Would this increase compile time AND/OR general readibility? My compiler gives me a list of all class declarations that I can easily access with one click, hence if the compiler needs more time putting all those files together, I rather keep it in one chunk.
Edit: I am asking splitting into .cpp and .h and not multiple cpp's as this question has been dismissed that there is already an answer.