title: C - stdin to variables
body: <p>I want to create program which can read lines from standard input and interpret each line as two integer numbers separated by space. Later I will use shared library to work with those numbers . Before I start I would like to know, what is the best way to parse numbers from lines. Something like combination of "getline" and storing numbers to variables? I store numbers only until next numbers are given.</p>