Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #44.2K
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 '1' and I want to convert to integer 1 I think I must use atoi but I don't know how to use this function.. int i1 = atoi(item[i]); // item[i] is char then it show ERROR in member fuction how to use atoi???? how can I declare it??:sad: |