I know this isn't EXACTLY the right place to ask the question but the list has been a bit dead recently, so I thought I'd give you something to read. Ok,if these are the facts: char *arg; arg = "d+3"; How come the if statment: if ( (*(arg+1) != '+')) { /* whatever */ } Always returns true, ie even though the second char in the argument is '+', { /* whatever */ ) is still executed? I hope someone can help...it's got me a bit confused... Thanks, Free @ 155.198.133.13 4000
This archive was generated by hypermail 2b30 : 12/07/00 PST