Hi all, I have a project where we're implementing a polynomial checksum. My issue is that the input file we're given is ten lines of what are supposed to be 32-bit binary numbers, i.e.
10110001110001110101010100011001
10010101010101010001010111011110
10110011110001110101010100001101
11100101111101010001000101011010
11010101110001110101010100010101
10011011010101010101010101111001
10110001101101110101010100010000
10010100110001010101010111011110
10110001110101010101010101011011
10110001010000010101010100111101
What I'm stuck on is how to read these numbers from the file and treat them as binary. Any help would be appreciated.