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 á.
|