Scanning a directory for files
I am wondering how I can scan a certain directory for all the .bmp files (windows). This is for a level editor. Basically what I want is some sort of function that possibly returns a linked list or array of char*''s or something, but I am willing to adapt to just about anything.
Look up FindFirstFile and FindNextFile.
http://druidgames.cjb.net/ (If my website isn''t down, it''s a miracle!)
http://druidgames.cjb.net/ (If my website isn''t down, it''s a miracle!)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement