954,193 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Circle class

Define a class to represent Circle with 3 private data member which are Radius, XP & YP. To include a complete set of the foll. funnctions ie. accessor, constructor & member to input a circle, to get the location & radius of circle, to move a circle and resize a circle.
Thanks in anticipation.

anuhnm
Newbie Poster
1 post since Apr 2004
Reputation Points: 10
Solved Threads: 0
 

The Java code snippets section already has this program written in Java: [thread]1699[/thread] ... Take a look and it should be pretty simple to figure out the C++ version. Check the Java code snippets forum for the driver (main program) as well as the class. :-D

cscgal
The Queen of DaniWeb
Administrator
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You