Hi guys.
I'm C++ illiterate, so i find things weird. One example is this.
Now the first part is in a header file, the second is in another source file.
What is this exactly? Is the function being defined later on outside the class? So that's possible in C++?
Thanks.
I'm C++ illiterate, so i find things weird. One example is this.
Code:
class List {
int x;
public:
void foo();
}
List::foo ()
{
x = 0;
}
What is this exactly? Is the function being defined later on outside the class? So that's possible in C++?
Thanks.
Comment