do it as follow :
you can over it :
int b[i]
char a[i]
b[i] =a[i]-'0';
now you have change the type of your data ;
from char to int
沙圣霖 <[EMAIL PROTECTED]> 写道:
I want to know that if the functoin "atoi" can be used like this :
atoi(a),
(a is a name of an array,and it is "char")
can it put out int a[]?
---------------------------------
@yahoo.cn 新域名、无限量,快来抢注!
[Non-text portions of this message have been removed]
---------------------------------
雅虎邮箱,终生伙伴!
[Non-text portions of this message have been removed]