how to read a line in C++ in a certain pattern and store it in a string?
<p>I want to read each line of txt file which resembles something like this </p>

<p>1190/2132 123/23123 45 </p>

<p>I want to read the whole line and then store them in three separate strings for future use to build a tree . I am using fgets right now , but getting errors regarding putting it into a string . How should i do it ?</p>
