[Dev-C++] Re:=?iso-8859-1?Q?=5BDev=2DC=2B=2B=5D=BFC=F3mo=20escribir=E9?= esto?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: carlos D. M. <cg...@wo...> - 2001-11-08 22:59:44
|
Well, when i said unicode i wanted say ASCII and UNICODE both. And now I achieved with ASCII to print them in a console program.... with a little problem: with cout.put(number), after the character appears the number, and with putchar(number) 0xfffffff after the character. Well, now I need find if there are another equivalent funcion I can use for do it. But I hope it is a problem for console programs, thank you. I must change to learn windows programs. I achieved it!!!!!!!! With this strange thing (and complex, I still need pass to windows and forget the consoles): cout << static_cast<char>(static_cast<int>(static_cast<char>(160))) << endl; Where 160 is the ASCII number for á. |