Hi there,
if there is a code like this :
++ndigit[c-'0'] is that the same with :Code:int c, ndigit[10]; if (c >= '0' && c <= '9') ++ndigit[c-'0'];
ndigit[10] = ndigit[10] + ndigit[c-'0']?
sorry if this is a stupid question, I'm just a newbie
if full program is needed (a short program this is) to answer my question, I will put it online. Just tell me so.
thanks!