## C Programming Crash Course (3 Hours)

Last year I released a C Programming Crash Course on my website. This year I’ve decided to release it to everyone on YouTube. It consists of a series of sections with timestamps available. Enjoy!

This is everything you need to know to get started as a C Programming Software developer / Software engineer. We start off with the super basics and work our way to intermediate topics such as memory management, structs, and pointers.

Special thank you to IBM Call for Code for supporting this video. They are doing great work to help this world in times of natural disasters.

Need more Coding Practice? Why not try Pluralsight? I used Pluralsight to step up my game in my software development job. You should too!

## Timestamps

1:13 – Intro
7:15 – Linux
17:20 – Basics – Input and Output
33:09 – Variables and Data Types
49:32 – Operators
1:03:13 – Logic (If, Switch, Ternary)
1:19:35 – Loops (for, While, Do While)
1:31:50 – Arrays
1:41:44 – Strings
1:50:00 – Functions
2:07:58 – Creating a Function Library
2:15:55 – Intro to Pointers
2:25:17 – Intro to Structs
2:34:07 – Intro to Memory Management
2:51:16 – Conclusion

Need the Code / Syntax Reference Guide? Here you go!

Continue reading “C Programming Crash Course (3 Hours)”

## C Programming Tutorial 56 – Else-If Statement

In the last blog we went over Logical Operator Precedence! Check it out first! Are you new here? Start at the beginning, Intro to C!

In this blog we are going to be discussing an extension to the if statement called the else if statement.  Now, the else if is different than the if else…Which is confusing because the names are so similar.  Soon I will go through all of the differences so you can have a clear definition of all three.

Continue reading “C Programming Tutorial 56 – Else-If Statement”

## C Programming Tutorial 55 – Logical Operator Precedence

In the last blog we went over Short Circuit Evaluation! Check it out first! Are you new here? Start at the beginning, Intro to C!

In a previous blog I gave you a super crazy if statement to explain how to evaluate complex conditionals.  To organize this, we used parenthesis.  Let’s go over a simplified example.

In this situation, we do not have parenthesis to explain in what order these are going to be evaluated.

Continue reading “C Programming Tutorial 55 – Logical Operator Precedence”

## C Programming Tutorial 54 – Short Circuit Evaluation

In the last blog we went over Complex Conditionals! Check it out first! Are you new here? Start at the beginning, Intro to C!

Short circuiting is something that will happen when your program is running and it hits a conditional.  A short circuit in logic is when you know for sure that an entire complex conditional is either true or false before you evaluate the whole thing.

You honestly do not have to worry a whole lot about short circuiting when coding because this is something that happens when the software is running, not when you are coding.  That being said, it is still an important concept to understand when it comes to logic.  There is one specific time when this info is very useful.

Continue reading “C Programming Tutorial 54 – Short Circuit Evaluation”

## C Programming Tutorial 53 – Evaluating Complex Conditionals

In the last blog we went over Logical Operators! Check it out first! Are you new here? Start at the beginning, Intro to C!

This blog we are going to be discussing complex conditionals. First, you let’s do a brief review of conditionals. A conditional is something that evaluates to true or false. Inside of a conditional you can have relational operators. Let’s say we have a variable, x, which has the value 5. We can make a conditional like this:

Continue reading “C Programming Tutorial 53 – Evaluating Complex Conditionals”

## C Programming Tutorial 52 – Logical Operators

In the last blog we went over If-Else Statements! Check it out first! Are you new here? Start at the beginning, Intro to C!

So far in in this series we’ve discussed the very basics of logic. In the very first blog over logic, I briefly introduced a topic called logical operators but I never went into a whole lot of detail. These allow us to make more complex conditionals, and that is what this entire blog is going to be about.

Continue reading “C Programming Tutorial 52 – Logical Operators”

## C Programming Tutorial 51 -If-Else Statement

In the last blog we went over the If Statement Guessing Game! Check it out first! Are you new here? Start at the beginning, Intro to C!

In the previous blog we had this code:

The problem here is that we are calling return 0 twice. This works in this situation, but what if we wanted to continue executing the program. For example, what if we wanted to do something like this:

Continue reading “C Programming Tutorial 51 -If-Else Statement”

## C Programming Tutorial 50 – If Statement Guessing Game

In the last blog I spoke of Relational Operators. Check the one out first! Are you new here? Start at the beginning, Intro to C!

In this blog we are going to be creating an if statement with relational operators.

We want to create an application that gives the user one try to guess a number between 1 and 5. As we get more advanced, we can do things such as give them multiple tries and see how many times it takes them to get it right. For now, we are just getting the very basics.

Continue reading “C Programming Tutorial 50 – If Statement Guessing Game”

## C Programming Tutorial 49 – Relational Operators

In the last blog I spoke of Good Coding Practices.  Check the one out first! Are you new here? Start at the beginning, Intro to C!

In the previous videos we have worked with if statements that work with strictly true or false values.  We’ve used both bool variables and we’ve also replaced variables with actual values and learned that any number that is not zero is considered to be true.

What if we want to change the way our if statements work and instead of consider anything not zero to be false, we want to pick our own rules with what is true and false?  This is where relational operators come in.

Continue reading “C Programming Tutorial 49 – Relational Operators”

## C Programming Tutorial 48 – Good Coding Practices

In the last blog I spoke of How to Write If Statement with Boolean Variables.  Check the one out first! Are you new here? Start at the beginning, Intro to C!

This video is going to be a very short and to the point video that explains some good habits that you should have when you are starting out programming.

Let me tell you, a lot of people hate programming. I believe one of the reasons for this is because they don’t follow what I am going to teach you in this video.

Continue reading “C Programming Tutorial 48 – Good Coding Practices”