c++, считать с txt документа 2 строки?
В моем коде считывается только 1 строка, а как считать 2ю строку?
#include < fstream >
#include <iostream>
using namespace std;
int main()
{
char words [50];
char words2[50];
ifstream wordFile("cppstudio.html");
wordFile.getline(words, 51);
cout << words;
}