Help Reading Binary into Arrays in C++
My goal is to read 8, 16, and 32 bit binary numbers into an array. How can I have the user enter the binary number (i.e. 10010110) and have each digit placed into 8 seperate spaces of an array?
Also, I would like to know if I could do the same thing with a vector, if that is easier/more possible.
Last edited by smdawson; June 7th, 2010 at 02:52 PM.
Let books be your dining table, and you shall be full of delights,
Let them be your mattress, and you shall sleep restful nights.
Bookmarks