Jump to content
  • Advertisement


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


Simple question using FindFirstFile

This topic is 5876 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

Ok, lets say I have a function that takes in the location of the directory, it will be ever changing. func(LPCSTR* dir) Can So, can I do this. FindFirstFile(dir + ".txt", WIN32_FIND_DATA blah)? I hope I explained it good enough PrettyBoyFS

Share this post

Link to post
Share on other sites
I''m sure the c++ streams would allow it, though you''d have to call some method to actually get a string, not a string class.
I like java where you can treat "abcd" as a string class and call it''s member functions. Even 5 or 12 has them too - quite surreal but very handy.

Read about my game, project #1
NEW (13th August): A new screenshot is up, plus diaries for week #3

John 3:16

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!