setlocale portuguese c++ code example Example: setlocale(LC_ALL("Portuguese")); setlocale(LC_ALL,("Portuguese"));