title: Manually create binary file C++
body: <p>I have a linked list of "1s" and "0s." Current if I write this out to a file it will save each 1 and 0 as the 8 bit representation of a one or a  zero. As an exercise for the student, the professor would like us to convert this manually to a binary file. I know there are libraries that can handle this, but those are forbidden in this assignment. </p>
  
  <p>I'm looking for some direction on where to start. Can we just take the 1's and 0's and convert it to dec and output that to a file? Is that considered binary? Granted I would have to figure out a way to handle if the MSB is zero. Past this I wouldn't know where to start. </p>