vui thoi
#include <iostream>
#include <fstream>
#include <string>
#include <windows.h>
using namespace std;
int main()
{
char ten;
system("Color 0A");
cout << "Nhap ho va ten:";
cin>>ten;
cin.ignore();
cout << "\nDang load 0%....";
Sleep(2000);
cout << "\nDang load 25%...";
Sleep(1500);
cout << "\nDang load 50%...";
Sleep(1000);
cout << "\nDang load 75%...";
Sleep(1000);
cout << "\nDa load xong!!!\n";
Sleep(500);
fstream newfile;
newfile.open("input.txt", ios::in);
if (newfile.is_open())
{
string tp;
while (getline(newfile, tp))
{
cout << tp << endl;
// Sleep(200);
}
newfile.close();
}
system("pause");
return 0;
}