#include
#include
using namespace std;
int main()
{
//Some string here
string number = "123456789";
//Array to hold the separate integers
int intArray[ number.length() ];
//Convert from char to int
for ( int i=0; i < i="0;">
[note] convert char to int in a string
11:01 AM at 11:01 AMThis entry was posted on 11:01 AM and is filed under Notes . You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment