Active Member
✔️ HL Verified
💻 Oldtimer
Part I: The Basics
Chapter I: Getting Set Up
First things first. Before you'll be able to make use of this series of tutorials, you'll need to get a compiler. A compiler is basically a tool that allows you to translate a programming language (in this case, C++) to machine language, which is the language that your computer understands. Think of machine code (or binary, if you prefer that) as a series of switches, represented by 1s and 0s. A program (for example, Half-Life) is composed of a certain sequence of switches, which define how the program will do it's work.
There are a number of free compilers available. A good starting compiler that comes complete with an IDE (Integrated Development Environment) is Dev-C++. It's recommended, however, to buy a copy of Microsoft Visual Studio 2005 (or 2003, if you're learning C++ to code a Half-Life mod), as Dev-C++ is a slightly buggy development environment. You can download Dev-C++ from here.
I will not go into detail on just how everything in Dev-C++ works, as you only need the default settings for what we're going to be doing. After downloading and installing Dev-C++, and are able to start it up without problems, you should be ready to advance to the next lesson.
Chapter I: Getting Set Up
First things first. Before you'll be able to make use of this series of tutorials, you'll need to get a compiler. A compiler is basically a tool that allows you to translate a programming language (in this case, C++) to machine language, which is the language that your computer understands. Think of machine code (or binary, if you prefer that) as a series of switches, represented by 1s and 0s. A program (for example, Half-Life) is composed of a certain sequence of switches, which define how the program will do it's work.
There are a number of free compilers available. A good starting compiler that comes complete with an IDE (Integrated Development Environment) is Dev-C++. It's recommended, however, to buy a copy of Microsoft Visual Studio 2005 (or 2003, if you're learning C++ to code a Half-Life mod), as Dev-C++ is a slightly buggy development environment. You can download Dev-C++ from here.
I will not go into detail on just how everything in Dev-C++ works, as you only need the default settings for what we're going to be doing. After downloading and installing Dev-C++, and are able to start it up without problems, you should be ready to advance to the next lesson.