Advertisement

07.05.2008 at 10:51PM PDT, ID: 23541310
[x]
Attachment Details

Combine Two Text Files Into One

Asked by neshepherd in C++ Programming Language, C Programming Language

Tags: C++

Hello

I am trying to put two text files into buffer, strcat the two buffers and then write the new buffer to a new file

but it's a whole bunch of strcpy, strcat'ng , fopen, fread, ftell, etc... I was wondering, do you guys know a more efficient/less sloppy method of doing such a thing?

Thank you experts, you guys are great!Start Free Trial
 
Loading Advertisement...
 
[+][-]07.05.2008 at 11:31PM PDT, ID: 21939532

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.05.2008 at 11:36PM PDT, ID: 21939541

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: C++ Programming Language, C Programming Language
Tags: C++
Sign Up Now!
Solution Provided By: ozo
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.06.2008 at 01:53AM PDT, ID: 21939714

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628