a feladat alapján csak a memória mérete vagy a futásidő szabhat határt...
char a[40];
cin>>a;
int b[40];
stringstream(a[0])>>b[0];
Ez így eddig csak az a[0] memóriacímét adja vissza b[0]-ban, valami hasonló kellene...
"I love not man the less, but Nature more" // Giant TCR Adv. '16 Di2 // Fenix 7 SS // FiiO BTR3 + Truthear ZERO