+ 1
Can you draw stuff with C++
does anyone know how i would go about creating a Chess/Checkers board in C++, or just drawing/creating spirited in general?
2 Réponses
+ 4
The language itself doesn't make any assumptions about the device it is going to run on, so you wouldn't find any of your "drawing" functionality in the standard library.
but can use a graphics API of your system to render stuff on it. You can either use your platform's native graphics API ( like win32 api for windows system ) or a platform independent one ( like opengl )
In fact if you are dealing with relatively more complicated graphics, there are graphic libraries that wrap the redundant stuff in relatively easier to use functions for you to directly use in your program ( SDL and SFML are some examples of such libraries )
+ 1
Surely you can. C++ is the main language used for game (engine) development.
There are plenty of libraries you can use.
If you want something simple, i would highly recommend taking a look at raylib