// Liberías
#include <stdio.h>
#include <stdlib.h>
//Tengo el siguiente struct para nuevo1
struct proveedores {
int Codigo;
char Nombre [20];
char Razon_Social [30];
int Numero_Rut;
int Direccion_Postal;
int Telefono;
}nuevo1;
The High Providers feature
void ALTAS_proveedores()
{
printf("\t\t\t*ALTAS DE PROVEEDORES*\n");
archivo=fopen("arch_proveedores.txt","a");
while(nuevo1.Codigo!=0)
{
printf("Ingrese el Nombre del Proveedor (Para terminar ingrese 0): ");
scanf("%s", nuevo1.Nombre);
if(nuevo1.Nombre!=NULL || nuevo1.Nombre != 13) //<- error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
{
printf("Ingrese el Codigo del Proveedor: ");
scanf("%d",&nuevo1.Codigo);
printf("Ingrese el nombre del proveedor");
scanf("%s", nuevo1.Nombre);
printf("Ingrese la Razon Social: ");
scanf("%s", nuevo1.Razon_Social);
printf("Ingrese Nº RUT: ");
scanf("%d",&nuevo1.Numero_Rut);
printf("Ingrese la Direccion Postal: ");
scanf("%d",&nuevo1.Direccion_Postal);
printf("Ingrese el Telefono: ");
scanf("%d",&nuevo1.Telefono);
fwrite(&nuevo1,sizeof(nuevo1),1,archivo);
}//cierro if
}//cierro while
fclose(archivo);
printf("Alta/s realizada, pulse una tecla para regresar al menu principal");
getch();
main();
}//cierro función ALTA_Proveedores
Throw error saying
error: ISO C ++ forbids comparison between pointer and integer [-fpermissive]
What could be happening?