File I/O Questions
Anyone know a good way to setup file navigation? I want users to be able to change directories and view all files of a specific extension.
I was hoping that io.h might have functions to find certain file types and directories within a directory, but I havent been able to find any explination of the functions in io.h
Any help would be great.
-Shadwdrak
If programming for Windows, I would recommend using the Win32 API for FindFirstFileEx/FindNext/FindClose. If you''re writing a standard windows application you should be able to use the standard file open/save dialog boxes without a problem.
Thanks for the suggestion.
I can''t use the save/open dialog boxes in my case. I am trying to allow the end user to select which map they want to play. (there isnt a set number of maps)
-Shadwdrak
I can''t use the save/open dialog boxes in my case. I am trying to allow the end user to select which map they want to play. (there isnt a set number of maps)
-Shadwdrak
I''m not sure I understand, why can''t you use standard window''s dialogs for opening/saving files? I''m certain both the common control dialog''s for opening/saving allow for searching around the hard drive and do not particularly care about the number of files in any directory
-Fnj.
-Fnj.
--- Incompetence is a double edged banana---
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement