PROBLEMAS PARA PONER EL COLOR EN TEXTO
Publicado por Ricardo (5 intervenciones) el 28/09/2000 00:00:00
SIGO TENIENDO PROBLEMAS EN TURBO C ME FUNCIONA, PERO EN VISUAL C++ ME DA ERROR AL LINKAR, YO PONGO LO SIGUIENTE :
fich_env=tempnam(PATH_TEMP,user);
fichp_env=fopen(fich_env,"w");
fprintf(fichp_env, "PROPUESTA REALIZADA POR");
textcolor(´blue´);
cprintf(fichp_env,"%s \n",nombre);
fprintf(fichp_env,"----------------------------------------------------------------------\n\n");
fprintf(fichp_env, "NOMBRE Y APELLIDOS : %s \n",cgivars[1]);
fprintf(fichp_env, "FECHA:%s\n\n",cgivars[3]);
fprintf(fichp_env, "AREA/DEPARTAMENTO: %s\n\n",cgivars[5]);
fclose(fichp_env);
Y ME DA ESTOS ERRORES :
Compiling...
concurso.c
D:\desweb\arch_c\CGIS\ldap_produccion\desweb\concurso.c(80) : warning C4013: ´textcolor´ undefined; assuming extern returning int
D:\desweb\arch_c\CGIS\ldap_produccion\desweb\concurso.c(81) : warning C4133: ´function´ : incompatible types - from ´struct _iobuf *´ to ´const char *´
Linking...
concurso.obj : error LNK2001: unresolved external symbol _textcolor
Debug/concurso.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
concurso.exe - 2 error(s), 2 warning(s)
UTILIZO LA LIBRERIA CONIO.H
POR FAVOR A VER SI ALGUIEN ME PUEDE RESOLVER EL PROBLEMA O QUE ME DE OTRA SOLUCION.
MUCHAS GRACIAS.RIKARD.
fich_env=tempnam(PATH_TEMP,user);
fichp_env=fopen(fich_env,"w");
fprintf(fichp_env, "PROPUESTA REALIZADA POR");
textcolor(´blue´);
cprintf(fichp_env,"%s \n",nombre);
fprintf(fichp_env,"----------------------------------------------------------------------\n\n");
fprintf(fichp_env, "NOMBRE Y APELLIDOS : %s \n",cgivars[1]);
fprintf(fichp_env, "FECHA:%s\n\n",cgivars[3]);
fprintf(fichp_env, "AREA/DEPARTAMENTO: %s\n\n",cgivars[5]);
fclose(fichp_env);
Y ME DA ESTOS ERRORES :
Compiling...
concurso.c
D:\desweb\arch_c\CGIS\ldap_produccion\desweb\concurso.c(80) : warning C4013: ´textcolor´ undefined; assuming extern returning int
D:\desweb\arch_c\CGIS\ldap_produccion\desweb\concurso.c(81) : warning C4133: ´function´ : incompatible types - from ´struct _iobuf *´ to ´const char *´
Linking...
concurso.obj : error LNK2001: unresolved external symbol _textcolor
Debug/concurso.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
concurso.exe - 2 error(s), 2 warning(s)
UTILIZO LA LIBRERIA CONIO.H
POR FAVOR A VER SI ALGUIEN ME PUEDE RESOLVER EL PROBLEMA O QUE ME DE OTRA SOLUCION.
MUCHAS GRACIAS.RIKARD.
Valora esta pregunta


0