In my TCLite compiler I can use
but in my Board TurboC++ I can't (I have to declare int j outside). Is there a way I can enable it in there?Code:for (int j=0; j<max; j++)
btw I HAVE to use B Turbo C++.
In my TCLite compiler I can use
but in my Board TurboC++ I can't (I have to declare int j outside). Is there a way I can enable it in there?Code:for (int j=0; j<max; j++)
btw I HAVE to use B Turbo C++.
this piece of code:
is C++ code, and a C compiler won't compile it.Code:for (int i = 0; i < SIZE; i++)
I have never used Turbo C++ before, but looks like it's a C++ compiler, so what extension are you using, .c or .cpp?
Last edited by glUser3f; 11-27-2003 at 04:12 PM.
well i guess ill check\change the extension and see.
>is C++ code, and a C compiler won't compile it.
If the compiler is conformant with C99 it will compile and is valid within the standard. Otherwise it's a nonstandard extension or C++.
My best code is written with the delete key.