I am having a series of c++ functions to be executed in C++ in one text file
LHAPDF::alphasPDF(pow(1* 0.25471686e+03,0))
LHAPDF::alphasPDF(1*0.18014950e+03)
LHAPDF::xfx(0.86084175E-01,0.17014950e+03,0)
LHAPDF::xfx(0.39435938E-01,0.25471686e+03,0)
LHAPDF::xfx(0.29,1*0.15,0)
How can I parse them in C++ and execute the line ? my C++ knows what LHAPDF::xfx is, I just want to repeatedly execute the lines parsed from the text file.