answersLogoWhite

0

That's easy. There aren't any. C++ is designed to be as generic as possible, thus it provides generic text-based output only. Graphics output is platform-specific and is therefore not provided by the C++ standard. You can, of course, use graphics in C++, but you need a library and API that is specific to your platform and hardware. Most IDEs will provide an appropriate library, but as soon as you use graphics in your programs, you will generally lose the benefit of compiling your code on other platforms, unless you write your code specifically to cater for other non-generic libraries that are suitable for compilation upon other platforms.

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

List of graphics commands in C?

1. There are no commands in C.2. Graphics can be used by system-dependent libraries so you have to specify the platform you are using (MS DOS, MS Windows, X Window, etc).


Explain any six file commands in C plus plus?

There's no commands in C++.


Can graphics in C programming done with compilers other than turbo c plus plus?

Of course.


What is the use of header file graphics in c plus plus programming?

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.


How do you use bgi graphics of c plus plus on tft screen?

TFT or CRT doesn't make difference in using BGI graphics.


What are the parts of c plus plus environment with drawing?

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.


How to use graphics in c plus plus?

At the beginning in the header file: #include <graphics.h>


Can you get c plus plus programming to frame the outer structure of the periodic table?

Yes you can but C++ has no built-in graphics methods, even for line-drawing. Graphics are platform-dependant so you will need a graphics library and API that suits your platform and hardware.


Program a line roating about xy plane using C plus plus programming?

C++ has no built-in graphics methods, including line drawing. Graphics is platform-specific and, as such, requires a graphics API and library specific to your platform and hardware. As a result, there is no generic, one-size-fits-all C++ code for drawing graphics of any kind.


Does windows XP supports the turbo c plus plus graphics?

You should actually turn the question around: does the Turbo C++ graphics library support Windows XP? The answer is yes it does, provided you are using a version of Turbo C++ for Windows XP and above.


What are the image formats supported by c plus plus?

C++ does not provide any native support for graphics of any kind, including graphic image formats. This is because graphics are platform-specific while C++ is a generic language. You can, of course, use graphics in C++, but you need a graphics library and API that is specific to your platform and hardware. There is no generic code available as the code you use is entirely dependant upon the library.


How do you take input in graphics mode in c plus plus?

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.