-
October 1st, 2012, 07:45 PM
#1
Working with File Extensions.
Hello,
I want to create a program which scans the extensions of files located within its same directory and
arranges them in a newly created folder. I have done something similar with V.B, but I am not too sure
where to start in C++. I have worked with the language and created basic console programs, so I am not
completely C++ illiterate :-) .
Can anyone point me in the right direction?
Thank you.
-
October 2nd, 2012, 02:10 AM
#2
Re: Working with File Extensions.
-
October 2nd, 2012, 04:32 AM
#3
Re: Working with File Extensions.
-
October 4th, 2012, 08:49 PM
#4
Re: Working with File Extensions.
Thank you for your feedback.
-
October 9th, 2012, 09:39 AM
#5
Re: Working with File Extensions.
Correct me if I am wrong. The following line
_tprintf(TEXT("Usage: %s [target_file]\n"), argv[0]);
stores the target file name into the argv array?
-
October 9th, 2012, 10:04 AM
#6
Re: Working with File Extensions.
stores the target file name into the argv array?
No, it is getting it out of there. printf prints, scanf scans.
-
October 23rd, 2012, 04:06 PM
#7
Re: Working with File Extensions.
Well, thank you guys for your help. I have a better understanding on how to use findfirstfile and findfirstfilex , and got a
crash course on support for unicode.
Unfortunately, I think I am over my head, I can follow along the example provided, but I have no idea on where to even
begin coding.
So, time to hit the books a bit more and give this a try on another occasion.
Thanks again for your help.
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
|