Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 16
Yes you can emulate that by using a 2D matrix as your ASCII graphical interface like so https://code.sololearn.com/cCzwjQ900N11
14th Nov 2018, 2:05 PM
Babak
Babak - avatar
+ 13
I think it's not a question to ask , try it practically 🤗🤗 u will get ur answer .
16th Dec 2018, 5:38 AM
Ananya Srivastava
Ananya Srivastava - avatar
+ 13
Yes Satnam Singh 🤗 I have read graphics .
16th Dec 2018, 5:40 AM
Ananya Srivastava
Ananya Srivastava - avatar
+ 10
I think sololearn does not support graphics
16th Nov 2018, 3:31 AM
Ratnapal Shende
Ratnapal Shende - avatar
+ 9
We can use the Graphics library to done this. We must have to include a <Graphics.h> header file in it. I think it cannot be work on Sololearn. To draw the graphics objects we have to give path also to the compiler.
16th Nov 2018, 3:47 AM
Prajakta
Prajakta - avatar
+ 7
Yes you can
15th Nov 2018, 6:23 AM
Vishal Panchal
Vishal Panchal - avatar
+ 6
Welll...* I did this in _text_ a while back (c++, trivial conversion to c). Since then much nicer samples have appeared (I suspect they're highly-voted in Search; I'll poke around for one) https://code.sololearn.com/cFAi8v2r9Nd6/?ref=app C++ Soldier (Babak) I kindof like that clock, too. edit: I only see c++ examples, but here's a short one by Hatsy Rei (use input 1.0 2.0 for a sample line) https://code.sololearn.com/cCoP2MKTJ3BY/?ref=app * There's no graphics in the output panel of course, and ASCII+Unicode line-drawing (box) chars are both sharply-cornered + don't line up in proportional fonts.
14th Nov 2018, 4:49 PM
Kirk Schafer
Kirk Schafer - avatar
+ 6
It depend when you create a graphic with a Sololearn Code Playground.
14th Nov 2018, 8:04 PM
program
program - avatar
+ 5
Sololearn compiler does not support graphics.
14th Nov 2018, 12:55 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 5
Thanks Kirk. 8) I also found this multi-purpose plotter from my stash! https://code.sololearn.com/c3L0MSf96J4O/?ref=app
14th Nov 2018, 9:03 PM
Babak
Babak - avatar
+ 1
Try to use IDE
14th Nov 2018, 12:56 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 1
Yes, we can, using Graphics Library. We need to include graphics.h header file for that. For reference you can use this link: https://www.geeksforgeeks.org/basic-graphic-programming-in-c/
14th Nov 2018, 5:51 PM
Manjul Raj
Manjul Raj - avatar