I don't get it.a more compliant compiler than flagging declaring "i" within a for loop is invalid
In c it is invalid. VC6 notifies it:
In c++ it is valid and VC++6 compiles it well.d:\work\projects\cpp\mysamples\classno\test.c(6) : error C2143: syntax error : missing ';' before 'type'
So what is the problem?