#include<iostream> #include<iomanip> #include<fstream> using namespace std; void CreateFile(char * s); void ReadFile(char * s); int main() { CreateFile("yl.txt"); ReadFile("yl.txt"); system("pause"); return 0; }