1
I copied a source code made in the program Code Blocks and pasted it in a project in Visual Studio C 2010 Express, compiled and is giving some errors, one of the errors is in this line:
int main(){
// Altera a linguagem do console para permitir acentos
setlocale(LC_ALL, "Portuguese"); //Erro
error:Error 2 error C3861: 'setlocale': identifier not found
Yes.
setlocale
is a native C function present in the librarylocale
. You will need to do the include of the same, as you put in this reply.– Woss