why we use "<< " thes signs in cout function?
rafiakhan492
0
Newbie Poster
Recommended Answers
Jump to Post
cout << thingie
is symbolic for "sendthingie
tocout
".cin >> thingie
is symbolic for "send something tothingie
fromcin
". The angle brackets denote the direction that data moves.Whether
>>
and<<
are the best symbology for the behavior is up for debate, but it works reasonably …
All 6 Replies
rafiakhan492
0
Newbie Poster
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
rafiakhan492
0
Newbie Poster
Suzie999
245
Coding Hobbyist
rafiakhan492
commented:
please give me another example because i knew this example.
+0
rafiakhan492
0
Newbie Poster
Rafiii
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.