| VMK 1 Number Systems | 
more screen shots here
|
|
| In this VMK I show you how number systems work. I describe the decimal, binary and hexadecimal number systems in detail. At the end, I show you how to use Visual C++ to view decimal (integers) and hexadecimal numbers. |
|
|
|
| VMK 2 Computer Logic |
|
VMK 1
|
|
| I describe how to write a program that can make decisions. I demonstrate the use of the if-else structure and then the AND, OR, NOT, bitwise OR and bitwise AND are described and used. |
|
|
|
| VMK 3 Switch and Enum Keywords |
|
|
| You can make your code more readable by replacing if-else statements with switches working from enumerated variables. This VMK shows you how to do just that. |
|
|
|
| VMK 4 Looping Structures |
|
|
| I show you how to use the while and the for loop in this VMK so that you can perform repeated tasks in your programs. Near the end I also describe how random numbers work in C++. |
|
|
|
| VMK 5 Data Types |
|
|
| A number of commonly used C++ data types are described in this VMK. I discuss the int, float, double, and char types. After that, I describe how to use arrays and how they work a little differently with the char data type to make strings. We group data types into struct's and lastly I show you how to use a union. |
|
|
|
|
|
| VMK 7 Functions |
|
VMK 6
|
|
| This VMK is all about functions and how to use them. I demonstrate how to pass variables into functions and how to get values back. I explain the difference between passing variables by value, and passing variables by reference. I show you how to use a function to return multiple values to you and I describe how you can use functions with pointers and array's of variables. |
|
|
|
| VMK 8 Libraries and Projects |
|
|
| I show you how to setup a visual studio solution to contain multiple projects. One project contains the main() entry point and the other is a static library which we link to. I also show how build order dependence plays a role when using multiple projects in a solution. |
|
|
|
| VMK 9a Struct vs Class |
|
VMK 7
|
|
| The differences between a struct and a class are described in this VMK. I also go onto show how to use public and private functions and variables within a class and how to use a class constructor. |
|
|
|
|
|
| VMK 9c Class Inheritance |
|
VMK 9b
|
|
| I show you how to use a very powerful object oriented technique called inheritance in this VMK. Public, private and protected functions and variables are used and virtual functions are explained. |
|
|
|
| VMK 9d Copy Constructor |
|
VMK 9c
|
|
| When using dynamic memory inside of classes you will need to create a copy constructor to copy one class's values to another. In this VMK I show you why you need copy constructors and how to make them |
|
|
|
|
|
|
|
| VMK 11 File Handling |
|
VMK 6
|
|
| In this VMK I show you how to work with ascii (text) files to read data in and write data out to a file. I show you how to setup Visual Studio and how to read in a bunch of data into one variable, or parse input into individual variables like integers, strings or floating point numbers. |
|
|
|
| VMK 12 Install VC 2005 Express with PSDK |
|
|
| I show you how to download and install the free Visual C++ 2005 Express compiler from Microsoft. I also show you how to download and install the Platform SDK required if you want to use this compiler to follow along with the game development VMK's or if you want to do any windows type programming.
|
|
|
|
| VMK 13 Visual C++ Debugger |
|
|
| In this VMK you will learn how to use the Visual C++ Debugger. I show you how to create breakpoints (always break and conditional). I show you how to watch your variables and how to change them while your program is running. We also trace through the program flow by using the calling stack. At the end I also show you how you can comment your code so that software development is a little easier.
|
|
|
|
| VMK 14 Templates |
|
|
| In this video I explain the benefits of using templates in C++. I demonstrate how to template a function and also how to template a class. |
|
|
|
| VMK 15 Threads |
|
|
| I start by showing how to create a 2nd thread and how to pass data to and from it. A Mutex is used to monitor when a thread is finished and a Critical Section is used to protect data shared between threads. Finally I show how to use a thread inside a class. |
|
|
|
| VMK 16 Random Numbers |
|
|
| In this video I describe how random numbers work in C++. How you can create a range of random numbers, and also what things you should look out for if you truly want a set of random numbers. |
|
|
|