Circle class

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Apr 2004
Posts: 1
Reputation: anuhnm is an unknown quantity at this point 
Solved Threads: 0
anuhnm anuhnm is offline Offline
Newbie Poster

Circle class

 
0
  #1
Apr 19th, 2004
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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,036
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 130
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Circle class

 
0
  #2
Apr 19th, 2004
The Java code snippets section already has this program written in Java: http://www.daniweb.com/forums/thread1699.html ... 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
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC