in reply to Not my first program, but the first I'll share...

It would probably be a good idea to make sure that your file actually exists before you display info from it. It's not drop-dead if you don't, but it's a usually a good idea to do a check before I/O. You can just branch w/ a friendly "file not found!" message if the file is not there.

And keep an eye out for unbalanced header tags. ;)

  • Comment on Re: Not my first program, but the first I'll share...

Replies are listed 'Best First'.
Re: Re: Not my first program, but the first I'll share...
by pekkhum (Sexton) on Oct 27, 2003 at 21:55 UTC
    Yeah, so far when no file is there or it doesn't match the window just comes up blank, I'm working on a file not found thing... ::laugh:: But I keep screwing it up.

    ::Pekkhum looks closely at the headers...::