15.06.2016, 11:30
Code:
stock code(nickname[]) { new tmpb[32]; strcat(tmpb, nickname); for (new i = 0; i < 32; i++) { switch (tmpb[i]) { case 'ğ': tmpb[i] = 'g'; case 'Ğ': tmpb[i] = 'G'; case 'ş': tmpb[i] = 's'; case 'Ş': tmpb[i] = 'S'; case 'ı': tmpb[i] = 'i'; case 'ц': tmpb[i] = 'o'; case 'Ц': tmpb[i] = 'O'; case 'з': tmpb[i] = 'c'; case 'З': tmpb[i] = 'C'; case 'ь': tmpb[i] = 'u'; case 'Ь': tmpb[i] = 'U'; case 'İ': tmpb[i] = 'I'; } } return tmpb; }