The std::cout variable, is the C++ standard output stream object which writes to the console:
Code:
#include <iostream>
int main()
{
// write to the screen
std::cout << "Standard Output Stream";
return 0;
}
The code above is a program that illustrates a lot of what makes up a C++ program.
Displays a message onscreen and returns to the operation system. It does this in only eight lines of code in a source-code file.
................
We know .
Do you even know what that means?
Why copy and paste stuff when it is not required?
Originally Posted by master131
Why copy and paste stuff when it is not required?
Why post a pointless post when it is not required?
Originally Posted by master131
Why copy and paste stuff when it is not required?
It's not copied and pasted.. It's From my C++ book Wiley's Teach Your Self C++ 7th edition.
Originally Posted by xFishx
It's not copied and pasted.. It's From my C++ book Wiley's Teach Your Self C++ 7th edition.
No offense dude but if you want to make a bunch of basic C&P "Tuts" that are utterly pointless alone in separate threads, post them all in one thread. Not as a bunch of replies, but as one thread.
Originally Posted by fukojr2
No offense dude but if you want to make a bunch of basic C&P "Tuts" that are utterly pointless alone in separate threads, post them all in one thread. Not as a bunch of replies, but as one thread.
Better yet, give us a link to a download for the book you're reading.
Originally Posted by Void
Better yet, give us a link to a download for the book you're reading.
And better yet ban him for spam
In other news: Hai David <3
I am learning C++ Thanks =D
Originally Posted by [B]Øb_[S]mØke°
I am learning C++ Thanks =D
Thank you for your positive post (: only one... Thanks!
this thread is creepy..
Code:
#include <iostream>
int main()
{
// write to the screen
std::cout << "Standard Output Stream";
return 0;
}