1234567891011121314151617181920212223242526272829303132
#include <iostream> #include <fstream> using namespace std; int main() { ifstream inputFile; char c[12]; float col2, col3; inputFile.open("input_file.txt"); while(!inputFile.eof()) { inputFile>>col>>col2>>col3; } char column=c[12]; for(int i=0;i!=inputFile.eof();i++) { column=c[i]; cout<<"file_"<<column<<endl; } system("pause"); return 0; }