I'm writing a simple program that would assign each letter and several symbols to a randomly generated 8bit binary pattern. I want to take a rand() #, convert it to a 1 byte binary number, and store that number as a string in one row of a two dimensional array/vector.
I need to create alot of these numbers and fast, what is the most efficient way to do this?
Any help greatly appreciated, thanks.