How can i practice drawing shapes in the app e.g. A square or some other polygon? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can i practice drawing shapes in the app e.g. A square or some other polygon?

How to use simplecpp in this app or turtle simulator

7th Jan 2019, 2:10 PM
Dhir
15 Answers
+ 1
C++? Needs libraries to do graphics, well, more easily. Get the SDL2 library and do some tutorials on it. You'll begin drawing shapes in no time.
8th Jan 2019, 5:38 AM
Rain
Rain - avatar
+ 1
Yes, give me a moment.
8th Jan 2019, 5:41 AM
Rain
Rain - avatar
8th Jan 2019, 5:42 AM
Rain
Rain - avatar
+ 1
Make sure you download SDL2 though.
8th Jan 2019, 5:43 AM
Rain
Rain - avatar
0
Do u have link or something to get that ?
8th Jan 2019, 5:40 AM
Dhir
0
Yup
8th Jan 2019, 5:41 AM
Dhir
0
Okay ,I will get to you if I face any problem,thanx though
8th Jan 2019, 5:45 AM
Dhir
0
Definitely. Join the Discord server too, so you can add me as a friend if you ever need help.
8th Jan 2019, 5:47 AM
Rain
Rain - avatar
0
Okay
8th Jan 2019, 5:49 AM
Dhir
0
Server invite link: https://discord.gg/MEjFNcC ^ That's the link btw.
8th Jan 2019, 5:49 AM
Rain
Rain - avatar
0
I wanted to try this type of code on this app # include<simplecpp> main_program{ turtleSim(); repeat(4){ forward(10);right(90); } wait(5); } Can I do this type of coding in my smartphone?
8th Jan 2019, 6:25 AM
Dhir
0
I wanted to try this type of code on this app # include<simplecpp> main_program{ turtleSim(); repeat(4){ forward(10);right(90); } wait(5); } Can I do this type of coding in my smartphone?
8th Jan 2019, 6:25 AM
Dhir
0
No, not on SoloLearn. No phone compiler can do C++ graphics (as far as I know). I would suggest using your computer/laptop for it.
8th Jan 2019, 6:28 AM
Rain
Rain - avatar
0
Ohk, thanx
8th Jan 2019, 6:29 AM
Dhir