Character Dash C++

Does anybody knows how to make a 3rd person character dash directionally in C++?
I have seen a lot of tutorials on how to do it in blueprints but I can´t replicate it in C++.