DEV C++有问题吗?
#include <stdio.h>
#include <string.h>
int main(void)
{
char a[50]="love";
printf("%s",strupr(a));
getchar();
return 0;
}
会有错误提示:6 C:\Documents and Settings\Administrator\My Documents\未命名1.c [Warning] implicit declaration of function `strupr'
如图把下图里面的圈里的“V”去掉,就正常为什么?
[img]http://bbs.bc-cn.net/[URL=http://p14.freep.cn/p.aspx?u=v20_p14_p_0712050840591080_0.jpg&click=1]
[/URL][/img]
#include <stdio.h>
#include <string.h>
int main(void)
{
char a[50]="love";
printf("%s",strupr(a));
getchar();
return 0;
}
会有错误提示:6 C:\Documents and Settings\Administrator\My Documents\未命名1.c [Warning] implicit declaration of function `strupr'
如图把下图里面的圈里的“V”去掉,就正常为什么?
[img]http://bbs.bc-cn.net/[URL=http://p14.freep.cn/p.aspx?u=v20_p14_p_0712050840591080_0.jpg&click=1]
[/URL][/img]






2007-12-5 08:45 

