answersLogoWhite

0


Best Answer

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.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you take input in graphics mode in c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

An assembly language program that will take three decimal input and display minimum of them?

program that take three decimal number as input and find the largest among them in assembly language


What is the use of 'Dialog' class in java?

From the Java API: "A Dialog is a top-level window with a title and a border that is typically used to take some form of input from the user." Dialogs are useful specifically to take input because they can be made to block input to other Window objects until the user finishes with the Dialog (think: Save File dialog box).


Write a program in c plus plus to accept the string and then take the starting and ending point from the user and display the sub string through function?

#include<iostream> #include<sstream> unsigned input_num (std::string prompt, unsigned min, unsigned max) { unsigned num = 0; while (1) { std::cout << prompt << " (range " << min << " - " << max << "): "; std::string input = ""; std::getline (std::cin, input); std::stringstream ss (input); if (ss >> num) { if (num >= min && num <= max) break; else if (num<min) std::cout << "Index must be greater than or equal to " << min << std::endl; else std::cout << "Index must be less than or equal to " << max << std::endl; } else std::cout << "Invalid input." << std::endl; } return (num); } void print_substring (std::string input, unsigned left, unsigned right) { std::cout << input.substr (left, right - left + 1) << std::endl; } int main() { std::cout << "Input string:\t"; std::string input = ""; std::getline (std::cin, input); unsigned left = input_num ("Enter the start index of the substring", 0, input.size()-1); unsigned right = input_num ("Enter the end index of the substring", left+1, input.size()-1); print_substring (input, left, right); }


Is input on plc normal close or normal open?

PLC can take both types of inputs. Logic can be written suitably with in the processor software.


What is 14 plus 10 plus 7 plus 6 plus 5 plus 5?

3 + 4 + 5 + 6 + 9 + 7 + 6 + 8 + 5 + 2 = 55

Related questions

How do input device works?

An input device is a device which takes in information from the user. This includes but is not limited to: Keyboards, mouses, joysticks, game pads, cameras, microphones, and graphics tablets. Each of these devices works differently, the only thing they have in common is their ability to take user input in a way the computer can process.


How long it take Maine to antarctica?

Your answer depends on where in Antarctica you want to go, and your mode of transportation, plus the route you choose.


How do you take a frigidaire refrigerator out of demo mode?

how to take fphg2399mf6 out of demo mode


What does imput and output mean on a computer?

Input is any action you take to give the computer information. Typically this refers to a Keyboard and/or mouse, but can also be other devices ie. a scanner. Output is the result of input that you supply. This can be anything from printing a paper, displaying text on the monitor, rendering graphics and many more.


What options do you take for a Graphic designer?

You should take graphics and IT


Can you take a PS3 graphics card out and put it in a computer?

No. The "graphics card" in a PlayStation 3 is integrated into the motherboard.


How do you take graphics printout written in C?

To take graphics printouts in C, you can use libraries like OpenGL or SDL to create graphics and render it on the screen. After rendering your graphics, you can take a screenshot of the screen using platform-specific functions or libraries. Another option is to save the graphics to an image file format like PNG or BMP using libraries that support image output in C.


Is mother board an input output or processing device?

A motherboard takes both input and output. For example, it may take inputs from a keyboard or mouse, and output video from an integrated graphics card. In a more general sense, the motherboard is the device which connects all of the pieces of the computer together; All of the data sent between devices is routed through the motherboard. In effect, every one of these data transmissions can be viewed as input and output (input data from one device to the mobo, output the data from the mobo to another device).


Why can you only play RuneScape in HD now?

Go to options on the log in page and you can choose Min, Low, Mid, High, Custom and under Custom you can choose Safe mode, Software, OpenGL®, DirectX®. Min or Low should take you out of HD but safe mode is the lowest graphics you can go on the game.


Can ram be used as graphics card?

Only if you have an integrated graphics card that is built into your motherboard can it take advantage of your ram.


Function of the camera?

There are poo mode, pee mode, anus mode, vomit mode and disgust mode. (P.S.The super farting mode is the best one to take photographs)


What is a PIO in terms of computer programming?

The term PIO stands for Programmed Input/Output. It allows information to be transferred from one device to another device. The PIO mode helps determine the speed information will take to transfer.