hello there,
take this code for example (taken from the teachyourself in 21days tut)
don't i have to define the function Meow() somewhere? where do i do this?Code:class Cat { public: unsigned int Age; unsigned int Weight; void Meow(); };
i type this class in one of my codes, who knows what does the Meow?
do you understand what i mean?
if i declare a regular function in main(), then i have to define that function later on somewhere.
in this tutorial nothing is mentioned about this when they write about classes.
---------
edit:
lol, right after i posted this thread i found the answer few pages down in that tut.
thank you guys anyway .



LinkBack URL
About LinkBacks


