4 AnswersNew Answer
There are, apparently the graphics.h library is outdated. @Hasty linked a stackexchange post that will help you get what you need. https://www.sololearn.com/Discuss/447748/?ref=app
SDL and Qt are good libraries for beginners :)
When people talk about 'graphics.h' they are usually referring to the Borland header file that was supplied with Turbo C++ in the late 80's and early 90's. It was for use in full screen DOS mode only and is not cross platform. Graphics programming on modern operating systems has a steep learning curve. It is first necessary to make a decision if the program is going to be cross platform or OS specific and learn the appropriate framework/API/Libraries. Processing (https://processing.org) is a simple environment built for the electronic arts, new media art, and visual design communities with the purpose of teaching the fundamentals of computer programming in a visual context. However, it is based on Java not C++.
And if you don't want to use external libraries, windows.h may help achieve things as well...