Discuss about cout,cin and cerr in C++
cout,cin and cerr :-
In analogy to C, C++ defines standard input and output strums which are opened when a program is executed. The strums are ----
· Cout analogues to stdout
· Cin analogous to stdin
· Cerr analogous to stderr
Syntactically these strims are not used with functions,instead,data are read from the strims or written to them using the operator <<, called the insercation and >> , called the extraction operator. The strims are declare in the header file <iostrim.h>
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment