get a integer from char* ...?

econjack:

...2+5+6 as integers...

That works, but you'd need to change it a bit: 2 * 100 + 5 * 10 + 6 * 1 = 256.

Haha, great, offcourse! Logic can sometimes be... very logical! XD