[REALESE][.INC] Full Global Vars V0.2 (very early realese)
#6

Quote:
Originally Posted by JoeBullet
Good work but you did wrong here:

Код:
#include "confirm" /* it contains "#define CONFIRMED" */

#if !defined CONFIRMED
	#endinput
#endif
This is very bad, why? CONFIRMED will always will be defined, so how to do this correct way?

Код:
#if defined CONFIRMED
  #endinput
#endif
#define CONFIRMED
I hope this helps
um.. you didnt understand it right..
i created this "confirm system" to prevent noobs from copying the include..
its may seems strange but its working..
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)