-
Why Knowing Code Conventions Matters: Tips for Clean, Readable Code
Something you’ll realize when you start coding is that there are many ways that you can code the same thing. For example, when it comes to indentation, instead of using spaces, you can use tabs—or vice versa, instead of tabs, you can use spaces. When you write your for loop, your while loop, or your…
-
Stop Watching Beginner Coding Tutorials and Do This Instead!
The best way to learn how to code is not by watching videos or tutorials, but it’s by actually coding something. I, and a lot of other people, call this project-based learning. It’s like learning how to cook—you don’t get better by reading recipes or watching cooking tutorials, but by actually cooking and then tasting…
-
Pointers in C Explained: What They Are and Why You Need Them
When I first learned pointers in C, I thought they were very annoying. I would always run my program and then I would run into a segmentation fault error, and then I would have no idea why there was an error going on. It was just annoying to keep track of all the different pointers,…
How To Use Data Types [C Tutorial]
I decided to start a programming series teaching you all the prerequisites needed to build your first app! In my programming guide, I mentioned the following prerequisites: I’ll cover all of these programming in concepts in C, which is a very classic language to learn. This week’s video will be about data types in C.…
How To Display Info and Data in C [C Tutorial]
Displaying info and data or outputting to a console is the most helpful thing you can learn when learning a new language. It gives you feedback on what’s happening in your program. Without this, you will just run your program and not know what is going on. That kinda defeats the purpose of programming haha.…
How To Use if and Else Statements in C [C Tutorial]
If and else statements are one of the most fundamental programming concepts ever. You find them in almost every programming language and tool. It’s so important for logic and algorithms, which is what makes programs useful in the first place. I will also be covering how to do this with int, char, and char arrays…
How To Use While Loops in C [C Tutorial]
While loops are so basic and important in programming. In simple terms, they allow your program to execute certain lines of code however many times you want or need. They do this based on whatever condition you set for it. This can be useful if you want your program to restart when it is finished.…
Code Comments: How to Use Them and Why?
What is a common mistake I see coding beginners make? …not putting any or enough code comments. And it’s understandable because when I first learned how to code, I thought code comments were pointless. Why would you put a comment in your code when you can just figure out what the code is doing just…
How To Use Visual Studio for Beginners
Coding can be a daunting task sometimes. How exactly do you start coding? After learning a little bit about coding, you’ll have to make sure you are following the right code syntax. Then, you have to find a way to build or compile your code so your computer can run it. Then, you have to find…