Thread: Binary Addition
View Single Post
  #6 (permalink)  
Old 04-23-2008, 06:11 AM
Deo Favente Deo Favente is offline
Member
 
Join Date: Feb 2008
Posts: 7
Deo Favente is on a distinguished road
well the two arrays most likey arn't going to be the same size, and if you try to run a for loop going thru each loop at the same time ur gonna get a out of bounds error so i need to continue to prepend the arrays so that they both align up, like how we do addition. When we do addition and the numbers arn't the same length we know that there's as many zeros in fron of the shorter number as we need there to be.
Reply With Quote