Alex Rivera | Logout

Should I put classes in separate files in C++?

Asked 2011-04-05T11:23:27.063
12

I am asking this question to organize my code.

Edit
Report

1 Answer

-3

Yes it is a good practice to keep separate classes in separate cpp files and then name the files by using the class name. In fact Java forces you to do so.

answered 2011-04-05T11:29:47.120

Your Answer