943,807 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 8612
  • C++ RSS
Apr 19th, 2004
0

Circle class

Expand Post »
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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
anuhnm is offline Offline
1 posts
since Apr 2004
Apr 19th, 2004
0

Re: Circle class

The Java code snippets section already has this program written in Java: http://www.daniweb.com/forums/showthread.php?t=1699 ... 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
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: help for program involving switch loops and file
Next Thread in C++ Forum Timeline: Simple IRC Connection





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC