I have a text file, either created manually, or as an output from a vb program (not yet completed, so output format can be modified slightly), that I need to input into my c++ program. I need to be able to read a series of integers, characters and floats from the file, in order and assign these values to the correct type of variable.
Currently, I can only open the file and read in the character values bit by bit or in blocks. Does anyone know how I can get this to work?