How would i go about implementing StrafeJumping? in c++

I already figured out how to create my own character movement component but i’m still confused how i would implement something like this:
http://www.funender.com/quake/articles/strafing_theory.html