C++ Tutorial (10) - Absolute n00b spoonfeed

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
40,918
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 10, 2008

Video tutorials about programming in the C++ programming language.

Part 10:
* rvalue / lvalue
* expressions

Pardon my imperfect english.

Forum: http://cpptutorials.freeforums.org/

If you have any suggestions about how to make this video clearer, more n00b helpful, and explanatory, please send me a message.

If you have any C++ questions, please comment.

Correction at 6:52: "r = t * y = x ;" causes a compiler error since the * operator is executed before the = operator, so its like saying r = 1 * 2 = x; as you see from the '1' till the ';' we are trying to assign x to a rvalue (1*3). See video 17 about operator precedence and using parenthesis. For example, to make this line of code work, you can type "r = t * (y = x) ;"

  • likes, 7 dislikes

Link to this comment:

Share to:

Uploader Comments (antiRTFM)

  • r = t * y = x;

    is that even legal?

  • nope, see video info

Top Comments

  • THE BEST TUTORIALS ANYWHERE YOU RULE!

see all

All Comments (103)

Sign In or Sign Up now to post a comment!
  • AT THE END OF THE DAY

  • bucky cya

  • More views on this video than the last... how does that happen?

  • @Punniabi it is an example, i am sure with the right expressions one can ues this example

  • .... at the end of the day

  • @ForMySinsEasyGamer *BODMAS

  • Does the mathematical slang BODMASS comes into play here then? and absolutely awesome tutorials you lost me near then end then the last two sentences brought it all back together again..

  • The Best Teacher on Youtube :D

  • 9 = 5;

    thumbs up!

  • Thank you ^^

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more