Using classes without header files? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Using classes without header files?

I know it can be done, but I'm confused as to why it helps. Is it mostly for organization? My computer broke so I'm using android to practice/learn c++.

4th Mar 2017, 5:31 AM
Collin Heritage
Collin Heritage - avatar
2 Answers
+ 16
Header files are just parts wich will be inserted in program So it doesnt matter to include/use in the same file them It is only for organizing your code
4th Mar 2017, 6:11 AM
WittyBit
WittyBit - avatar
+ 1
Thank you Michael. Sorry for the late response. Alone we go faster but together we go further.
7th Mar 2017, 2:33 AM
Collin Heritage
Collin Heritage - avatar