Could someone explain where and when you would use << and >>. I read these 2 articles but don't really understand them.
http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B
http://en.wikipedia.org/wiki/Arithmetic_shift
COKEDUDE
27
Junior Poster in Training
Recommended Answers
Jump to PostThis was written quickly...I hope its correct..
Would it have taken long to give the code a quick test?
And there is no reason to call
exit()
every time you need to stop a program. A simplereturn
will exit the program frommain()
Jump to PostWould it have taken long to give the code a quick test?
And there is no reason to call
exit()
every time you need to stop a program. A simplereturn
will exit the program frommain()
It was written/run once and appeared to work...that's quickly in my books.
All 5 Replies
gerard4143
371
Nearly a Posting Maven
jephthah
commented:
ridiculously confusing.
-1
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
gerard4143
371
Nearly a Posting Maven
jephthah
1,888
Posting Maven
gerard4143
371
Nearly a Posting Maven
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.