[SOLVED]Macro NULL in pawn.
#8

Quote:
Originally Posted by JoeBullet
C - ((void*)0)
C++ - (0)

Why did C defined 0 as void pointer ? Because it was used to empty pointer's address.
And by the way, there is not pointers in PAWN because no newbie will be able to learn to use it correct and there it won't be easy(for newbies) to learn.
Thanks JoeBullet, I understood perfectly.
And really, pointers are very boring! But it is not as complicated as many think...

Quote:
Originally Posted by MaVe - leeturl.de
'\0' == 0 == 0x0 == 1-1 == false == NULL
Thanks !

(Sorry my bad english)
Reply


Messages In This Thread
[SOLVED]Macro NULL in pawn. - by -xy! - 01.12.2009, 17:28
Re: Macro NULL in pawn. - by Streetplaya - 01.12.2009, 17:29
Re: Macro NULL in pawn. - by -xy! - 01.12.2009, 17:37
Re: Macro NULL in pawn. - by Google63 - 01.12.2009, 17:57
Re: Macro NULL in pawn. - by dice7 - 01.12.2009, 18:00
Re: Macro NULL in pawn. - by Google63 - 01.12.2009, 18:06
Re: Macro NULL in pawn. - by Streetplaya - 01.12.2009, 18:11
Re: Macro NULL in pawn. - by -xy! - 01.12.2009, 18:17

Forum Jump:


Users browsing this thread: 1 Guest(s)