bgi - How can I get and use the header file <graphics.h> in my C++ program? - Stack Overflow
Alternative to graphics.h?
Is graphics.h for c or c++
about graphics.h - C++ Forum
I recently bought a book on C programming written in my native language and there's a chapter about outputting a circle with graphics.h (the author is using Turbo C++ while I use VScode). I want to know if there's an alternative header file that I can use instead of graphics.h?
(The book is written in 2018 by the way)
I installed graphics.h in hope to use in my c project but when I tried to build the project this error message appeared:
/mingw/include/graphics.h:30:10: fatal error: sstream: No such file or directory
30 | #include <sstream> // Provides std::ostringstream
| ^~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
thanks in advance for any help