I need to archive 50 text files into a single target file in C++.
To achieve this first I need to read all those file contents from a directory and finally write them sequnetially into a new file.
Please help me with a sample code or steps.

Your help will be greatly appriciated.

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.