+ 2

Can I use drawing C++

Can I use drawing in the playground exept console drawing ? If it's yes how it does? C++

22nd May 2020, 9:54 AM
Serge
Serge - avatar
18 odpowiedzi
+ 5
Yep. They're some nested loops after all. If you want to find such codes, just search then up in the Code Section :)
22nd May 2020, 2:38 PM
Nikhil
Nikhil - avatar
+ 5
Ah, unfortunately you can't. Only C4Droid app has the option on Android, I think. But it's paid.
22nd May 2020, 3:08 PM
Nikhil
Nikhil - avatar
+ 4
Yes u can use graphics with the help of graphics headerfile . u can draw circle , rectangle, arc etc..
23rd May 2020, 3:12 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 4
Yes, you can use drawing, but for it you should learn OpenGL and SFML. Do you know, that with SFML you can build games?! Good learning!
24th May 2020, 2:56 PM
Mehrob Abdulvahobov
Mehrob Abdulvahobov - avatar
+ 4
Use a graphics library. You may download "graphics.h" in Google
24th Jun 2020, 4:06 PM
Mehrob Abdulvahobov
Mehrob Abdulvahobov - avatar
+ 3
what do you mean by "drawing"? Print a pattern (triangle, circle, etc) using * or graphics?
22nd May 2020, 1:30 PM
Nikhil
Nikhil - avatar
+ 3
You can try MS Visual C++.net or QT libraries.
24th May 2020, 4:44 AM
Sonic
Sonic - avatar
+ 2
Thank you for your answer 🤝
22nd May 2020, 3:13 PM
Serge
Serge - avatar
+ 2
better learn opengl ... its really hard to learn but once u learned it and understand .... then u are the king of graphics programming...
22nd May 2020, 3:58 PM
Prashanth Kumar
Prashanth Kumar - avatar
+ 2
all the best 👍 Serge
22nd May 2020, 4:38 PM
Prashanth Kumar
Prashanth Kumar - avatar
+ 2
You will need a graphics library.
24th May 2020, 4:43 AM
Sonic
Sonic - avatar
+ 1
Thanks, I'll learn it 🤝
22nd May 2020, 4:02 PM
Serge
Serge - avatar
+ 1
if u want to download c4droid without paid download apk. File from google
23rd May 2020, 3:11 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
You can't draw using c++, graphics header files are deprecated (removed) in the new standard of c++.c++ was designed for console applications. If you want to draw use Qt or Microsoft Visual C++. Btw, i suggest Java if you're a graphics geek! [Warning! Sololearn playground saves everyone's code in their database, so don't write your favourite expensive code in Sololearn playground] ~Reverse Engineering
23rd May 2020, 10:02 PM
DEATH128
DEATH128 - avatar
0
Yes , Print a pattern (circle , line , etc) . Can i do it in the playground ?
22nd May 2020, 2:29 PM
Serge
Serge - avatar
0
Sorry for my English , i misunderstood :) i found codes print circle by symbol # and etc , probably i meant graphics ☺️😳
22nd May 2020, 2:51 PM
Serge
Serge - avatar
0
include<graphics.h> maybe
22nd May 2020, 2:51 PM
Serge
Serge - avatar
0
Yes it is possible to draw in console!!!!. You can check in internet. Also there are a module(library) for drawing in console. If you use win32 application ,you can use winapi functions CDC to draw.
23rd May 2020, 10:22 AM
george
george - avatar