Hi guys. I have the problem of "Id returned 1 exit status"in my program.Here is my code,I couldn't point out the reason for this error.i tried compiling it using turbo c++ and dev c++ and got the same result. Help me if u can...
Code:
#include <ctype.h>
#include <stdio.h>
int main(void)
{
char ch;
for(;;) {
ch = getchar();
if(ch == '.') {
break;
}
if(isblank(ch)){
printf("%c is a word separator\n", ch);
}
}
return 0;
}
output:
[Linker error]undefined reference to 'isblank'
Id returned 1 exit status