now C::B says "syntax error before '/' token". i cannont use // comments. Why? I haven't been changing anything.
another wired error:
D:\projekt\kartka\nevilea.c:35: error: 'for' loop initial declaration used outside C99 mode
:: === Build finished: 1 errors, 0 warnings ===
i want to compile just 1 .c file, not project. When i do that at windows desktop it works. After changing location of file to D:\projekt\kartka\ it shows that error.
code is simple:
"int main(){
double x[]={-3,-2,0,3,4,8};
double f[]={10,6,-2,-5,2,11};
for(int i=-3;i<9;i++) printf("%d %f\n",i,neville(x,f,i));
}"
-----
I checked more. It's really wired. Code doesn't compile anywhere else than at desktop od subfolder of desktop.