hi all
have anyone any idea how can i make my program read 3 or 4 files ,in a folder.
i mean my input isn't only one file, it's a folder.
can the C++ do that?
ghadahelal 0 Light Poster
Recommended Answers
Jump to PostC++ doesn't know what a folder is. That kind of operation is dependent on the operating system, and the solution will use a system specific function or class of functions. So, what compiler and OS are you using?
Jump to PostI'm reasonably sure that's not what he wants.
Jump to PostHe probably wants to be given a folder and open the files in that folder. Your solution assumes that he already knows the names of the files in the folder and the number of files is a constant.
All 14 Replies
Narue 5,707 Bad Cop Team Colleague
Sturm 270 Veteran Poster
ghadahelal 0 Light Poster
Sturm 270 Veteran Poster
Narue 5,707 Bad Cop Team Colleague
Sturm 270 Veteran Poster
Narue 5,707 Bad Cop Team Colleague
ghadahelal 0 Light Poster
Sturm 270 Veteran Poster
ghadahelal 0 Light Poster
Sturm 270 Veteran Poster
ghadahelal 0 Light Poster
Salem 5,265 Posting Sage
ghadahelal 0 Light Poster
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.