I have to calculate an LRC (Longitudinal Redundcy Character).
I have to figure out how to convert some code written in C++
This code in C++:
For (i=1;i<=1001; i++)
lrc ^= buffer[i];
If anyone can show me how to convert this to PowerBasic for DOS
I would really be greatful. Several people have said that the
^= in C++ means XOR. I have tried to use XOR but with no success.
Thanks,
Johnny
[This message has been edited by John Johnson (edited December 13, 2003).]
I have to figure out how to convert some code written in C++
This code in C++:
For (i=1;i<=1001; i++)
lrc ^= buffer[i];
If anyone can show me how to convert this to PowerBasic for DOS
I would really be greatful. Several people have said that the
^= in C++ means XOR. I have tried to use XOR but with no success.
Thanks,
Johnny
[This message has been edited by John Johnson (edited December 13, 2003).]
Comment