I use non-ASCII letters for identifiers.What do you mean? Something like:
äöü = 42;
It is impossible. C/C++ is meant to work only with ASCII.
Identifier characters.
The C and C++ standards allow identifiers to be composed of `_' and the alphanumeric characters. C++ and C99 also allow universal character names, and C99 further permits implementation-defined characters. GCC currently only permits universal character names if -fextended-identifiers is used, because the implementation of universal character names in identifiers is experimental.
According to the documentation it should work:Quote from: http://gcc.gnu.org/onlinedocs/cpp/Implementation_002ddefined-behavior.html#Identifier%20charactersIdentifier characters.
The C and C++ standards allow identifiers to be composed of `_' and the alphanumeric characters. C++ and C99 also allow universal character names, and C99 further permits implementation-defined characters. GCC currently only permits universal character names if -fextended-identifiers is used, because the implementation of universal character names in identifiers is experimental.
The UCS and Unicode characterset is almost the same (according to wikipedia).
German umlauts also do not work for me, so either the documentation is incorrect or the intersection of ucs and utf is not as large as thought.
I don't understand why they even bother to implement it...
So as I understand you have to add "-fextended-identifiers" to the compilation line , have you tried it ?Project -> Build options -> Compiler -> Other options
...
Now where do I try this option out , because I don't have experience with configuring the compiler ?
Well as you may know there are some people who don't speak english natively , so it would be handy to have the option to write with your own alphabet :roll:Me too, but I don't see the benefit of writing programs in anything different than English.
Me too, but I don't see the benefit of writing programs in anything different than English.
float променлива1,пром2,ПрозорецШирочина,ПрозорецВисочина; //variable1,var2,WindowHeight,WindowLength
float promenliva1,prom2,ProzorecShirochina,ProzorecVisochina;
Всъщност изглежда ужастно, не съм сляп-патриот :)
Translation: In fact it looks awful, I'm not blind-patriot
CodeВсъщност изглежда ужастно, не съм сляп-патриот :)
Translation: In fact it looks awful, I'm not blind-patriot
p.s. Admins, sorry for the non-english content.