Комменты в коде По пунктам:C++Выделить код1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 #include <iostream> #include <stdio.h> #include <string> #include <fstream> #include <Windows.h> int main() { std::fstream myfile; std::string parse_string,word; std::string::size_type beg_idx = 0, end_idx = 0; const std::string delim_string (" "); int howManyStrings = 0; bool onlyTwo = true; myfile.open("file.txt",std::ifstream::in); while(!myfile.eof()) { beg_idx = 0, end_idx = 0; getline(myfile,parse_string); //Ваш 2й пункт. howManyStrings++; //Ваш 1й пункт. 11 11 22 55 33 66 88 44 99 111 222 5555 8888 77 99