• Lucid Dreaming - Dream Views




    Results 1 to 25 of 165

    Threaded View

    1. #11
      Gentlemen. Ladies. slayer's Avatar
      Join Date
      Mar 2007
      Gender
      Location
      Right here... Reputation: 9999
      Posts
      4,902
      Likes
      473
      DJ Entries
      4
      Actually I have a question...

      I'm learning C++ and right now I'm reading about ++ and --

      The example it gives me is this...

      Example 1:
      Code:
      B=3;
      A=++B;
      // A contains 4, B contains 4
      Example 2:
      Code:
      B=3;
      A=B++;
      // A contains 3, B contains 4
      I don't really understand the whole ++ and -- and how it affects the A and B variables. Can someone explain how it adds up?

      Edit: Also, how does all this make up a video game engine?
      Last edited by slayer; 01-08-2010 at 01:41 AM.

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •