Hi, I have a function in VB6 like this:
tot = CLng(tot Xor Not lngdata)
I'd like to do the same in c++, but I can't get the same results...
I've tried like this:
tot = (int)((-1) * (tot ^ lngdata) );
But I don't get exactly the same results....
Can anyone advise me why the above does not work as expected?
Many thanks in advance!