+ 1
Can i make a rectangle in c++ without using c graphics or asterisks? Also can I do it in pure c++?
2 Answers
+ 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 ).
0
you mean like mapping the screen and printing pixels?