From: Filip P. <fil...@ya...> - 2010-09-13 11:28:41
|
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 č is 159 (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.. Thx alot. Winxp,devcpp 4992. Filip. |