Тема: Файл С++
Доброго вечора, допоможіть дописати читання з файлу
#include <windows.h>
#include "pch.h"
#include <iostream>
#include <fstream>
#include <iomanip>
using namespace std;
int main()
{
    ifstream foutin("output.txt");
    ofstream fout("output.txt");
    fout.open("output.txt");
    double a = 1.,
        b = 10.,
        h = 2.;
    double count = (b - a) / h;
    for (int u = 0u; u <= count; ++u, a += h)
    {
        fout << setw(4u) << fixed << setprecision(1u) << a
            << setw(10u) << fixed << setprecision(4u) << a * a * log(a)
            << endl;
    }
    fout.close();
    fout.open("output.txt", ios::in);
    string ryad;
    while (!fout.eof())
    {
        
    }
    system("pause");
    return 0;
}