CPP: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
A '''{{code|.cpp}}''' file is a plain text file containing {{wikipedia|cplusplus|C++}} source code.
= What is CPP =
'''C++''' 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.


[[Category:Glossary]]
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|4}} used extensively in {{source|4}} to build complex, modular systems.
[[Category:Plain text formats]]
 
Most engine code, game logic, tools, and extensions in {{source|4}} are written in C++. Familiarity with the language is essential for working with the {{User:SomeoneTookSeven/TemplateSDK}}, modifying game <code>.dll</code>s, or creating new engine features.
 
= Where to Learn CPP =
The {{User:SomeoneTookSeven/TemplateSDK}} is not the best when it comes to learning CPP. So here are alternatives to help get you started:
* https://www.learncpp.com/
* https://en.cppreference.com/

Revision as of 20:49, 27 July 2025

What is CPP

C++ is the primary programming language used throughout the Source 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 Valve used extensively in Source Source to build complex, modular systems.

Most engine code, game logic, tools, and extensions in Source Source are written in C++. Familiarity with the language is essential for working with the "SDKImg" Source SDK, modifying game .dlls, or creating new engine features.

Where to Learn CPP

The "SDKImg" Source SDK is not the best when it comes to learning CPP. So here are alternatives to help get you started: