title: How to count amount of elements in a row of a matrix in C
body: <p>Using an integer array, Id like to first ask the user for the amount of rows and columns (lets call them x and y) he wants in the array (i know how to do this step). It is important though that while the user enters the values that will be stored in the matrix, that one row will be read in from one line of input, and the second row from the second line of input and so on. So one line of input=1 row.</p>
  
  <p>So if he has defined x amount of columns, he should enter x numbers for the first row, all on one line. How can i check whether or not x numbers have indeed been entered on the line? If less or more are entered i will print an error message. Is there some kind of command that checks the size of 1 row, so that it can check it against the x that the user has defined?</p>
  
  <p>The code I have written thus far involves the simple steps, but I have little ideas about how to implement this check, to confirm that the user is entering the same amount of inputs as he has defined originally. </p>
  
  <p>Many thanks!</p>