character codes above 127 (pretty much anything past '~') depend on your language settings, console code page, and even your console font.
Displaying anything other than basic ASCII (read: this includes "extended" ASCII) to the console is actually pretty difficult/impossible to do reliably with the standard lib. You'll often need to fall back to platform specific code.
thanks... yes, i'm using windows 7 (32bit). is there any library i can include to use the extended ascii or ansi or maybe even unicode or utf-8??
ps: i cannot use it like "char a=255;" because i read the chars from a file, so i have no clue what char i'm reading... i have to get it's position in the ascii table afterwards... i just shortened my previous example