what is the c++ equivalent of map(int,input().split()) of python? : <p>I find it hard to do all the string manipulation and then parsing into an array of integers in c++ while we could get away with only a single line in python.</p>

<p>whats the easiest way to split the string of integers into an array of integers in c++ ? </p>
