Could anyone advise me on the correct way to split up my code into seperate files. i.e.<br>
Do i put my classes and thier functions together in a .h file, or, do the classes go into a .h file and thier functions into a seperate .cpp file?<br>
<br>
I have successfully put my function declarations and #includes into a .h file which i include in my main .cpp file, the problem lies with classes and thier functions.<br>
<br>
Any help would be much appreciated.<br>
<br>
Paul Welding.
Do i put my classes and thier functions together in a .h file, or, do the classes go into a .h file and thier functions into a seperate .cpp file?<br>
<br>
I have successfully put my function declarations and #includes into a .h file which i include in my main .cpp file, the problem lies with classes and thier functions.<br>
<br>
Any help would be much appreciated.<br>
<br>
Paul Welding.