Lerp float by Curve

Hello, I’m trying to convert my bp code into c++. How can i convert this code into c+. please help me.

Screenshot_4