How to create and attach a first person camera to a Character ? [C++]

Hello world, I would like to know how I could create a camera which I could attach to a character. I would like to make a first person camera into a character class. I found tutorials but they are out of date. So , does anyone knows a good tutorial on the subject or could help me ?

Create the C++ version of the First Person Template. Everything you need is in there