Hi guys I Need a help. I have a string like this string bornDate = "01/01/2010"; I want to access to the 2010 and change It into integer value and store It in a variable. How can I Do It?
3/14/2021 8:43:04 PM
Hammad Yaqub3 Answers
New AnswerI'm a newbie with C++ so there can be a better solution. However, here's the code: https://code.sololearn.com/c64Mjexjhc3h/?ref=app
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message