Category Archives: C Video Tutorial

C Video Tutorial 5

C Struct Video TutorialToday I’m going to cover how to create and use a struct in C. Structs are used when you need more then one piece of data to describe one thing. You can’t use an array because an array only holds data with the same data type

I’ll specifically cover how to : Create a Struct, Get data from a Struct, Initialize a Struct, Pass a Struct to a Function, Use Typedef, Change a Value in a Struct, Use a Struct in a Function, ->, *(structName) and how a Struct is stored in memory. The code follows the video below. Continue reading C Video Tutorial 5

C Video Tutorial 4

C Video Tutorial 4Welcome to part 4 of my C Video Tutorial! Today I’m going to try something a little different to try and make the videos feel more like a classroom atmosphere.

We’ll be looking at pointers in c. I’ll cover what pointers are. What is the difference between * and &. How to use pointers and arrays. How to create an array of strings. We’ll also look at how to change the value of variables inside of functions and how to manipulate char arrays in functions. Continue reading C Video Tutorial 4

C Video Tutorial 3

C Video Tutorial 3Welcome to part 3 of my C Video Tutorial!

In this tutorial I cover : exit(), switch, Arrays, Array Indexes, Problems with scanf(), Memory Overflow, strcpy(), fgets(), Array Interation, strcmp(), strcat(), strlen(), strlcpy(), Global Variables, Local Variables, Functions, and more…

The code below is heavily commented and will help you learn. Feel free to leave any questions you have. Continue reading C Video Tutorial 3

C Video Tutorial 2

C Video Tutorial 2Welcome to part 2 of my C Video Tutorial. If you missed part 1 check it out first.

In this part of my C Tutorial I will cover: Compiling Options, Relational Operators, Logical operators, If, Else, Else If, Conditional Operator, Sizeof(), Bytes, Bits, While, Do While, For, Break, Continue and more…

All of the code follows the video below. It is heavily commented to help you learn. Feel free to leave questions below. Continue reading C Video Tutorial 2

C Video Tutorial

C Video TutorialWelcome to part 1 of my C Video Tutorial! I have been getting this request constantly lately so I decided to cover the C programming language in a fast and complete tutorial series. It will probably be complete by the end of the weekend!

I cover: Comments, #include, #define, Global Variables, main(), char, int, long int, float, double, printf(), Escape Sequences, %d, %ld, %f, %c, %s, Character Arrays (Strings), strcpy, scanf(), Math Functions, Order of Operations, Math Shortcuts, Casting and more… Continue reading C Video Tutorial