Learning C++ and Object-Oriented Programming
To use C++ to program games in Unreal Engine, you need to learn the C++ programming language. Almost all game engines need to support at least one scripting programing language because scripting provides interfaces that developers can use to control the game flow, integrate complex game logic, manipulate interactions between players and game entities, as well as process game events.
In order to utilize the Unreal Engine C++ APIs, it is essential to have a solid understanding of Object-Oriented Programming (OOP) principles and possess basic skills in C++ programming, which is what we will focus on in this chapter.
In this chapter, we will cover the following topics:
- What is C++?
- Exploring the C++ program structure
- Defining C++ functions
- Working with a basic calculator program
- Learning the C++ syntax
- Working on the improved calculator program
- Creating references and pointers
- Understanding OOP
- Working...