How does input work with C++ in IDE mode?

I’m getting my arg count as 1 in my main, no matter what I put in the input box.

My bad. I realised that the input is being given using cin, rather than directly as arguments throught main. e.g.:

1 Like