hi, ive asked this before and i know how to convert it now, thanks to the people that helped, but is there a way i can to it without using 'string', 't.length ; erase; empty' ? beacause i don't get how those work and bacically we haven't learned it for this question at school yet
Q: given an array that's formed from binary numbers, create a new array by converting the binary numbers of the first to octal
**also, i need to input the array from the console too
She should be encouraging you to get to understand what's already available within c++!
However, see my above post.
PS We don't know what's been covered in class - or how the teacher is expecting things to be done. Without existing code on which to guide, we can only provide sample code as we see the requirement.