 |
Tutorials / C++ Tutorials
Start Here with VS.Net 2003
Tuesday 19th, September 2006
Start
Here
This is the first in our series of free C++ tutorials - all our tutorials are free! This video shows us how to
set up VS.Net 2003 to create a new blank 32-bit Windows console app. We're not quite ready to start Windows programming-proper
just yet. We're going to go through a series of tutorials outlining C++, it's control structures and well, all the basics!
If you want to use these tutorials for your college, university or school, please contact us.
We're quite happy for you to use the tutorials, we just ask that you leave the sloankelly.net banners and front/end slides intact.
|
 |
 |
Start Here with VS.Net 2003
Tuesday 19th, September 2006
Hello World
Continuing on from our first tutorial, we're creating our first program: "Hello, world!" The program introduces include files, as
well as namespaces and how to print data to the console window using cout.
|
 |
 |
Our First Program
Tuesday 19th, September 2006
Hello World
Continuing on from our first tutorial, we're creating our first program: "Hello, world!" The program introduces include files, as
well as namespaces and how to print data to the console window using cout.
|
 |
 |
Introducing Variables
Tuesday 19th, September 2006
Overview of Variables and Data Types in C++
Just a brief time-out to introduce variable declaration and data types in C++. We'll be coming back to this later, but his
handy overview will help us through the next few tutorials on control structures.
|
 |
 |
Making Decisions
Tuesday 19th, September 2006
Part 1: A Simple If Statement
Basic program flow is determined using the if keyword. This simple keyword can decide which lines that follow it are executed or not.
This is all based upon boolean logic. Equality operators are used to return a TRUE or FALSE.
|
 |
 |
Making Decisions
Tuesday 19th, September 2006
Part 1: A Simple If Statement
Basic program flow is determined using the if keyword. This simple keyword can decide which lines that follow it are executed or not.
This is all based upon boolean logic. Equality operators are used to return a TRUE or FALSE.
|
 |
 |
Making Decisions
Tuesday 19th, September 2006
Part 2: Adding the Else Keyword
By adding the else keyword, we are ensuring that if the condition we are testing is false, we perform some action. This is in
preference to doing no action at all!
|
 |