+ 2

Is this implementation of a class different from a header file?

3rd Nov 2016, 5:47 AM
TheStygianSun
TheStygianSun - avatar
5 odpowiedzi
+ 24
In the header file you are just declearing your variables and functions. In the source file you implement them
3rd Nov 2016, 6:22 AM
Lara
Lara - avatar
+ 1
yes ofcourse it is different .header file only consist declartion but not definition.
6th Nov 2016, 7:11 PM
aman jain
aman jain - avatar
0
yes there is a big different between them, so implementation of class is like instance of class but the header file is contents of a lot of class that we can call them from the main program like # iostream
8th Nov 2016, 4:18 PM
Mohamed Ayachi
Mohamed Ayachi - avatar
- 3
hello hy
4th Nov 2016, 2:36 PM
Al Hayyaa
Al Hayyaa - avatar
- 3
hello hy
4th Nov 2016, 2:36 PM
Al Hayyaa
Al Hayyaa - avatar