C has nothing to do with graphics.
At the beginning in the header file: #include <graphics.h>
C++ has no graphics ability whatsoever. C++ is a machine-independent programming language, but graphics are machine-dependent. To use graphics in C++ you must use an appropriate library. If you need cross-platform support, you must use a generic library. Each library has its own specific methods for accepting input thus you must consult the library documentation for more information on this aspect.
C has nothing to do with graphics.
graphics mode , the system sets the mode to graphics from text mode
gd is graphics driver specifies which graphics driver to be used..... gm is graphics mode sets highest resolution for detected driver
C language doesn't say anything about graphics, it is platform-dependent.
C++ has no built-in graphics methods. C++ is a machine-independent programming language, but graphics are machine-dependent. To make use of graphics of any kind, you must use a suitable graphics library. If you need cross-platform support, use a generic library.
It has no use in C++ itself, it is only useful in Borland Turbo C++. It provides generic graphics support for Borland Turbo C++ applications.
You can use graphics libraries in C, but those are platform-dependent; for Dos/TurboC consult BGI.H and BGIDEMO.C
C has no native support for graphics. You would either have to use your local APIs or use an external library (ex: OpenGL).
request mode,sample mode and event mode
C++ is designed to be as generic as possible. As such, printing is text-mode only, just as the console is designed for text-mode only. There are no graphics routines in the standard library. To gain graphics output, including image printing, you need an API and library for your specific platform and hardware.