OK, so after the Debug vs. Release thread, let me introduce a new fancy&bizarre behaviour of my program.In debug mode, looking at a specific variable (a double). When running the VS debugger, I can see it has the value I expect (neq 0).When running the same exe _from command line_, the same variable is cout'd as 0. It turns out that in this case the variable is really 0 (if I sum it to "something else", and cout the result I get "something else").So different results running from VS debugger or command line. The main takes no arguments.Since it is debug mode in both cases (and I'm running the correct exe from command line), I've no clue. Environment variables?