Tue 21 Aug 2007 03:23:50 PM EDT from [EMAIL PROTECTED]
(     (&string[x])    [0] == '\0')

 

Who can see what is wrong there then?

The fix is

#define IsEmptyStr(a) (*(a) == '\0')

 


with some more blanks, see what i see? it takes the adress of the n'th place of a string.

a[0] is equivilant to *a

maybe the braces tatke the pre-processor some more steps to evaluate that, but it should work imho. 

Reply via email to