Possible Duplicate:
What is the scope of a while and for loop?
for (int32 segNo = 0; segNo < 10; ++segNo)
{
my_Object cm;
}
Will the constructor and destructor of object cm be called on each pass through the loop?
If so, will the destructor be called before or after the loop variable is incremented?