ruhatadiyaman wrote:
> it was my fault of course. at my first message i have writen as
> 'include<stdio.h>' but in fact i was writing '#include<stdio.h>' as you
> say. but it is still underlined as a syntax error. the code is this;
>
> #include<stdio.h>
> int main()
> {
> print("why doesn't compile");
> }
>
> it gives syntax error only for include line
> thanks again
> best regards
Missing a space (among other things)?
#include <stdio.h>
int main()
{
printf("Why not?");
return 0;
}
If I were a preprocessor, I'd hand out syntax errors too...mostly for
the fun of messing up your psyche.
--
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197
*NEW* MyTaskFocus 1.1
Get on task. Stay on task.
http://www.CubicleSoft.com/MyTaskFocus/