cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
can anybody explain complete execution o
can anybody explain complete execution of cout statement ?
Mar 27, 2013 at 11:01am UTC
Anshh
(8)
cout<<"Hello world";
how this gets executed.what is cout and << and what these do ?
Mar 27, 2013 at 11:06am UTC
MiiNiPaa
(8886)
std::cout is an standard C output device: usually the console.
<< is an operator. You can see your line as a function
operator
<<(cout,
"Hello world"
);
It sends the "Hello world" string to standard output.
Mar 27, 2013 at 1:52pm UTC
Anshh
(8)
thanks
Topic archived. No new replies allowed.