while (num/=10)???? it should be a test statement that returns a true or false inside the while statement so it knos when to break out of the loop so /= wont work.... > { > storage += STORAGE_SIZE+1; > do { > *(--storage) = num % 10 + '0'; > } while (num/=10); > return(storage); > }