void init_mystruct(MYSTRUCT* mystruct) { mystruct.whatever = ...;}...// dynamically allocate memory for a struct and initialize itMYSTRUCT* mystruct = malloc(sizeof(MYSTRUCT)); init_mystruct(mystruct);
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de