Archived

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

Prettyboyfs

Simple question using FindFirstFile

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