I'm trying to set the program language to Portuguese, using setlocale(LC_ALL,"Portuguese")
, however, much of the program was done in Ubuntu. When the other programmer sent me the files and when I am going to compile using mingw32-make to use the makefile, I have problems with the accent, but when compiling using Ubuntu I do not have this problem.
Being the default% C language library, this locale.h
should work on both Windows and Ubuntu. Anyone have any idea what the problem is?