int main ()
{
string integer1;
string integer2;
cout <<" enter your first number: " << endl;
cin >> integer1;
cout << endl;
cout << integer1 << " is your first number" << endl;
}
Now how do I turn the string integer into an array ?
int main ()
{
int integer1;
int integer2;
cout <<" enter your first number: " << endl;
cin >> integer1;
cout << endl;
cout << integer1 << " is your first number" << endl;
}
Because the largest int value is 2147483647. I need to enter two numbers that are bigger and then sum them up. It's pretty hard, but first step i need to know how to turn a string into an array. Got any ideas ?