Ok, this is perhaps not to do with the code. I've been experiencing some difficulties and I've now come to find a way around it. But it doesn't seem right.
Open I have two identical source files. One will run as it should, one just displays a blank screen. As I said, they are absolutely identical (I have spent the last ten minutes trying to spot a difference) appart from the file name. The one that works, I had to take it slowly. I would write little bits of the code, compile & run, write a bit more, c & r, write a bit more, etc. For the second that doesn't work, I just wrote the code in one go, then c & r.
Does anybody else have to do this? Is it normal, or should I be concerned? It's really beginning to annoy me.