I'm using the same compiler in the same way with identical code.
Swapping the two identically named files Name.CPP swaps the fault -
it is permanantly attached to one file.
I've looked at them with a hex editor and they're (apparantly)
completely identical. Baffling!
I'll try and ignore it - it's too much of a side track I think- I'll
read about sequence points though.
My garbled output seems more in keeping with the sequence of execution
that I'd expect. It seems odd for a function to return its value
before executing the cout<< line.