Any help please with this problem

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;
};
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"
3a) Fix typo: "Puplic" >> "public" 8^D

And please DON'T double-post! 8^(
Last edited on
Topic archived. No new replies allowed.