Hi I need help to draw a circle using c++. I have never used any programming before and have to do computer science to become a Maths Teacher. My first task is to write a program to draw a circle with the user inputing two x,y coordinates and the centre coordinate as well as the diameter. Then draw the cirlce and calculate distance from the two coordinates, circumference and volume of the sphere. Doing this by correspondence and can't get an answer from the lecturer. Sorry if this is really basic.
Tyra
0
Newbie Poster
Recommended Answers
Jump to PostTyra,
Folks at this site are more than happy to help. Having said that I have to tell you that they expect an attempt at coding, no matter how basic before they will help.
Jump to PostThis seems cool. :)
I'm interested about this as well. I have absolutely no clue where to even start to approach this task, but I'll do some looking around, maybe learn something in the process. :P
Edit: Found something in google:Circle Interface (Circle.h)
Jump to PostThe above code is a c++ class for a circle. The first part is the header. The functions and data members are declared here in a public or private area of the class declaration.
The second part is the implementation of the code. Functions are defined, and the data …
All 9 Replies
henpecked1
0
Posting Whiz in Training
papuccino1
9
Light Poster
henpecked1
0
Posting Whiz in Training
Tyra
0
Newbie Poster
henpecked1
0
Posting Whiz in Training
henpecked1
0
Posting Whiz in Training
Tyra
0
Newbie Poster
VernonDozier
2,218
Posting Expert
Featured Poster
CarminPolitano
-1
Newbie Poster
phorce
commented:
Seriously.....
-1
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.