title: using getline function to parse a string in c++
body: <p>I've been working on a project that takes a user input in date format, such as "05/10/1996", and then parses it into three integers. One for month, one for day, and one for year. I was looking at the function getline() but wasn't quite sure how to use it to parse multiple objects at once. Is there a way to do this with a while loop? If so, I would appreciate some help cause i'm kind of stuck on this.</p>