add a mathematical calculation in a dat file w ifstream

Would it be possible to pull data from the data file and include a mathematical calculation on one/all the lines?


1
2
3
 Data file Line
1  Joe   99  25     Now multiple 25 *4         //Simple math example    
2  Bill  75  25    Now multiple 25 *4         //Simple math example     
Yes.
Topic archived. No new replies allowed.