0

Header and cpp files in C++

What is the difference between Header and cpp files in C++

26th Jan 2017, 9:35 PM
Max Herlihy
Max Herlihy - avatar
1 Odpowiedź
+ 2
Generally, you put your definitions in the header and your implementations in the cpp files. This makes for cleaner code.
26th Jan 2017, 9:57 PM
Division by Zero