I've grown up on a diet of Pascal and Object Pascal, C++ (objects look scary) but C i can handle, PHP i can handle, C++ and objects that look like object::fsdfsdf scare me
Writeln('Please no C++');
echo "Please no C++ \n";
printf(" Really no!");
lol, it's not that i don't like C++ just that i've been spoilt with objectpascal
For N:=1 to Length(S) do
B:=B Xor Key;
for (n=0; n<StrLen; n++)
int b = 0;
int key = 55;
// B:=Ord(S[N]); //ord is the Decicmal of Ascci value, eg, A = 65; so abcde becomes 65 66 67...
// B:=B Xor Key; // xor 55 with 65 (A or whatever)
// S[N]:=Chr(B); //replace string back with the XOR'ed version
how would you do that in C/C++ ?
The 'English' descriptions Begin End; XOR, it's all pretty much explained to you as you code, where as with C++ you have to remember so very specific info - i'm spoilt lol