What is the syntax for the prototype of the following function?
Code:int Game_Shutdown(void *parms = NULL, int num_parms = 0) { }
What is the syntax for the prototype of the following function?
Code:int Game_Shutdown(void *parms = NULL, int num_parms = 0) { }
Note that default arguments cannot be repeated in the function definition or you'll get errors.Code:int Game_Shutdown(void *parms = NULL, int num_parms = 0); int Game_Shutdown(void *parms, int num_parms) { ... }
My best code is written with the delete key.
Thanks!