file parsing

I have the following file in the format.
Date : Wed Jul 26 14:52:51 2017

****************************************
Startpoint: reg_4A
ABSC
DUAH
JAKE
slack (VIOLATED) 0.12
******************************************

How do I parse the file in main function and assign startpoint and slack value to the data members of the class through an object?



Topic archived. No new replies allowed.