0
How to put colors and graphics in C++ programs?
2 Antworten
+ 2
The standard C++ library is only designed to cover an environment with files and stdin, stdout and stderr streams.
If you want to do other things you will need other libraries. If you just want to enhance text you will need to set up curses on Linux and conio(?) on Windows.
If you want to play with graphics you can use the standard graphics APIs (Direct2D, DirectX, OpenGL, Vulkan) or higher level libraries (SFML, SDL, OGRE3D).
If you want to add windows, buttons etc you can use the APIs (Win32 API on Windows, X on Linux), or higher level libraries (GTK+/gtkmm, Qt).
0
Thanks so much for your help