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!
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!
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.
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.
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:
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.
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.
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.