0
What is the difference between cout and stdout; cin amd stdin..explain with an example
c++
7 Respuestas
+ 2
Stdio is library of C;which supports printf() & scanf() which performs the same function of Cout& Cin for C++language respectively..
+ 1
Let me tell you that you are confusing between C&C++.
STDIN & STDIO are C command while CIN & COUT are C++ command ; although base of both languages are same but one language's commands are not applicable to other.
0
Stdio is library of C;which supports printf() & scanf() which performs the same function of Cout& Cin for C++language respectively..
0
I have herd about STDOUT it might be a mistake. But I am sure that STDIN is a library function of C ;unlike <iostream>&<fstream>.
0
Where ever I am wrong please let me know.
0
PRINF & SCANF are supported by<STDIO . H>.
Console Input & Output.
<STDIO. H>
Standard Input & Output.
STDOUT
Standard Output Device
STDIN
Standard Input Device
<STDIO. H> supports following functions :
fflush(), printf(), scanf() etc
<CONIO. H> supports following functions :
gech(), getche() etc
- 3
cin >> & cout <<
is a shorter way