|
From: Adam M. <up...@in...> - 2003-02-27 14:57:54
|
Hi all. One day i made a little mistake. Instead of "char* Name =3D new = char[FilenameLength];" i wrote " char Name[FilenameLength];", where FilenameLength is = evaluated by runing program. I didn't notice that and everythig worked properly. Yesterday i = compiled the project under VisualC++ 6.0 and ofcourse compiler said it is an error. Ofcourse = it is error because compiler needs constant value for table size. Can someone tell me why = mingw didn't report any error and what is more interesting: why my program worked properly? regards. Adam. |