Thread: Starting game programming

  1. #31
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542
    Thanks for the replies
    what does signature stand for?

  2. #32
    Visionary Philosopher Sayeh's Avatar
    Join Date
    Aug 2002
    Posts
    212
    Can you do type casting in C??
    Yes. That's where it came from. This is more accurately called 'type coercion'. Because you are coercing a type to some other type (to fool the compiler).

    Casting/Coercion is all about how you want the compiler to view the data-- it has nothing to do with the data itself.
    It is not the spoon that bends, it is you who bends around the spoon.

  3. #33
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    are you sure it's just in the way that the compiler views it? I think it must change the way the data is represented, somewhere, temporarily, because I've read in documents on optimizing 3D math that type casting is slow...
    Away.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Starting 2D Game Programming...
    By Junior89 in forum Game Programming
    Replies: 8
    Last Post: 06-20-2006, 08:47 PM
  2. PC Game project requires c++ programmers
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 02-22-2006, 12:23 AM
  3. Game Engine Link Prob
    By swgh in forum Game Programming
    Replies: 2
    Last Post: 01-26-2006, 12:14 AM
  4. Game structure, any thoughts?
    By Vorok in forum Game Programming
    Replies: 2
    Last Post: 06-07-2003, 01:47 PM
  5. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM