hello guys :)
simply the problem is that i wanna to draw a simple circle put when i use the function (initgraph "which i don't know it's use :D ") it just gives me this warning ( warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]) and when i run all i get is crashing :/ and this is the code :
choclate@ i've already intialized it here int gd=DETECT,gm;
You declared gm, but you didn't initialize it.
Either way, I'm not familiar with this Turbo C++ library, so the best I could do is link you to this earlier thread about someone using the library. Maybe it will help you with something you may have missed: http://www.cplusplus.com/forum/beginner/58846/
dear chocolate :)
i don't use Turbo but i don't know how to draw a circle and determine it's coord. but the noticed way that i found while searching .. if you know a way to draw a circle and simple i'd be so glade to tell me :)
i have never ever tried to draw a circle this is the first time and i need a help (i'm using codeblocks)
The reason that you're having errors is because there is no default graphics library that you can include(that I'm aware of), so you're calling non-existent functions.