|
|
back to boardProgram on C can't be compiled I looked at program version on C, and found interesting strings: int main(void) { c=0; for(long i=0; i<N; ++i) scanf("%ld", &A[i]); .... This code can' be compile on C. Because variable “i” can be declared in operator “for”(according to C standard)!!!!Check it! It depends from compiler. Read the documentation more careful. For example, Borland C++ 3.1 cannot compile this, but it is not a bug. Edited by author 18.02.2005 19:25 |
|
|