printf("this is a \225eta version\n");
would read "this is a Beta version"
The \nnn will give you the ascii character for the value.
Otherwise you can do:
printf("This is a %ceta version\n", 225);
where %c is 225 turned into a char representation.
printf("this is a \225eta version\n");
would read "this is a Beta version"
The \nnn will give you the ascii character for the value.
Otherwise you can do:
printf("This is a %ceta version\n", 225);
where %c is 225 turned into a char representation.
Dunno where you got that \nnn thing. It's not in ANSI C. If it's a part of ANSI C++ then I apologize
So I suggest to spheltem to use \xhh instead, which lets you write a hex byte. For character #225 you would write "\xe1"
for(char c=0;c<256;c++)cout << c;
that would display all 256 ascii characters
------------------
-PoesRaven
Thanks.