13 years, 5 months ago
Highlights
Community contributions featuredInstead of putting the data in the actual enum, you can place it in an array and index it via the enum values. struct Foo { int i; int j; Bar b; char c; //other stuff }; enum Bi…
13 years, 5 months ago
13 years, 8 months ago
If you're looking for a lobby system, you probably want to keep some representation of the lobby while people are waiting, not just pair everyone up once you've found enough peo…
13 years, 8 months ago
17 years, 2 months ago
I usually go with forward declaring as much as possible and including the rest and self-contained headers is a must.Reducing the amount of actual includes helps with several fac…
17 years, 2 months ago
Latest Activity
See all in DiscussionsInstead of putting the data in the actual enum, you can place it in an array and index it via …
13 years, 5 months ago
If you're looking for a lobby system, you probably want to keep some representation of the lobby while people are …
13 years, 8 months ago
I usually go with forward declaring as much as possible and including the rest and self-contained headers is a must.Reducing …
17 years, 2 months ago