These are some very helpful resources I've compiled for getting started with UE5 development (especially if you don't have strong C++ experience).
If things aren't working or aren't building properly, close your code editor and Unreal editor delete Binaries and Intermediate in the project directory, and relaunch Unreal. (This has solved issues where Hot load modules prevented Live Coding to not work, and when an OnComponentHit callback wasn't being called.
UE5 Quick Start:
https://docs.unrealengine.com/5.1/en-US/programming-with-cplusplus-in-unreal-engine/
UE5 General Development Info:
https://landelare.github.io/2023/01/07/cpp-speedrun.html
Titled: Unreal Engine C++ Complete Guide:
https://www.tomlooman.com/unreal-engine-cpp-guide/
UE5 API:
https://docs.unrealengine.com/5.1/en-US/API/
This may feel slightly under documented, as it fails to provide excess explanations, but it does include quite a bit that helps including which modules you need to include, which headers, and the general signature to methods.
UE Slackers Common Problems:
https://tackytortoise.github.io/2022/06/24/common-slacker-issues.html
This is great for understanding why you are getting the errors you get.
Unreal Engine 5 C++ Developer: Learn C++ & Make Video Games (Paid)
https://www.udemy.com/share/101XRs3@llGSC49Ky7ZvQwnidnkhWJW9NRkaKYBIB2IGLmMvqJjf20O10FSa1vZaPLD-dCK0/
I don't know if I benefit or not from the link, but either way this course is a great primer into UE game engine development and C++ (even if you are not very familiar with either). This is a paid resource, but wait for it and it will go on sale for like $20 -- although it is probably fair at $110 for how much you get our of it. (I paid about $20 and it was worth every penny).