Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all.
Input information from lines (external file) (unkown number of lines)
I want to input information (integers) (one per line). But i dunno the number of lines. Lines could be 1, 2, 10000 etc. and i need all integers. How do i do that (also i want to know in which line is each integer) Can u help me plz?