   Question about IOStream and reading text files
  How do I start reading text file from a cretin string and then stop at another string?   
  There is no simple way. You can:Read the entire stream to a std::string buffer, and use a regexp library (or the find functions on the string if you are looking for one particular sequence only), then remove the useless prefix and suffix from the string.You can also use ignore and getline to read up to the first character of the string you are looking for while ignoring or reading data, and check if the subsequent characters are also correct.You can use a lexer generator if your string is known at compile-time: in a dozen lines you will have a function that does exacly what you want.;  can you show me some examples on getline and how to find a starting string and ending string and bebale to pull all the strings in the middle? I am getting close but I am missing something.;AnimName BallExplode //start 1File 1.bmp Left 1Right 1Top 1Bottom 1 Red 1Green 1Blue 1Delay 1Width 1FrameW 1;    //end1AnimName BallSpin   //start 2File null.bmp Left 0Right 92#Top 0Bottom 0 Red 0Green 0Blue 0Delay 0Width 0FrameW 0;  //end 2the above is the text file that I need to parse and pull out all the info   