Char* to Int (without ASCI)

Hi,

i have two char* variables and i need to convert it to int, but without asci conversion.

Char* = "123456" (only numbers).

Int = "123456" (must have the same values as char*).

Any ideas?

Thanks, S.

atoi()

need to convert it to int, but without asci conversion.

So, what sort of standard (that's what ASCII (American Standard Code For Information Interchange) is) are you thinking of? Maybe just random numbers?

OK, i just use to large data for atoi, i use int long, and atol, all works fine.

Thanks.