Forum: C++ Sep 7th, 2004 |
| Replies: 5 Views: 2,596 You don't HAVE to define NUM_TURNS as static. Defining it as static makes it common between all objects of that class. So if you have
GamePlayer a1;
GamePlayer a2;
then, a1.NUM_TURNS and... |
Forum: C++ Sep 2nd, 2004 |
| Replies: 8 Views: 3,875 I don't get why C++ pros see red when they see void main(). Can someone explain why intmain() is good and void main() bad? |