xxxxxxxxxx
#include <iostream>
#include <string>
using namespace std;
int main() {
string digitString = "12345"; // Replace with your digit string
int intValue = stoi(digitString);
cout << "The integer value is: " << intValue << endl;
return 0;
}