Category: Tutorials

Inheritance in C++

The principle of inheritance is available with several modern programming languages and is handled slightly differently with each. C++ allows you to inherit all or part of the members and methods of a class, modify some, and add new ones not available in the parent class. You have complete flexibility, and as usual, the method used with C++ has been selected to result in the most efficient code execution.

Read More

C++ Memory Management

Everyone knows that memory management is a difficult and dangerous chore in C++. This series of three articles will show you that the conventional wisdom is not true. When approached correctly, C++’s seemingly archaic memory-management scheme actually provides an opportunity to create spectacular programs – programs that would not be possible with more modern languages that handle memory automatically.

Read More

Direct3D Retained mode sample

Over here I’ll shove in some basics, like coordinate systems, world and object coordinate systems, etc. For now I’ll assume you’re at least a little familiar with 3D programming. Blah blah blah, differences between immediate and retained mode, etc etc.

Read More

Palettes, Gaming Concepts & Double Buffering in DirectX

Screen modes come in several flavours, based on how many bits are used to store the color of each pixel on the screen. Naturally, the more bits you use per pixel, the more colours you can display at once; but there is more data to move into graphics memory to update the screen.

Read More

Direct X and its Components

One of the main purposes of DirectX is to provide a standard way of accessing many different proprietary hardware devices. DirectX is comprised of application programming interfaces (APIs) that are grouped into two classes: The DirectX Foundation layer and The DirectX Media layer. These APIs enable programs to directly access many of your computer”s hardware devices.

Read More

C++ For Dummies 7th Edition
Unlock the world of programming with C++ for Dummies – the perfect beginner’s guide to mastering C++ with ease and confidence!
View on Amazon