
Inputting data as text files.
On Wed, 9 Oct 2002 12:39:01 -0700, "Darren Wilton"
|Hello:
|
|I am trying to figure out how to input and read text data files. Where
|should the data files be located? Do I have to include the entire path name
|for the text file input within the program?
|
depends where you have the executable and where you have the files...
there is nothing wrong having a fully qualified path to the file when you open
it. on the other hand it's less flexible.
different operating systems have different schemes when finding files.
|Alternately, is there code which allows the command line arguments to be
|input while using a Windows-type (non-command line) compiler?
|
well again that depends on what compiler you are using. normally afaik you
can always get the commandline. depending on the framework you are using it
looks slightly different.
|Sorry for being vague, but I am rather inexperienced.
|
nothing wrong in asking
however the more detailed you ask the more detailed the answer :)