fruit* frt = new fruit;if (frt == NULL){ // something went wrong // maybe not enough memory which would be weird // because this is very small}
and use classes instead of just structs, and then rely on the constructor like someone else said
"Now go away or I shall taunt you a second time"
- Monty Python and the Holy Grail
We are creating a Multi-player space strategy/shoot-em-up/RPG game.
Development is well under way and we do have a playable demo.
Always looking for help.
Digital Euphoria Soft