#include
#include
using namespace std;
int main (int argc, char* argv[])
{
string str = argv[1];
cout << atoi(str.c_str()) << endl;
return 0;
}
#include
#include
using namespace std;
int main(void)
{
string str = "123";
int value = 0;
value = atoi( str.c_str() );
cout<
}
char *s1="123";
int i=atoi(s1)
string s2="123";
int j=atoi(s2.c_str);
CString s3="123";
int k=atoi(s3.GetBuffer(0));
char str[] = "123";
int b;
b = atoi(atr);