Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <fstream>
- #include "library.h"
- using namespace std;
- int main()
- {
- fstream FD("FD.txt", ios::in );
- ifstream input("input.txt");
- string text = ReadText(input);
- ListF A;
- A.ReadF(FD);
- A.ReadTextF(text);
- FD.close();
- fstream FDD("FD.txt", ios::out);
- A.PrintListF(FDD);
- /*
- ListB B;
- fstream BD("BD.txt", ios::in);
- B.ReadB(BD);
- B.ReadTextB(text,A);
- BD.close();
- fstream BDD("BD.txt", ios::out);
- B.PrintListB(BDD);
- */
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement