+ 18
How to print spanish/french/etc texts with cout or other method?
Is possible to print non-English texts with regional ascii codes?? For example, "¿Cuántos años tienes?" in Spanish, how could be printed in C++?
9 Antworten
+ 7
I think it is not possible in sololearn
+ 3
Use UNICODE instead of ASCII
It has other characters for other languages
+ 2
Vladimir Honcharenko :
I tried it but does not run
+ 1
I try but not runs
0
Muy buena pregunta.
En C se puede usar locale() pero en c++ no funciona.
0
También a mí me interesa
0
Add to the beginning of main function:
setlocale(LC_ALL, "");
Unfortunately, here it will not work. :c
You can try it here: http://cpp.sh
0
is it possible?
0
of course in a css box or a matrix code just in htlm but the c++ is more difficult but saw tuto