On Thu, Jul 21, 2011 at 3:15 PM, Maxime van Noppen <maxime@altribe.org> wrote:
On 07/21/2011 04:02 PM, cc caprani wrote:
int main()
{
[...]

    std::cin.get();    // hold console window open
    _CrtDumpMemoryLeaks();    // report memory leaks
}



<smacks forehead> Oh that could have nearly been embarrassing!

Luckily I had actually done that in a previous test - the problem still remains when scoped correctly as suggested.

Thanks for the input Maxine.