Hello I'm making an application that reads a series of values from a text file and then converts it to a bitmap image.
Currently, I'm using arrays, but, deciding on a particular length is annoying.
I have been reading a few tutorials and i've read a lot about using vectors, which, I am happy to do so. But my question is this:
Can I use a vector like this:
vector<pixel> myImage;
Each binary digit in the text file represents a pixel in the Bitmap image?
Thanks :)