|
-
March 22nd, 2008, 09:39 PM
#1
Outputting to a file question
I have the piece of code:
outfile.open (filename.c_str());
where filename is the filename.txt provided by the user.
However, how would I add .csv to end of that so I can change the file extension and create a new file?
so basically the outfile name would look like this
filename.txt.csv
-jeff
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|