Hello alliedmodders!
Need some c++ help here, i dont know how to search this ( how to but that in the words what im doing )
Anyway, i need to work with marco so here is a example
PHP Code:
#define myfunction(p1,p2) oldfunciont(p1,p2)
this thing allow me to replace old function name with the new one.
Now when i want to replace sprintf kind of functions, there comes some problems because it has "..."
PHP Code:
int sprintf ( char * str, const char * format, ... )
Can someone give me an example here how can i do this
PHP Code:
#define cformat(str,fstr,?) sprintf(str,fstr,?)