1
0
forked from filipg/djfz-2019
djfz-2019-s4348021/TaskX02/run.cpp
2019-10-19 17:16:22 +02:00

13 lines
242 B
C++

#include <string>
#include <iostream>
int main(int argc, char* arv[])
{
unsigned int line_counter = 0;
std::string line;
while (std::getline(std::cin, line))
++line_counter;
std::cout << line_counter << std::endl;
}