Skip to content
KnowledgeCity

Unreal Engine 5: C++ Programming

Learn how to code C++ in Visual Studio for Unreal Engine
Preview the first lesson free — get full access to all 3 lessons.
Course: On-Demand
Advanced Provider Ken Geary  3 Lessons ·  20m  in Arabic, German, English, Spanish, French, Portuguese, Chinese 

Course Description

In these lessons, you’ll download, install, and set options to use Visual Studio to code in C++. While Unreal Engine 5 is well known for its Blueprints visual coding system, Unreal Engine functions can also be coded in C++ using the Visual Studio editor when configured for Unreal Engine.

We’ll go over how to install Visual Studio with all the needed components in order to code Unreal Engine in C++, as well as components for mobile game and mixed reality applications. We’ll also walk through how to use Visual Studio to code and run a basic “hello world” script. Once the basics of working with C++ coding are covered, we’ll show you how to create a new C++ class and merge it into an Actor Blueprint built from several shapes. The C++ code will provide the functionality to make the actor launch upwards like a rocket.

What You'll Learn

  • Install and configure Visual Studio for use with Unreal Engine 5, including components for mobile game and mixed reality applications
  • Set Visual Studio options to code Unreal Engine functions in C++
  • Code and run a basic "hello world" script in C++ using Visual Studio
  • Create a new C++ class in Unreal Engine 5
  • Add C++ code to an Actor Blueprint to extend its functionality
  • Merge a C++ class into an Actor Blueprint built from several shapes to make the actor launch upwards like a rocket

Key Takeaways

  • Although Unreal Engine 5 is well known for its Blueprints visual coding system, Unreal Engine functions can also be coded in C++ using the Visual Studio editor when configured for Unreal Engine.
  • Coding Unreal Engine in C++ requires installing Visual Studio with all the needed components, which can also include components for mobile game and mixed reality applications.
  • C++ code can be added to an Actor Blueprint to provide functionality, such as making an actor built from several shapes launch upwards like a rocket.
  • The course progresses from setting up Visual Studio and writing a basic "hello world" script to creating a C++ class and merging it into an Actor Blueprint.

Frequently Asked Questions

What does this course cover?

It covers downloading, installing, and setting options to use Visual Studio for coding in C++ with Unreal Engine 5, writing and running a basic "hello world" script, creating a new C++ class, and merging it into an Actor Blueprint so the actor launches upwards like a rocket.

Do I need to use C++ instead of Blueprints in Unreal Engine 5?

Unreal Engine 5 is well known for its Blueprints visual coding system, but Unreal Engine functions can also be coded in C++ using the Visual Studio editor when it is configured for Unreal Engine.

What software and tools will I learn to use?

You will work with C++, Microsoft Visual Studio, the Unreal Development Kit, Unreal Engine, Visual C++, and Visual Studio Online.

What lessons are included?

The course includes three lessons: Setting Up Visual Studio, C++ Introduction, and Launch a Rocket Using C++.

What practical project will I build?

You will create a new C++ class and merge it into an Actor Blueprint built from several shapes, with the C++ code providing the functionality to make the actor launch upwards like a rocket.