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
+ 13
I think it's not a question to ask , try it practically 🤗🤗 u will get ur answer .
+ 13
Yes Satnam Singh 🤗 I have read graphics .
+ 10
I think sololearn does not support graphics
+ 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.
+ 7
Yes you can
+ 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.
+ 6
It depend when you create a graphic with a Sololearn Code Playground.
+ 5
Sololearn compiler does not support graphics.
+ 5
Thanks Kirk. 8)
I also found this multi-purpose plotter from my stash!
https://code.sololearn.com/c3L0MSf96J4O/?ref=app
+ 1
Try to use IDE
+ 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/