I am new to C, so my question may be stupid. I am sorry.
I get two integers on one line divided by space. For example 3 4. I can store them easily using this scanf("%d %d", &N, &M); to variables N and M. My question is: is it possible to do the same thing using cin and, if so, how? Or, how can I store these integers into two different variables using cin?
 
     
    