Programming Tutorials
Bitwise and Flags
Submitted by rubix on Sat, 06/27/2009 - 01:36.Some functions want to save parameters and have only a single parameter that takes in binary bits and the parameter can determine all sorts of flags from this. The MessageBox function takes numerous flags that can be OR'ed together.
You might be wondering, how does the MessageBox function know which styles I've just passed to it?
Introduction to C++ Templates
Submitted by Tomescu Alin on Tue, 06/09/2009 - 00:37.This tutorial will give you a quick introduction to C++ templates. You will not be a template guru after reading it but you will be able to understand a lot of the "templated" code that's out there.
Understanding Variables and Data Types in C++
Submitted by Allan Reed on Thu, 05/28/2009 - 03:47.What are variables? Variables are like shortcuts. Nobody wants to type the number "3824473021" hundreds of times in a program, so we make shortcuts. A variable is really a sequence of memory which can store data and can be called back by using the variable name.
5 Methods for CSS Curvy Corners
Submitted by Baran Ornarli on Fri, 05/22/2009 - 05:27.As with many web developers, I am sure you have struggled with getting those nice Web 2.0 curvy corners or rounded rectangles. The problem is really IE, for some reason, the developers at IE, never figured out what curvy corners are, even though other browsers have their CSS3 attribute already.
Upgrade Windows 7 Beta to Windows 7 RC
Submitted by Baran Ornarli on Thu, 05/07/2009 - 18:10.The new Windows 7 Release Candidate (RC) has been released, and we are all excited for another blunder or home run by Microsoft. However, most of us do not want to follow the silly, condescending recommendation by Microsoft about how we should have a fresh/clean install of RC1 even if we are running Windows 7 Build 7000. Of course, with all our data not backed up we decide to hack our way to RC version.
C++ Constants and their uses
Submitted by Allan Reed on Sat, 05/02/2009 - 12:43.A constant is a variable type which cannot be changed during run-time of a program. Once it has a set value, it stays that way until you change your code. There isn't much to constants, but they can cause errors that aren't explained well in your IDE.
Basics of Vectors in C++
Submitted by Allan Reed on Sun, 04/26/2009 - 19:34.A vector is a basically a list or container of any type of a data type you want. If you're making a game it could be good for an inventory type list. But what a vector really is, is a sequential STL (Standard Template Library) container. There are many things you could use vectors for, but I'm going to use it for a list of numbers: 1,2,3, and 4.
Learning the basics of operators in C++
Submitted by Allan Reed on Sat, 04/18/2009 - 19:01.First of all, what is an operator? There are multiple types of operators, but in this tutorial we'll only talk about 2 types. The first type includes arithmetic operators such as addition, subtraction, multiplication, and division. The second type includes equals, greater than, and other comparison testing operators.
Understand the basics of Functions in C++
Submitted by Allan Reed on Mon, 04/13/2009 - 05:20.A function (in programming) is a simple command used to do multiple or more complicated tasks. If you have ever programmed anything in your life, you used a function. Examples of functions are: cin, cout, printf, and getchar. Those are all functions. Now your probably thinking, big deal functions are helpful but why would I need to learn about them? Well functions are great for handling errors and organizing code.
Learning C++ Threads and their uses
Submitted by Allan Reed on Sun, 04/12/2009 - 15:28.C++ Threads are useful for doing more than one thing at the same time, or have a loop do your work while the rest of the program continues to operate at the same exact time.

