CPP: Difference between revisions
| m (revert) | GamerDude27 (talk | contribs)   (Replaced user-made "Source SDK" template) | ||
| (14 intermediate revisions by 8 users not shown) | |||
| Line 1: | Line 1: | ||
| {{ | = What is CPP =  | ||
| {{Cpp|4}} is the primary programming language used throughout the {{source|4|nt=4}} and its toolchain. It is a compiled, statically-typed language that offers high performance and fine-grained control over memory and system resources making it ideal for game engine development. | |||
| {{Cpp|3}} supports multiple programming paradigms, including procedural, object-oriented, and generic programming. It introduces features such as classes, inheritance, virtual functions, and templates, all of which {{valve|4}} used extensively in {{source|3}} to build complex, modular systems. | |||
| Most engine code, game logic, tools, and extensions in {{source|3}} are written in {{Cpp|3}}. Familiarity with the language is essential for working with the {{Source SDK|4}}, modifying game <code>.dll</code>s, or creating new engine features. | |||
| = Where to Learn CPP = | |||
| The {{Source SDK|4}} is not the best when it comes to learning {{Cpp|4}}. So here are alternatives to help get you started: | |||
| * https://www.learncpp.com/ | |||
| * https://en.cppreference.com/ | |||
Latest revision as of 13:23, 17 October 2025
What is CPP
 C++ is the primary programming language used throughout the
 C++ is the primary programming language used throughout the  Source engine and its toolchain. It is a compiled, statically-typed language that offers high performance and fine-grained control over memory and system resources making it ideal for game engine development.
 Source engine and its toolchain. It is a compiled, statically-typed language that offers high performance and fine-grained control over memory and system resources making it ideal for game engine development.
C++ supports multiple programming paradigms, including procedural, object-oriented, and generic programming. It introduces features such as classes, inheritance, virtual functions, and templates, all of which  Valve used extensively in Source to build complex, modular systems.
 Valve used extensively in Source to build complex, modular systems.
Most engine code, game logic, tools, and extensions in Source are written in C++. Familiarity with the language is essential for working with the  Source SDK, modifying game
 Source SDK, modifying game .dlls, or creating new engine features.
Where to Learn CPP
The  Source SDK is not the best when it comes to learning
 Source SDK is not the best when it comes to learning  C++. So here are alternatives to help get you started:
 C++. So here are alternatives to help get you started: