when i say
??Code:flag=(int)NULL; is it the same this as saying flag=0;
when i say
??Code:flag=(int)NULL; is it the same this as saying flag=0;
Yes (at least conceptually), like I said a long time ago (well, several days ago, at least) - along with about 6 other code-improvement suggestions that you ignored completely.
Edit: http://cboard.cprogramming.com/showp...1&postcount=42
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
this function works fine. its an incarnation of a pointer version
the null is a remainder from that version
what problem could it do if i will change
Code:flag=(int)NULL; to flag=0
How is that different from what you are currently saying?Originally Posted by me
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
ok i changed it
it works fine
"No-one else has reported this problem, you're either crazy or a liar" - Dogbert Technical Support
"Have you tried turning it off and on again?" - The IT Crowd
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.