Herzlich Willkommen, lieber Gast!
  Sie befinden sich hier:

  Forum » C / C++ (ANSI-Standard) » problem with getting togeather 2 .txt files,...ios::ate

Forum | Hilfe | Team | Links | Impressum | > Suche < | Mitglieder | Registrieren | Einloggen
  Quicklinks: MSDN-Online || STL || clib Reference Grundlagen || Literatur || E-Books || Zubehör || > F.A.Q. < || Downloads   

Autor Thread - Seiten: > 1 <
000
17.05.2005, 15:29 Uhr
~dumbinside
Gast


Hello!
I need to get togeather 2 .txt files and store it another file like this:


Code:
1. TXT file

1  dog
2  cat
5  mouse
7  bat

2. TXT file

3 camel
4 bird
6 chimp

SUPPLEMENT file:

7  bat
6 chimp
5  mouse
4 bird
3 camel
2  cat
1  dog




I have problems with getting togeather these two files -

those entries are oweritting all the time, so how can I move cursor (to show where to write next entry) in the txt document?

Please help



THANKS
 
Profil || Private Message || Suche Download || Zitatantwort || Editieren || Löschen || IP
001
17.05.2005, 15:42 Uhr
Reyx
IT-fetischistischer Wurstsalat mit rostigem Berghorn
(Operator)


Hi,
You could read the two files and save the parsed "entries" (eg. in an STL container-class). Then you could sort the "entries" and write them to another, single file.
 
Profil || Private Message || Suche Download || Zitatantwort || Editieren || Löschen || IP
Seiten: > 1 <     [ C / C++ (ANSI-Standard) ]  


ThWBoard 2.73 FloSoft-Edition
© by Paul Baecher & Felix Gonschorek (www.thwboard.de)

Anpassungen des Forums
© by Flo-Soft (www.flo-soft.de)

Sie sind Besucher: