- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have one solution, one project and one source file. My source file is named console1.
I want to RUN it for different input files.
What is best way to accomplish this so that output files for each of them to be stored in separate folders?
What I do now is cut and copy input and output files from Console1 folder to another place and then bring in the next input file I want to run and then run the program.
Obviously it is not a smart way but solves my problem.
How can I arrange different input files to be shown in the Solution Explorer, and get the output files stored in different folders.
I hope I was able to explain what am I looking for.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve Lionel (Intel) wrote:OK forget the ambition for present, how can I use your first solution, GET_COMMAND_ARGUMENT? Doesn't Visual Studio has a routine to handle this simple task? Where should I put/use the GET_COMMAND_ARGUMENT. Is it inside my source code or else where?Rather than getarg, use the standard intrinsic GET_COMMAND_ARGUMENT. Another possibility is to have the program prompt the user for the filename(s) to use. If you are ambitious, you can even use the Windows API routines GetOpenFilename and GetSaveFilename, though given your unfamiliarity with Fortran and Windows programming, Rasoul, I would not recommend that at this time for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page