Turkish Character Problem in C ++

In order to correct the words containing Turkish characters printed on the screen in C ++ language, Turkish local settings should be set.

#include <iostream>

int main() 
{
    setlocale(LC_ALL,"Turkish");
    std::cout << "Türkçe karakter sorunu : ö ç ş ı i ü ğ Ç Ö İ Ş Ü Ğ";
    return 0;
}

 

Tagged In:

Software developer

26 Total Posts