Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

loading certain types of files..?

This topic is 6152 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I need to have a function in my program that creates an char array of all a certain type of file in a directory (e.g. "*.bmp"), how would I do this? so my array would read something like: "blah.bmp" "blah2.bmp" "anything.bmp" Please help, I would really like to know

Share this post


Link to post
Share on other sites
Advertisement
As found in MSDN

HANDLE FindFirstFile(
LPCTSTR lpFileName, // file name
LPWIN32_FIND_DATA lpFindFileData // data buffer
);

G''luck,
-Alamar

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!