How to convert the character array char a [3]={ 1, 2,3} into an integer array in c++ and input it into int b[3]?
Just distribute it directly.
int? Master ()
{
int? b[3];
Charles? Answer [3]? =? { 1,2,3};
int? Me;
For (me? =? 0; ? I<? 3; ? Me? ++)
b[i]? =? a[I];
}