How do i create a second player in c++ and give inputs to it

I don’t have any ideea how to do this in c++ and i can’t find any tutorial. Please help. I am new to ue4