#include <iostream>
#include <sstream>
using namespace std;
int main()
{
int a, b;
string s = "34:22";
istringstream ins;
ins.str(s);
ins >> a >> b;
cout <<a <<b;
}
This is my code and I want to ignore the ":" in string s. The outpout should be 3422. How can I do that?