为什么会有错误提示?
#include<stdio.h>int main(void)
{
char buff[256],*ptr;
while(*(ptr=gets(buff))!=NULL)
puts(ptr);
return 0;
}
提示:5 C:\Documents and Settings\Administrator\My Documents\dd.c [Warning] comparison between pointer and integer
但是能运行!用的是DEV C++编译的!