Very Quick CPP Recap - Page 1
A look at primitive data types, operators, type safety, conditional statements, loops and scope
You will need to install either Visual Studio Community 19 on the PC with C++ drivers or XCode on the mac.
Out of all the modern programming languages why do we still use C++ for games?
Modern C++ Language Syntax Unreal Engine is built to be massively portable to many C++ compilers, so we are careful to use features that are compatible with the compilers we might be supporting. Sometimes features are so useful that we will wrap them up in macros and use them pervasively. However, we usually wait until all of the compilers we might be supporting are up to the latest standard.
We are using many C++14 language features that seem to be well-supported across modern compilers, such as range-based-for, move semantics and lambdas with capture initializers. In some cases, we can wrap up usage of these features in preprocessor conditionals (such as rvalue references in containers). However, we might decide to avoid certain language features entirely, until we are confident we won't be surprised by the appearance of a new platform appearing that can't digest the syntax.
Unless specified below, as a modern C++ compiler feature we are supporting, you should not use compiler-specific language features unless they are wrapped in preprocessor macros or conditionals and used sparingly. - UE4 Documentation
Get our sdk up and compile and run the simplest string
When you press run the program is compiled. What does this mean? This is the process of going from a human readable form script and creates object code that forms an executable (an .exe on a PC). So the compiler turns it from words into zeros and ones (machine code). You can a diagram here