View Single Post
  #3 (permalink)  
Old March 12th, 2004, 03:56 PM
nikolai nikolai is offline
Friend of Wrox
 
Join Date: Jun 2003
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sounds to me like you have a string representation of a binary number, e.g. "10010101", and you need to convert this to either an decimal integer (or a string representation of one).

Either way, it sounds like a homework assignment to me, so you should double check with your teacher and/or school to verify that it's okay for you to get help from these forums. Most schools/teachers restrict the places a student is allowed to get help for solving programming problems.


Take care,

Nik
http://www.bigaction.org/
Reply With Quote