Advertisement
Mikhail-Podbolotov

Untitled

May 1st, 2024
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.53 KB | None | 0 0
  1. #include <iostream>
  2. #include <fstream>
  3. #include "library.h"
  4. using namespace std;
  5. int main()
  6. {
  7.     fstream FD("FD.txt", ios::in );
  8.     ifstream input("input.txt");
  9.     string text = ReadText(input);
  10.     ListF A;
  11.     A.ReadF(FD);
  12.     A.ReadTextF(text);
  13.     FD.close();
  14.     fstream FDD("FD.txt", ios::out);
  15.     A.PrintListF(FDD);
  16.     /*
  17.     ListB B;
  18.     fstream BD("BD.txt", ios::in);
  19.     B.ReadB(BD);
  20.     B.ReadTextB(text,A);
  21.     BD.close();
  22.     fstream BDD("BD.txt", ios::out);
  23.     B.PrintListB(BDD);
  24.     */
  25.     return 0;
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement