User profile: pnoid

User info
User name:pnoid
History
Joined:
Number of posts:50
Latest posts:

My code is not working?
Nevermind my last post, this is closer to the OP [code]if (Answer != "Home" && Answer != "Shop" && A...

Not working?
[s]If you use logical "and", won't the condition always be false since Answer cannot be both one thi...

My code is not working?
[code]if (Answer == "Home" || Answer == "Shop" || Answer == "Fight"){ //do something } else { cout...

Bitwise operations
I've only ever used them when I was working with assembly in some way, like the example I gave earli...

Possible memory leaks
Valgrind is a decent tool for checking for memory leaks. http://valgrind.org/