The goal of this blog is to teach you how to do the most basic things inside of a terminal. Now, these commands are going to be the same for UNIX operating systems, like Mac, and also Linux operating systems, like Ubuntu.
In this blog, we will be dissecting the hello world program that we wrote in an earlier blog!
The goal of this blog is to break apart some of what we wrote in the last blog and to understand some more concepts.
In this blog we are going to write our first computer program. If you are new to programming, you should know what a Hello World program is. Essentially, a hello world program is a program that says “Hello World” on the screen.
The point of this is to have the confidence that you have all of the proper tools installed, everything is set up correctly, you’re able to write the most basic program, compile it, and execute it. Essentially, a Hello World program will take you from beginning to the end of writing a program.
Check out C Programming Tutorial 1 – Intro to C.
In order to get started programming with C, we need to have an operating system to work on.
Now, in order to be on the same page, I highly recommend being on a UNIX or Linux operating system. An operating system is a big piece of software that is always running on your computer. It’s what allows you to open apps, type, print, and use anything on your computer.
Mac is an example of a UNIX operating system. Windows on the other hand, is not. If you are in Microsoft Windows, you can actually get a copy of a Linux operating system to install absolutely free.
This is your first video in the series on C programming and computer science for beginners. If you are completely new to C, this series is for you! What is C?
C is an example of a programming language. What is a programming language?
Before we can fully understand programming languages, we need to know a few things first. Essentially, we as humans want to communicate with a computer to tell it to do something or to compute something for us, but computers don’t understand English, they only understand machine code. Machine code is a sequence of ones and zeroes that the computer’s processor can understand. This allows us to tell the processor to do simple instructions.