0
How To fetch last Interger from string c++
string s="id1=100",y="I=20"; How can I print 100,20 in cpp
4 Respuestas
0
Мг. Кнап🌠 tqs ji
0
Мг. Кнап🌠 what if there is a space after = ?!
0
I mean chances are that you may have numbers on the left of = as well, so that would alao be a problem, so you don't need those numbers right, so the options which we have is to extract numbers after the equal sign, we can use this method and add a space in the delimetere variable
Or we can use regular expressions