   Converting Booleans
  Hey, I'm using pointers for booleans right now and I don't get thisExample 1    bool* pBool;    bool bBool = false;    pBool = &bBool;    //pBool is still trueExample 2    bool pBool;    bool bBool = false;    pBool = bBool;    //pBool is still true...Is there any way of assigning a boolean to another boolean?   
  I dont see you dereferencing the pointer...Try this:    bool* pBool;    bool bBool = false;    pBool = &bBool    std::cout << *pBool;It should display 0(false)Your second example should work. How are you determining if it is false or true? false is 0, true is any non-zero value.   ;  If you're doing:if (pBool) .... then yes, it will always be true, unless you assign NULL to it.Because you're not testing the boolean, but pointer. That would be the basic non-NULL pointer test.To get value of pointed-to object, do:if (*pBool) ...;  0 is false?  Oh in that case it worked.  I assumed that since "return 0" was the same as returning true, 0 was true.  Sorry about thatAnd thanks Antheus for helping me with the if(pBool) thing :)   