Sunday, February 7, 2010

C++ True or False?? Code for member functions in a class can be written outside the class'?

True or False?? Code for member functions in a class can be written outside the class' braces with only their prototypes inside the class declaration???C++ True or False?? Code for member functions in a class can be written outside the class'?
True, very much so.





class Foo {


public int bar(); // %26lt;- the prototype


};


....





// the code:


int Foo::bar() {


}C++ True or False?? Code for member functions in a class can be written outside the class'?
Aye, that is true.
Correct





http://scritpvault.charmingsnakes.net


Asp / VbScript Tutorials and reference

No comments:

Post a Comment