I want to enter a string.
string value;
cin >> value;
And i want to take the string and change parts of a string in to integers.
eg. 00: Input 22
I want to change “00”(without “:”) in to an integer. Keep “Input” a a string and make the last two character to integers.
Now i want to take the parts that i have changed and display the in a array. One col for each part of the converted string.
1 – To return a substring
2 – To Convert a String to int