0

Is it possible to print perfect circle in C without using graphics library, i.e., just with nested for loops

29th Jun 2018, 2:50 PM
Nikhar Sachdeva
Nikhar Sachdeva - avatar
4 Antworten
+ 5
If you want to do it in a window : Yes, but it will be hardware dependant and hard to do. It would be a really fun project though ! If you want to use console : Yes, quite "easily" ! You can take a matrix of the size of your circle (its diameter) and then use the mathematical equation of a circle to know if a character is part of the circle or not
29th Jun 2018, 3:27 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 2
Hope to see you succeed :)
29th Jun 2018, 6:36 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 1
Nikhar Sachdeva Sure, you can! It would time and effort or a google search to make. Personaly I have not done it.
29th Jun 2018, 3:21 PM
Manual
Manual - avatar
+ 1
Thank You for answers... I'll try and let you both know then..
29th Jun 2018, 3:46 PM
Nikhar Sachdeva
Nikhar Sachdeva - avatar