0:00
3:46:13
3:46:13

C Programming Tutorial for Beginners

Education

This course will give you a full introduction into all of the core concepts in the C programming language. ❤️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvented interactive learning: https://scrimba.com/freecodecamp ⭐️ Course Contents ⭐️ ⌨️ (0:00:00) Introduction ⌨️ (0:01:22) Windows Setup ⌨️ (0:05:02) Mac Setup ⌨️ (0:09:04) Hello World ⌨️ (0:12:51) Drawing a Shape ⌨️ (0:20:56) Variables ⌨️ (0:32:25) Data Types ⌨️ (0:38:32) Printf ⌨️ (0:45:22) Working With Numbers ⌨️ (0:52:20) Comments ⌨️ (0:56:00) Constants ⌨️ (1:00:13) Getting User Input ⌨️ (1:12:08) Building a Basic Calculator ⌨️ (1:17:43) Building a Mad Libs Game ⌨️ (1:26:29) Arrays ⌨️ (1:36:44) Functions ⌨️ (1:45:37) Return Statement ⌨️ (1:53:21) If Statements ⌨️ (2:07:11) Building a Better Calculator ⌨️ (2:14:51) Switch Statements ⌨️ (2:21:27) Structs ⌨️ (2:29:43) While Loops ⌨️ (2:37:48) Building a Guessing Game ⌨️ (2:50:11) For Loops ⌨️ (2:59:05) 2D Arrays & Nested Loops ⌨️ (3:09:10) Memory Addresses ⌨️ (3:17:20) Pointers ⌨️ (3:27:41) Dereferencing Pointers ⌨️ (3:32:37) Writing Files ⌨️ (3:41:52) Reading Files Course developed by Mike Dane. Check out his YouTube channel for more great programming courses: https://www.youtube.com/channel/UCvmINlrza7JHB1zkIOuXEbw ⭐️Other full courses by Giraffe Academy on our channel ⭐️ 💻Python: https://youtu.be/rfscVS0vtbw 💻SQL: https://youtu.be/HXV3zeQKqGY 💻Ruby: https://youtu.be/t_ispmWmdjY 💻PHP: https://youtu.be/OK_JCtrrv-c -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://medium.freecodecamp.org

ADVERTISEMENT

Comments 100

Sign in to join the conversation

Sign in
jamesstream97
jamesstream97 1 month, 4 weeks ago

include <math.h> for those math functions to work 50:00

W
william_grant 4 months, 2 weeks ago

tomorrow i have an exam, wish me luck

R
ross.craig 5 months, 1 week ago

30:42 7 years ago, how did he know?

B
brittany.gutierrez 6 months, 1 week ago

SIZ SEVEN!! 30:43 😭😭

C
cynthia_garcia 6 months, 3 weeks ago

This course has really helped me to understand c programming language so far .... Thanks a lot to our free lecturer

babyberry
babyberry 1 year ago

I listened to this for half an hour whilst winding down for bed.... I can now say i know more about c coding than i did for half of my life lol

C
christopher_thompson 1 year, 4 months ago

Good morning everyone

K
kristin.ford 1 year, 5 months ago

i woke up to this

M
megan_miller 1 year, 5 months ago

Achieving success in trading requires significant effort, as it involves training your mind to counteract natural instincts. It means purchasing when everyone is panicking, selling when there’s excitement. I've been attempting for some time to increase the size of my 7 figure portfolio, but the largest obstacle is the absence of clear entry and exit plans. Any guidance in this regard would be much valued.

R
reynaldo_godínez 1 year, 6 months ago

I woke up and this video was playing

J
jamesrune24 1 year, 6 months ago

Fell asleep and woke up to this lol

S
saanvi.sha 1 year, 6 months ago

i fell asleep and autoplay got me here. Woke up around 3 hours in and now i get reccomended Coding videosz

B
brenocosmos37 1 year, 6 months ago

Everyone’s sleep took them here lmao

G
garry.hayes 1 year, 6 months ago

Anyone else fell asleep and woke up to this?

M
martinemarion431 1 year, 6 months ago

I fell asleep and woke up with this on my YouTube?

kristen_brooks
kristen_brooks 1 year, 6 months ago

