Thread: Multiple class instances

  1. #16
    Registered User
    Join Date
    May 2009
    Posts
    106
    thanks for metioning all of those books, because of other reviews i had read i was temted to buy a few

  2. #17
    Registered User
    Join Date
    Jun 2008
    Posts
    114
    Well thats not that much different from asking if
    Code:
    PlayerX = NUMBER;
    PlayerY = NUMBER;
    for(int i = 0;i < NUMBEROTILES;i++)
    {
        ProposedX = Number + 1;
        ProposedY = Number;
        if(TileFunction(i).X == ProposedX && TileFunction().Y == ProposedY)
        {
              if(iswalkable)
              {
                  PlayerX = ProposedX; 
                  PlayerUpdate();
               }
         }
    }
    Who needs a signature?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. Replies: 3
    Last Post: 10-31-2005, 12:05 PM
  3. Queues, Nodes and passing instances of a class
    By xshapirox in forum C++ Programming
    Replies: 12
    Last Post: 11-13-2004, 01:06 PM
  4. structure vs class
    By sana in forum C++ Programming
    Replies: 13
    Last Post: 12-02-2002, 07:18 AM
  5. Warnings, warnings, warnings?
    By spentdome in forum C Programming
    Replies: 25
    Last Post: 05-27-2002, 06:49 PM