Hey to all,i have huge problem which,I'm sure,has a simple solution. :)
I'm having trouble displaying croatian letters in printf line..
Since i cannot write letter č or š or đ etc directly (because all i get are
strange signs),i have to do it through ANSII codes..which for letter č is159
(I think).
printf("Upi%ci re%cenicu:\n",sh,ch); //"Upiši rečenicu" means basically "write
a sentence" ;)
gets(rec);
...in which ch=159 and sh=231
This used to work year ago when i was doing this for something,and now even
that won't work and I don't know why...
So do I have to do something in the options tab?I don't get it why it wont
accept not even here or in terminal these letters..
Thanks,and sorry if this is too simple/already answered,but i wasn't able to
find it..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey to all,i have huge problem which,I'm sure,has a simple solution. :)
I'm having trouble displaying croatian letters in printf line..
Since i cannot write letter č or š or đ etc directly (because all i get are
strange signs),i have to do it through ANSII codes..which for letter č is159
(I think).
printf("Upi%ci re%cenicu:\n",sh,ch); //"Upiši rečenicu" means basically "write
a sentence" ;)
gets(rec);
...in which ch=159 and sh=231
This used to work year ago when i was doing this for something,and now even
that won't work and I don't know why...
So do I have to do something in the options tab?I don't get it why it wont
accept not even here or in terminal these letters..
Thanks,and sorry if this is too simple/already answered,but i wasn't able to
find it..
Oh yes,i have Win xp and devcpp 4.9.9.2.