Convert from binary to decimal, hex to decimal etc

Dear netters:

I would greatly appreciate if somebody would be so

kind in helping me. I am using Borland C++ v3.1.

I am looking for some c functions that convert from

binary to decimal (integer) and hex to decimal (integer).

For example: 010 -> 2 etc.

Any help would greatly be appreciated via email please.

Thank you,

Brian Popkin

---

Brian Popkin Intecs International, Inc.

Software Engineer {*filter*}ia Beach, {*filter*}ia, USA