I have codes run correctly in CCSV3.3 but failed in CCSV5. Do not know why.
I have a function declared as long Is_connected( long), this function is called in another function as
if (! Is_connected(i))
This if statement does not work as expected, when Is_connected() return a non zero integer, if(! Is_connected(i)) will assert the if condition true.
If I change the above statement as
j=Is_connected(i);
if (!j)
if j is a non zero integer, then if(!j) will assert the condition false as expected.
Why if(! Is_connected(i)) does not work as expected in CCSV5?
Honghui Qi