int isEmpty(char x [1000]){
int i = 0;
while( x[i] == " " || x[i] == "/t" || x[i] == ""){
i++;
}
if (i != 999)
return 1;
}
return 0;
}
The errors I recieve:
warning: comparison between pointer and integer
warning: comparison with string literal results in unspecified behavior
I realise my code reads far too much like Java, I haven't fully grapled with the C syntax yet.