Search:

Type: Posts; User: BSTRhino

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    4,295

    Static member data inaccessible

    Hi, I'm making a little Chess program for my first C++ project. I've done a whole lot of programming before, so don't worry.

    OK, I have two static variables of the ChessPiece class:


    static...
  2. Replies
    5
    Views
    1,261

    Poll: Just remember, a pointer just stores a memory...

    Just remember, a pointer just stores a memory address. That's all. That seemed to clear everything up for me.
  3. Replies
    6
    Views
    1,349

    I don't mean the pointer's memory address as in...

    I don't mean the pointer's memory address as in where it is stored the data is stored, but I mean the memory address it is pointing to.
  4. Replies
    6
    Views
    1,349

    If you wanted to change the actual pointer's...

    If you wanted to change the actual pointer's memory address, you would use two * operators (**), showing that you want the memory address of a pointer.
  5. Replies
    6
    Views
    1,349

    OK, well, a pointer holds a memory address. I'm...

    OK, well, a pointer holds a memory address. I'm sure you know that. What you've done in the main function, is give the pointer, p, the memory address of a.

    So when you call the function...
Results 1 to 5 of 5