answersLogoWhite

0

For basic input and output in C++: #include

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What is iosteram in c plus plus?

The <iostream> include file is a header file that contains the prototype declarations of functions that provide the basic input/output mechanisms in C++. The <iostream> header file sets up the objects that initialize the basic input/output pathways, cout and cin.


Why you use constreamh in c plus plus?

There is no such header in C++. You must consult the documentation provided with the file. It is most likely related to console input/output, perhaps providing enhancements to the standard I/O stream implementation.


C plus plus reading and writing a file?

Use an input file stream (ifstream) to read from a file and an output file stream (ofstream) to write to a file. Both can be found in the <fstream> standard library header.


How do you use scanf with delimiter in c plus plus Please provide a basic example with output?

scanf does not employ a delimiter. It simply reads formatted input from std::cin.


What are the basic input and output of c and c plus plus?

That is STANDARD input and STANDARD output. By default, standard input is the keyboard, and standard output is the screen. Standard I/O is set by the operating system, though it may be redirected by script invocation or system commands within the C/C++ program itself. You could, for instance, set standard output to a printer or a file in lieu of a screen. You should also Google Standard Error.


What if the input is 14 plus 14 what is the output?

14+14=28


Input output function in c plus plus?

input is the << operator and output is the >> operator


Total energy input equals equals the useful energy output plus?

Efficiency = ( useful energy output / total energy input ) x 100


Which code i need to delete middle digit in 3 digit number in c plus plus?

If you know that the number input will always be three digits: output = 10 * (int)(input / 100) + (input % 10); If you want to idiot proof it (eg. too many digits): output = 10 * (int)((input % 1000) / 100) + (input % 10);


What is stream operator in c plus plus?

There are two stream operators: << (insert or put) and >> (extract or get). Output streams implement the insertion operator, input streams implement the extraction operator and input/output streams implement both operators.


What are file modes in c plus plus?

I guess you mean either input/output/inout/append or binary/text.


Which is the output for the input -2 using the rul y equals 4x plus 2?

-6