Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
for(;i<2*PI;i+=0.1)
point(sin(i)*10, cos(i)*10);
Where point() is whatever function you use for displaying points -
from my graphics file of last semester:
arc (int x,y,stangle,endangle,r):draws an arc of radius starting from starting angle"stangle"
to"endangle" (0 to 360).for eg:
arc(25,50,0,360,20);//a circle of radius 20 at point 25,50 using an arc of angle 0 to 360
arc(75,50,0,180,20);//an arc of angle 0 to 180`
arc(125,50,180,0,20);//an arc of radius 180 to 0`(reverse of above arc)
• circle(x,y,radius): similer to arc eg. 1
circle(25,100,20); -
finncyr2597yOkay, wrongly asked question:
The function is not my problem.
How do I draw points inside a terminal window?
Like with graphics.h under DOS but executable cross-plattform.
Anyone who knows a light and simple way to plot circles in C?
question
shitty prof
nice class