Swap Integers

This is a discussion on Swap Integers within the C++ Programming forums, part of the General Programming Boards category; I expect if you saw some old game code, you'd see all kinds of tidbits like this. In fact it ...

  1. #61
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    I expect if you saw some old game code, you'd see all kinds of tidbits like this. In fact it wouldn't surprise me to see them in new game code. The code may not run on every processor, but it's blazing fast.

  2. #62
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    You'd be surprised. Reusability is the keyword in game development nowadays.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Page 5 of 5 FirstFirst 12345
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Link List math
    By t014y in forum C Programming
    Replies: 17
    Last Post: 02-20-2009, 05:55 PM
  2. Assignment HELP!!
    By cprogrammer22 in forum C Programming
    Replies: 35
    Last Post: 01-24-2009, 01:24 PM
  3. Integers into array.
    By livestrng in forum C Programming
    Replies: 10
    Last Post: 10-29-2008, 11:35 PM
  4. using swap to make assignment operator exception safe
    By George2 in forum C++ Programming
    Replies: 9
    Last Post: 01-10-2008, 05:32 AM
  5. Replies: 6
    Last Post: 08-04-2003, 10:57 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21