how to give multiple input files in C++ using cmd code example
Example: how to input multiple lines of a file in c++
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
using namespace std;
int main()
{
ifstream in("file.txt");
stringstream sstr;
while(in >> sstr.rdbuf());
cout << sstr.str() << endl;
return 0;
}