The Site of Wilks
The Site of Wilks
Tutorials :: C++ C++ Windows API OS X - Carbon Linux - GTK, X11
C Basics
Standard Output, stdio.h, main(), #include
A nice beginning. Print out a string welcoming our trip into the C programming world and with a bad accent no less.
char, short, int, long, long long, double, float
No, Barbara Walters did not write this tutorial. Think of it this way, though: if a journalist with a speech impediment can become extremely successful on television, then anyone could become a successful programmer.
C operators: + - / * % << >> ++ -- =
Sure, you have information... but how do you manipulate it? Here we will show you the various methods of using data and performing calculations.
C Logical Operators: & | ^ ~ && || == != < > <= >=, if statement
We will work with bits some more to learn about binary logic. This is used primarily to make decisions. We will work with the "if statement" to interpret results and make our programs intelligent.
arrays, initialization of arrays, while loops, for loops
Arrays are sets or collections of variables with the same name. They can be useful to group together different sets of data. We also discuss loops, which are used to execute code multiple times while a condition is met. This is useful when traversing arrays.
char*, strings, char arrays, null terminator
Strings are groups of letters.
pointers, memory representations
We will now discuss one of the most important topics in C: pointers. These types of variables cause the most joy and at the same time the most grief in programming. Once you understand these, you are now a C programmer.
C++ Basics
classes, public, private
Classes
class inheritance, protected
Handling Inheritance.