Looping in C

This entry is part 9 of 9 in the series C Programming

This entry is part 9 of 9 in the series C ProgrammingBeginning C programming tutorial part seven We talked about branching control structures in the last tutorial, we will now cover looping. There are three different types of loops in C, for loop, while loop and do while loop. Looping is the process of executing…

if statements

This entry is part 8 of 9 in the series C Programming

This entry is part 8 of 9 in the series C ProgrammingBeginning C programming tutorial part six In C there a couple different ways to have your program make decisions, or control statements.  This tutorial will focus on is branching, branching just means that the program is given a choice of what path to follow. …

Proper naming and whitespace

This entry is part 7 of 9 in the series C Programming

This entry is part 7 of 9 in the series C ProgrammingBeginning C programming tutorial part six C ignores white space, what does this mean? Well it means that

Is seen the same as

or

The semicolon ‘;’ is what signals the end of a line of code to the C compiler.…

scanf and printf

This entry is part 6 of 9 in the series C Programming

This entry is part 6 of 9 in the series C ProgrammingBeginning C programming tutorial part five printf is used to print information out from the user, it uses format specifiers to determine how the user wants the data to be displayed, there is an extensive list but we will focus only a few. Examples…

C variables and operators part2

This entry is part 5 of 9 in the series C Programming

This entry is part 5 of 9 in the series C ProgrammingBeginning C programming tutorial part four So this is the second part of our tutorial focused on variables in C. In the first part we covered numeric variables like int and float, this tutorial we will cover char variables and literal strings (literal strings…

C variables and operators part1

This entry is part 4 of 9 in the series C Programming

This entry is part 4 of 9 in the series C ProgrammingBeginning C programming tutorial part three There are several different types of variables in C we will briefly mention them all but focus on only a couple in the tutorial. Data types in C char can hold values from -127 to 127 or 0 to…

Writing a simple C program

This entry is part 3 of 9 in the series C Programming

This entry is part 3 of 9 in the series C ProgrammingBeginning C programming tutorial part two Welcome to the beginning C tutorial! So we will first need to create a new project which you should have already done in the last tutorial, if you need a refresher please refer to the IDE tutorial So…

Installing and setting up an IDE

This entry is part 2 of 9 in the series C Programming

This entry is part 2 of 9 in the series C ProgrammingBeginning C programming tutorial part one What is an IDE you may ask? Well it is really quite simple it stands for Integrated Development Environment. You may be thinking where is the simple part? Well it’s the fact you only need to understand for…

Why should you learn C?

This entry is part 1 of 9 in the series C Programming

This entry is part 1 of 9 in the series C ProgrammingI think C is one of the best programming languages to learn as your first language or just to learn. Whiles it is not an easy language the knowledge you will gain from learning it is well worth the effort. One of the best…