title: C - How to read a string line by line?
body: <p>In my C program, I have a string that I want to process one line at a time, ideally by saving each line into another string, doing what I want with said string, and then repeating.  I have no idea how this would be accomplished, though.  </p>
  
  <p>I was thinking of using sscanf.  Is there a "read pointer" present in sscanf like there would be if I was reading from a file?  What would be another alternative for doing this?</p>