|
From: Ioannis V. <no...@ho...> - 2002-08-07 17:39:29
|
Well since i have never encountered any strange compiler behaviour in my life, can you provide us with an example source code that behaves "strangely"? I 'll be honest, i do not believe you discovered any compiler strange behaviour, just programming mistakes. =20 =20 =20 Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net <http://www.noicys.cjb.net/>=20 * Alternative URL: http://run.to/noicys =20 =20 From: dev...@li... [mailto:dev...@li...] On Behalf Of Carlos Garc=EDa del Monte Sent: Wednesday, August 07, 2002 6:42 PM To: dev-cpp-users-list Subject: Re:Re: [Dev-C++] iterating by 2 I always set C++ and save as cpp Can give problems doing as c++ but writting c (and saving as cpp)?=20 But I always use c++ and save as cpp, the only I do sometimes is using stdio for using FILE * instead of fstream (if binary files, yes, I know fstream can do, but...).=20 Well, I know in C++ you can declare variables when you need them, I do it many times, and that it's "supposed" that you can do for(int i[...], in fact the report of that error surprised me "hey, that's legal, why...?". But that's just the behaviour I find. |