In C++ you can declare variables anywhere, so I can write a loop like this:

        for (int n = 0; n<max; n++) { ... }

Does n go out of scope when the loop is finished?

-- 
Henry House
OpenPGP key available from http://hajhouse.org/hajhouse.asc

PGP signature

Reply via email to