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.
Re: Working with File Extensions.
Re: Working with File Extensions.
Re: Working with File Extensions.
Thank you for your feedback.
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?
Re: Working with File Extensions.
Quote:
stores the target file name into the argv array?
No, it is getting it out of there. printf prints, scanf scans.
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.