@DaveVoyles It means 'this is what I want to cout'
What does cout << "3 + 4" in c++ mean? I'm confused about "<<" and unable to find info on it (difficult to google that term)
-
-
-
@cfloydtweets I get that I mean, what is "<<" specifically. How else could I use it? - Show replies
New conversation -
-
-
@DaveVoyles It's been a very long time since I had C++, but if I remember correctly, it will output the string '3 + 4'. -
@sakanakami I get that I mean, what is "<<" specifically. How else could I use it? - Show replies
New conversation -
-
-
@The_Rabbit42 just what I'm looking for! Thanks!
End of conversation
New conversation -
-
@DaveVoyles They overloaded the shift operators for some syntactic sugar. It's part of the cin/cout objects, so just look up those. -
@BrooksBishop aha, I found it! input / output operator http://www-numi.fnal.gov/offline_software/srt_public_context/WebDocs/Companion/cxx_crib/input_output.html …
End of conversation
New conversation -
-
-
@DaveVoyles It's the 'insertion operator' -
@Fortress_Craft aha, I found it! input / output operator http://www-numi.fnal.gov/offline_software/srt_public_context/WebDocs/Companion/cxx_crib/input_output.html …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.