Here's my question. Not really a problem, because I know an alternative, but I don't really like it. This program is going to need to get a filename (directory also for fopen) from the user. The thing is, the program (obviously) has to be run from it's directory, do how would I get the filename from the user without making them type:
C:\dir1\dir2\dir3\file.txt
That is too sloppy. Is there a way I can run the program while in the chosen directory without being in the directory of the executable file? Thanks.
--Garfield