Yep, I can just use an unsigned char and it works fine as -93 is then 163.
I would still like to sought out this thing where cout<<'£'; produces ú on the command line though.
I think windows is...
Type: Posts; User: Zero_Point
Yep, I can just use an unsigned char and it works fine as -93 is then 163.
I would still like to sought out this thing where cout<<'£'; produces ú on the command line though.
I think windows is...
I can get the pound sign to output in the windows console its 156 in the extended ASCII character set (at least the one I'm using, I have been reading that there are more versions).
The problem...
Something I have just discovered (which is very strange),
cout<<'£';
will produce ú and not £ as you would have thought, what’s going on?
I am using VC++ 2005 on a Windows XP SP2 platform,...
When I call isalnum() with the pound (£) sign I get an error like this,
Debug Assertion Failed!
Program:...
File: isctype.c
Line: 56
Expression: (unsigned)(c + 1) <= 256
OK thanks.
Thanks for the quick reply. So does that mean that I’m not going to be able to find the source for the strcpy function anywhere?
I know this is perhaps a dumb question. I can’t find the code for strcpy() any where, anybody got any suggestions?
I have looked in string.h and cstring but can’t find the code. I am using
MS...