answersLogoWhite

0

No. In C++ with <iostream>, cin is a prefedined class that represents stdin, so it is an input identifier.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Input output function in c plus plus?

input is the &lt;&lt; operator and output is the &gt;&gt; operator


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.


How you can use two input in a single statement in c plus plus?

cout&lt;&lt;"______": cin &gt;&gt;__&gt;&gt;__; [example cout&lt;&lt;"enter no."; cin&gt;&gt;a&gt;&gt;b; ]


What is iosteram in c plus plus?

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


Write in c-in and c-out in c plus plus and C programming?

In c++, to manipulate output & input you must use cin and cout. I will write a sample program to show you:#include //possibly iostream.husing namespace std; //This is what lets you use cin & coutint main(){cout


Can you pass addresses to a function in C plus plus?

If the identifier you want to pass is an ordinary identifier, pass it as the address of... function(&amp;identifier); If the identifier you want to pass is an array identifier, pass its name... function(arrayname);


What are the Example Output of Calculator Program in C plus plus?

example output of c++ calculator


What is the header for basic input or output in C Plus Plus?

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


Can cin and cout be used in the function definition of user defined functions in C plus plus?

The cin and cout entities (they are not statements) are C++ iostream library objects that allows access to "standard input" and "standard output". In C++, the statement cout > variable; allows reading from standard input to a variable.


Can you write a program to read a set of scores from a file and compute the average and print it on the screenby c plus plus?

Yes. Use cin and/or getline to read the formatted data into an array, compute the average then output the result using cout.


How do you make a input and output basic statement in C plus plus?

The most basic input/output operations can be performed with std::cin for input and std::cout for output. For example: #include&lt;iostream&gt; int main (void) { int n; std::cout &lt;&lt; "Enter a number: "; std::cin &gt;&gt; n; std::cout &lt;&lt; "The value " &lt;&lt; n &lt;&lt; " was entered!\n"; }


How do you use cin in C plus plus?

The class cin is an iostream class that abstracts stdin, allowing you to read from the stdin (console input) file. For instance: int age; cout &lt;&lt; "How old are you? "; cin &gt;&gt; age; cout &lt;&lt; "You said you were " &lt;&lt; age " years of age " &lt;&lt; endl;