How to learn c++ in Unreal Engine

Can someone give me some advices how to learn c++ in Unreal Engine. I watched tutorials on YT but they don’t even explain. So I have knowledge in c++ language and some knowledge in blueprints

Start by learning how to to do the same thing you’ve been doing in BP using C++, that’s how I started.
Also learn how to expose C++ to blueprint. for example how to use UFUNCTION macro and UPROPERTY to give BP access to native functions and properties.

Learn how to use UE_LOG macro to log stuff in the console for debugging purposes.
Learn about using UE types like
TArray, FString, FName, FVector, FRotator, FTransform etc

The rest you will learn as you go, when there’s something you need to do and don’t know how, that’s where you look it up and learn about it. You can’t learn everything at once, you learn as you go. You also forget stuff and have to refresh your memory.

I found the the Gamedev.tv course for UE5 C++ very useful. I worked through the previous version and they have now made a new one but the curriculum looks the same, just updated for UE5.6. It’s only 15 USD but very useful if you already know C++ but are new to UE5. It’s also always been 15 USD, don’t let the 92% discount rush you.

Hello @Kyami89 Welcome to forums!

In my opinion Learning C++ within the context of Unreal Engine requires a different approach than studying the language alone. It’s not just about knowing how to code, but about understanding how the engine works and how it’s structured. If you’re just starting out, I recommend beginning with Blueprints, since it’s a more visual and intuitive way to learn the engine’s logic. Once you understand how Unreal’s systems interact, switching to C++ will feel much smoother.

To improve your programming skills, the best thing you can do is start creating your own projects, even small ones. Working on things by yourself ,even if you break the code a hundred times, is where the real learning happens. Try replicating mechanics you like or experimenting with small systems. Every error you encounter is an opportunity to learn and to understand the engine more deeply.

You can also learn a lot by exploring existing projects. Open Epic’s base templates like First Person, Third Person, or Shooter, and analyze how the basic mechanics are implemented.
Pay attention to how different classes are used and what patterns repeat. Don’t just look at what the code does, but why it does it that way ,understanding the reasoning behind the structure is key to becoming a better programmer.

Another thing that will be very useful is using Unreal’s official documentation, since it can guide you through understanding how the engine is designed, how its systems interact, and what the best practices are when developing in C++. It’s a resource you’ll keep coming back to, even once you have more experience.

Lastly, you can ask questions here in the forums , take advantage of the community to get advice whenever you need it. Reading about other people’s experiences or asking questions when you get stuck can really help during the learning process.
In addition, the Epic Learning Portal offers courses and guided projects that can serve as a great reference while you learn.

Learning C++ in Unreal takes time. Don’t get frustrated if it feels overwhelming at first. It’s a long journey, but every step you take will help you understand a bit more of how everything works. With practice and patience, the pieces will start to fall into place.
Hope this helps, and good luck on your journey!