I have char that replace by number
char a[10];
cin >> a;
I set a at 4597 and then I want to convert it to four integer
char 4597
>>>
integer 4
integer 5
integer 9
integer 7
how can I do it ??? :'(
I have char that replace by number
char a[10];
cin >> a;
I set a at 4597 and then I want to convert it to four integer
char 4597
>>>
integer 4
integer 5
integer 9
integer 7
how can I do it ??? :'(
Don't use atoi. use stringstream
how to use it?? - -"
how to use it?? - -"
google...
[*edit*]
This
http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1046996179&id=1043284385
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.