Advertisement

09.12.2007 at 02:46PM PDT, ID: 22824790
[x]
Attachment Details

Urgent: C++ Question regarding huge text file handling

Asked by s_more in C++ Programming Language

Tags: files, text

All,

I've two huge text files.

Text File 1 contains 700000 lines of 8 digit numbers.
               1264464
               1353680
                1647543
                1999358
                1999371
                1999430

Text File 2 contains 200000 lines of description .

Problem: I need to grab one number from  text file 1 and search for it in Text File 2 until I hit end of file
               and then start over with second number from text file 1

If I find that number in Text File 2 I need to copy description from text file 2  to another file.

I created two vectors for these two files but then got stuck as I'm not sure how to proceed further.

Please help......
Start Free Trial
[+][-]09.12.2007 at 09:40PM PDT, ID: 19881699

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.

 
[+][-]09.12.2007 at 10:06PM PDT, ID: 19881770

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.

 
[+][-]09.13.2007 at 12:29AM PDT, ID: 19882137

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.

 
[+][-]09.13.2007 at 12:41AM PDT, ID: 19882178

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.

 
[+][-]09.13.2007 at 02:34AM PDT, ID: 19882481

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.

 
[+][-]09.13.2007 at 03:36AM PDT, ID: 19882646

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.

 
[+][-]09.13.2007 at 03:55AM PDT, ID: 19882704

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.

 
[+][-]09.13.2007 at 05:06AM PDT, ID: 19882924

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.

 
[+][-]09.13.2007 at 07:41PM PDT, ID: 19888645

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.

 
[+][-]09.13.2007 at 09:33PM PDT, ID: 19889033

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

Zone: C++ Programming Language
Tags: files, text
Sign Up Now!
Solution Provided By: efn
Participating Experts: 4
Solution Grade: B
 
 
[+][-]09.14.2007 at 01:38AM PDT, ID: 19889757

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.

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