how to read a large binary file contain integers and parse it, write to multiple files

closed account (SwRXjE8b)
how to read a large binary file contain integers and parse it, write to multiple files
Last edited on
If I were you, I wouldn't be using the & operator on strings (5th line of your code). It's a bitwise operator and will perform a bitwise and on the address, not a concatenation. Use a std::string instead of a char* and use the + operator to concatenate the names.

What is the actual question you are asking us? You posted an assignment and some code, no actual question we can reply to.
Topic archived. No new replies allowed.