123456789101112131415161718
#include <iostream> #include <fstream> #include <istream> #include <string> using namespace std; int main(int argc, char* argv[]) { int teamA_Num; std::string teamA_name; ifstream teamA (argv[1]); std::getline(teamA,teamA_name); std::getline(teamA,teamA_Num); return 0; }