I am trying to search for files in Directories.
like, i have 10 directories..... and consider directory 1, which has 2 files..
this is same with all the files...
i want to get a string from each of these files from 10 directories... to be written to a seperate file, in C++.
I have been trying to do this.... any help will be greatly appreciated.
Thank you
usausa 0 Newbie Poster
Recommended Answers
Jump to PostIn another forum I posted a link to an FAQ: "Accessing a directory and all the files within it". Did you follow the link?
Jump to Postyes sir, i did that,...... but that doesnt work with VC++ :sad:
i tried those... plz help
Hmm. The last one I copied and pasted and compiled with no mods using VC6...
--------------------Configuration: testpp - Win32 Debug--------------------
Compiling...
testpp.cpp
Linking...testpp.exe - 0 error(s), 0 warning(s)
Seems just fine to …
Jump to Post>The last one I [...]
Jump to PostI was referring to this one: And now a Win32 example.
All 15 Replies
Dogtree 23 Posting Whiz in Training
usausa 0 Newbie Poster
Dogtree 23 Posting Whiz in Training
usausa 0 Newbie Poster
Dogtree 23 Posting Whiz in Training
usausa 0 Newbie Poster
Dave Sinkula 2,398 long time no c Team Colleague
usausa 0 Newbie Poster
Dogtree 23 Posting Whiz in Training
Dave Sinkula 2,398 long time no c Team Colleague
usausa 0 Newbie Poster
Dave Sinkula 2,398 long time no c Team Colleague
usausa 0 Newbie Poster
Dave Sinkula 2,398 long time no c Team Colleague
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.