|
| |||||||||||||||||||||||||||||||
| ricardo schmidt (10) | |
|
Hello all! I need to create a procedure that is a loop for searching files with a specific extension. For example, when starting the program, in the main function, it enters in a loop for searching files with a specific extension. When finding one, it calls a procedure that read this file and after collecting its content, the file is deleted. My problem is, I do not know how to access the directory (actually is the same where my program is) and search for files with an extension ".inf", for example. I appreciate any help :) Thanks in advance, Ricardo. | |
|
|
|
| Duoas (5974) | |
|
This kind of question is asked often enough. And answered. http://www.cplusplus.com/forum/unices/4239/ http://www.cplusplus.com/forum/unices/3548/ Good luck! | |
|
|
|
| ricardo schmidt (10) | |
| Thank you... it will surely help me :) | |
|
|
|