Re: Defining long constants - do-able but not exactly elegant

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Wed, 13 Mar 2002 18:36:31 -0600, Kat <gertie at PELL.NET> wrote:

>What's wrong with simply gets()ing a text file of any length you want, edited 
>any way you want, and displayed any way you want, in any editor you 
>want, rather than cluttering up the code files?
>
One thing I never can quite get is the way windows does the default
directory handling. The editor I'm using opens the files from the last
session automatically, so *I guess* the windows API never gets to set
a "current" directory in the way it would if I double clicked a file
in Explorer or used the standard open file dialogue. The upshot of
which is that I either have to hard code a directory in my program,
which I am loathe to do, or open a random file from the right
directory & shut it. before windows can find the file my program is
trying to open.

Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu