not sure what you mean curlyben, ¬ is not on my keyboard directly to the left of the number 1. to the left of the 1 on my (US English) keyboard I have `(grave accent) and ~ (tilde) if you hit shift. ¬ is not on my keyboard. In windows we have the Character Map program (probably under Accessories:System Tools) and it tells me that ¬ is called "Not Sign" and that you can get it by pressing and holding the alt key and then pressing 0172 and releasing alt. Also, from
Ascii Table - ASCII character codes and html, octal, hex and decimal chart conversion I can tell you that it's ascii character 170. In c, to use it as a char you would
Code:
char a;
a=170;
//or maybe
a='¬';
to use it in a string i think you would
Code:
char s[10];
//\xAA is giving the hexadecimal version of 170 which is AA
s="1234\xAA6789\0";
//or maybe even
s="1234¬6789";
which I believe will become "1234¬6789"
You can probably extrapolate from that if you're using some other type of string.
Hope this helps a little. Ask if something isn't clear.