I'm new to C++ programming. I'm working with a File. It contains different Operators with value and Error for each of them.
I want to write a code that can find the operator name and sore it's Value and Error in an array. I wrote a Search function which can read a string from a file, it returns its position. That's the way i can find Operators, what i don't know here is how to find it's value and Error. Because they have the same format for all operators.
So what I think might help is that after finding every operator i should get the first Value and store it for that operator. But i don't know how to do that.