I just accidentally watched 3 hours of this while asleep, I can probably do some programming in my dreams now.

M
marthahaven4 1 year, 6 months ago

I woke up to this playing while i have a fever

W
william_grant 1 year, 6 months ago

I fell asleep and ended up here 💀💀🙏🙏

J
juancarlos.rolón 1 year, 6 months ago

Shoutout to the confused peopme who just woke up

R
rebecca.jordan 1 year, 6 months ago

Timestamps (Powered by Merlin AI) 00:01 - Learn C programming language basics. 02:30 - Install code blocks for C programming 07:33 - Download and install Code Blocks IDE for writing C programs 10:06 - Creating and running a basic C project in code blocks 15:03 - To build and run a C program 17:29 - The semicolon in C is crucial for indicating the end of an instruction. 22:05 - Using variables to manage and update data in programs 24:27 - Creating a variable in C requires specifying the data type and assigning a value. 29:03 - Using variables in programming allows us to store values and easily modify them in one place. 31:22 - Variables and data types in C programming language 35:53 - Character and string data types in C 38:29 - printf function in C allows printing text on the screen 43:25 - The printf function in C is useful for printing out information. 46:02 - Crisp explanation of floating-point numbers in C. 50:34 - Working with math functions in C 52:59 - Comments in programming are useful for clarifying code and temporarily disabling certain lines. 57:46 - Constants in programming 1:00:01 - Getting user input in C 1:04:43 - The program demonstrates how to get different types of user input like double, character, and string. 1:07:01 - Use F gets to get input with spaces instead of scanf 1:11:45 - Learn how to get input from the user in C and build a basic calculator 1:14:04 - Create a basic calculator program that adds two numbers 1:18:35 - Creating a program to replace words in a poem 1:20:54 - Prompt user for input and store it in variables. 1:26:00 - Arrays in C are containers that can store multiple values of the same type. 1:28:27 - Creating and accessing arrays in C 1:33:13 - Arrays are useful for storing similar data 1:35:38 - Working with arrays and strings in C 1:40:15 - Calling a function executes the code inside it 1:42:35 - Functions can take parameters as inputs 1:47:21 - Create a function in C to cube a number with a double return type. 1:49:52 - The cube function returns the cube of a number 1:54:51 - Check if num1 is bigger than num2 using an if statement 1:57:16 - We can use if statements to determine the biggest number among multiple parameters. 2:02:00 - Using 'and' and 'else-if' to check multiple conditions in an if statement. 2:04:12 - Conditions for truth values 2:08:56 - Get user input for numbers and operator, store them, and perform math operations 2:11:16 - Perform operations based on the entered operator 2:15:42 - Using a switch statement, you can respond to different grades on a test. 2:17:54 - This code is using a switch statement to check different grades 2:22:42 - Creating a struct to represent student data in C 2:25:13 - Created a student with attributes: name, major, age, and GPA 2:30:14 - Learn how to create a while loop in this tutorial 2:32:36 - Printing numbers using a while loop 2:36:54 - Learn about while loops and a little guessing game 2:39:00 - Create a number guessing game using a while loop in C 2:43:34 - Set a limit on the number of guesses a user can make 2:46:00 - Guests can guess the secret number and either win or run out of guesses. 2:50:10 - For loops in C with indexing variables 2:52:32 - A for loop condenses code into a single loop 2:57:02 - How to access elements in an array using a for loop 2:59:27 - Nested loops and two-dimensional arrays 3:04:15 - Nested for loops can be used to print out elements of a 2-dimensional array. 3:06:34 - Nested for loops and two-dimensional arrays are a match made in heaven. 3:11:37 - Memory addresses represent the physical location where values are stored in computer memory. 3:14:07 - Variables in C are stored in specific memory addresses 3:19:10 - Pointers are memory addresses 3:21:32 - Pointers are memory addresses and can be stored in pointer variables 3:26:59 - Pointers in C and dereferencing pointers 3:29:36 - Dereferencing a pointer retrieves the value it points to 3:34:28 - Create a file and write information to it using pointer in Python. 3:36:51 - Create and write information to a text file in C 3:41:41 - We can read information from a file in C. 3:44:12 - The function reads information from a file and stores it