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

Begin
Writeln('Please no C++');
End.
lol
or
<?php
echo "Please no C++ \n";
?>
or
printf(" Really no!");
lol, it's not that i don't like C++ just that i've been spoilt with objectpascal
EG.
Var
S: String;
Key,B: Byte;
N: Integer;
begin
S:=Edit1.Text;
Key:=55;
For N:=1 to Length(S) do
Begin
B:=Ord(S[N]);
B:=B Xor Key;
S[N]:=Chr(B);
End;
LoadLibrary
Edit1.Text:=S;
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