How to start learning c++ for Unreal Engine?

I understand your position i was in one to. I’m in for 2 years and still figuring out how things work.
Firstly familiarize yourself with the Gameplay Framework classes. When done with that

I recommend going through this link. He is not 100% correct and does not explain a lot but it is good enough to get you started as to how to start to code.

For Networking i recommend this link.