Search:
Forum
Beginners
Any help please with this problem
Any help please with this problem
Apr 30, 2014 at 5:30pm UTC
Ram1
(38)
Create a header file called Circle.h that contains following class definition:
class Circle
{
Puplic:
Circle ();
Circle (double r);
double area ();
friend bool &operator<(Circle &a, Circle &b);
private:
double radius;
};
Apr 30, 2014 at 5:46pm UTC
closed account (
D80DSL3A
)
1) Open notepad.
2) select File->new
3) copy + paste code into notepad document.
4) select File->save as
5) Enter Circle.h as the file name
6) click "save"
Apr 30, 2014 at 7:31pm UTC
cnoeval
(643)
3a) Fix typo: "Puplic" >> "public" 8^D
And please DON'T double-post! 8^(
Last edited on
Apr 30, 2014 at 7:33pm UTC
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs