Can i make a rectangle in c++ without using c graphics or asterisks? Also can I do it in pure c++? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

Can i make a rectangle in c++ without using c graphics or asterisks? Also can I do it in pure c++?

28th Oct 2017, 9:06 PM
Comedy Co.
Comedy Co. - avatar
2 Antworten
+ 1
1. if you want to create a rectangle in a GUI Window, then you first need to think to what platforms do wish that to work? once you know that then you ready to check those libraries: # Windows.h - Windows # X11.h - Linux # IDK about Mac... it's based unix so it's should be similar a little bit to X11... 2. for your questions... you cannot make GUI applications in pure c++ without using any external libraries, why? because every operating system has their GUI library, so you simple can't. it's like digging a hole in the ground without the proper tools. ( sorry for that bad example haha xD ).
28th Oct 2017, 10:58 PM
Cain Eviatar
Cain Eviatar - avatar
0
you mean like mapping the screen and printing pixels?
28th Oct 2017, 10:43 PM
Adam
Adam - avatar