Create an instance of that class, set it a radius and then print it:
Code:int main(){ Circle c; c.setRadio(34); cout<<c.getArea(); }
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 5 of 5
Thread: Help with ClassesThreaded View
|
Click Here to Expand Forum to Full Width |