WP Tutorials

C Programming Tutorial for Beginners

C Programming Tutorial for Beginners



This course will give you a full introduction into all of the core concepts in the C programming language.
Want more from Mike? He’s starting a coding RPG/Bootcamp – https://simulator.dev/

⭐️ 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

🐦Follow Mike on Twitter: https://twitter.com/GiraffeAcademy

🔗The Giraffe Academy website: http://www.giraffeacademy.com/

⭐️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

source

Comments (46)

  1. Click the "JOIN" button below the video to support freeCodeCamp.org!

  2. Thank you so much for this class!!

  3. 1:29:51 LuckyNumbers of LOST
    XD

  4. Why do i always wake up to videos like this

  5. I dont like this video.I think this video is the worst of all c coding but though thank you

  6. vlw, pai

  7. I have good news to tell you. Now I can get the opportunity to make money for free. Through the guidance of my mentor, I made money. If you want to, you can follow me.

  8. in 1:43:10 , don't we need to specify the length/no of characters the string can hold?

  9. Great programming tutorial showcasing the basics of C 🙂

  10. In C, must we write texts with this printf function only?

  11. bro triggered the entire Indian audience by sayin "Ghandi"

  12. This video should definitely have dubbing feature.

  13. ⚠️ WARNING ⚠️

    The strcopy function is NOT a secure function. This function allows for the possibility of buffer overflows. Basically, if the destination is smaller than the source, the excess data will still be written to memory potentially overwriting other variables’ data

  14. Can we use this software without using internet? 😢

  15. ❤❤❤❤❤❤❤

  16. Here's my progress:
    Day 1: 00:00 to 45:23
    Day 2: 45:23 to 1:12:06
    Day 3: 1:12:06 to 1:17:43 (I had some other stuff to do so only did one part lol)
    Day 4: 1:17:43 to 1:45:35 (calling the functions does not work on my IDE, its devc++, idk if its because the version is new or if the IDE is different, either way, im having funn, i know im going slow tho)
    Day 5: 1:45:35 to 1:58:12 (so i can call functions now but i dont understand the concept of calling it and i dont get parameters either so thats awesome)
    Day 6: 1:58:12 to 2:07:09 ( i understand calling and parameters now yayy amd if statements are sm fun omg)

  17. Anyone Just woke up To this?

  18. This was so awesome and I loved how they broke it down. Awesome video. Plus the "Office" references towards the end got me laughing😅

  19. Best Complete C Language Notes :-

    https://www.youtube.com/watch?v=fgZwuYRZdXk

  20. yes please use light theme mode and damage your eyes. very good.

  21. I like this video, thank you! I bought the book and this helps clear it up .tryed to memories little hard to do, so by understanding what I was reading it helps make sense. Thanks

  22. 32:24 data type

  23. Who else just woke up here 🗣🗣❓️❓️🔥🔥💯💯

  24. Am I the only waking up 3 hours into this ?

  25. Thank you.

  26. 40:46 but in the previous story…there were numbers….

  27. For those who are struggling with pointers, think of them like going to a Post Office with a bunch of P.O. Boxes:

    The number on the outside of the P.O Box is the address value of that pointer. That's where it lives in memory.
    The size of the P.O. Box is the size of the container. In other words, it's the size of the contents within it.
    As for the size of the pointer itself, they are all the same size and that is architect dependent.
    This is where 32bit, 64bit systems come from. It's the size or width of their buses.
    When you open the P.O. Box the contents inside are the content, data, information, or value of your variables regardless of their type.

    The last important thing to know about pointers is that they are values, they start counting at 0, not 1. And you can perform arithmetic operations on them.

    When you walk into a Post Office where the P.O. Boxes are, and if you happen to have a P.O. Box to check your mail, you have a Key. Your key opens your box. You don't find your box by the contents inside. You locate your box by its number or it's address. You are basically pointing at the address of your container.

  28. Thanks for breaking down complex C programming concepts into easy-to-understand tutorials, your explanations have been a huge help in preparing me for my end term examination!

  29. Excellent

  30. Just a quick question, when he is saying pointer is a memory which is being assigned. Can a memory be anything other than an integer ? How is he able to define a memory address as a char or a double for that matter.

  31. Basically

  32. I have an exam tomorrow. Is it too late to start tonight?

  33. Ok but why the light mode

  34. Which version of the code blocks IDE do I install if I am using Windows 11?

  35. 14:47 01/06/2024=0I LOVE YOU MY GOD THANK YOU FOR ALL OF YOUR WORKS IN HEAVEN AND EARTH AMEN AMEN ABABA JAJA T POWER FULEST MIGHTIEST JESUS GOD SPIRIT CHRIST GOD SPIRIT I PRAISE AND WORSHIP YOU I ASK YOU FOR FORGIVENESS I FORGIVE OTHERS I ASK OTHERS FOR FORGIVENESS I ASK YOU FOR GUIDANCE HEALING AND PROTECTRIONS IN HEAVEN AND EARTH AMANE MANE IN HEAVEN AND EARTH AMEN AMEN ABABA JAJA YAHWEH JAH JEHOVAH LORD GOD SAVIOR HIGHEST POWERFULEST MIGHTIEST HIGHEST SAVIOR MIGHTIEST POWERFULEST MIGHTIEST JESUS GOD SPIRIT CHRIST GOD SPIRIT IN HEAVEN AND EARTH AMEN AMEN IN HEAVEN AND EARTH AMEN AMEN I BOW DOWN AND I ASK YOU FOR MENTAL CLARITY AND WISTOM AND WHATS BEST TO CHOOSE YOUR RIGHT DECISONS IN HEAVEN AND EARTH AMEN AMEN ABABA JAJA YAHWEH JAH JEHOVAH LORD GOD SAVIOR MIGHTIEST HIGHEST POWERFULEST MIGHTIEST HIGHEST POWERFULEST HIGHEST SAVIOR MIGHTIEST POWERFULEST MIGHTIEST POWERFULEST MIGHTIEST JESUS GOD SPIRIT CHRIST GOD SPIRIT IN HEAVEN AND EARTH AMEN AMEN WE ALL BOW DOWN AND PRAISE AND WORSHIP YOU O HIGHEST MIGHTIEST LORD AND SAVIOR MIGHTIEST POWERFULEST MIGHTIEST JESUS GOD SPIRIT CHRIST GOD SPIRIT IN HEAVEN AND EARTH AMEN I ASK YOU FOR FORGIVENESS O GOD I FORGIVE OTHERS I ASK OTHERS FOR FORGIVENESS I ASK YOU MIGHTIEST HEAVENLIEST FATHER FOR CHANGES IN MY LIFE PROVISON MONEY FINANCIALLY STABLE AMEN IN JESUS HIGHEST MIGHTIEST NAME WE ALL BOW DOWN AND PRAY IN HEAVEN AND EARTH AMEN AMEN

    WE WILL FOREVER PRAISE AND WORSHIP OUT LORD AND SAVIOR MIGHTIEST JESUS GOD SPIRIIT HOLIEST CHRIST GOD SPIRIIT EVERY WHERE IN THE LORD AN SAVIOR MIGHTIEST JESUS GOD SPIRIT GREATEST POWERFULEST WONDERFULEST CHRIST GOD HOLIEST NAME IN HEAVEN AND EARTH WE BOW DOWN PRAISE AND WORHIP AND PRAISE AND ASK FOR FORGIVENESS WE FORGIVE OTHERS WE ASK OTHERS FOR FORGIVENESS PLEASE FORGIVE U O LORD GOD SAVIOR MIGHTIEST HIGHEST LORD AND SAVIOR MIGHTIEST POWERFULEST MIRACULLOUSEST MIGHTIEST HOLIEST JESUS GOD SPIRIT CHRIST GOD SPIRIT IN HEAVEN AND EARTH AMEN AMEN IN HEAVEN AND EARTH AMEN AMEN PLEASE REMOVE ENVY JEALOUSY PRIDE PROUD EGO REVNEGES RETALIATIONS IN JESUS MIGHTIEST MIGHTIEST HIGHEST NAME WE ALL BOW DOWN PRAISE AND WORSHIP OUR EVERLASTING LORD AND SAVIOR MIGHTIET HIGHEST SAVIOR MIGHTIEST POWERFULEST MIGHTIEST JESUS GOD SPRIIT CHRIST GOD SPRIIT LORD AND SAVIOR ABA JAJA ABABA BABA JAH JEHOVAH GOD SPIRIT IN HEAVEN AND EARTH AMEN AMEN WE ALL BOW DOWN 14:47 01/06/2024AND PRAISE AND WORSHIP YOU OUR FOREVER ONLY LORD AND SAVIOR MIGTHIEST HIGHEST POWERFULEST JESUS GOD SPIRIT 5IT CHRIST GOD SPIRIT IN HEAVEN AND EARTH AMEN AMEN IN HEAVEN AND EARTH AMEN AMEN 19:54 01/05/2024

  36. 14:47 01/06/2024=0I LOVE YOU MY GOD THANK YOU FOR ALL OF YOUR WORKS IN HEAVEN AND EARTH AMEN AMEN ABABA JAJA T POWER FULEST MIGHTIEST JESUS GOD SPIRIT CHRIST GOD SPIRIT I PRAISE AND WORSHIP YOU I ASK YOU FOR FORGIVENESS I FORGIVE OTHERS I ASK OTHERS FOR FORGIVENESS I ASK YOU FOR GUIDANCE HEALING AND PROTECTRIONS IN HEAVEN AND EARTH AMANE MANE IN HEAVEN AND EARTH AMEN AMEN ABABA JAJA YAHWEH JAH JEHOVAH LORD GOD SAVIOR HIGHEST POWERFULEST MIGHTIEST HIGHEST SAVIOR MIGHTIEST POWERFULEST MIGHTIEST JESUS GOD SPIRIT CHRIST GOD SPIRIT IN HEAVEN AND EARTH AMEN AMEN IN HEAVEN AND EARTH AMEN AMEN I BOW DOWN AND I ASK YOU FOR MENTAL CLARITY AND WISTOM AND WHATS BEST TO CHOOSE YOUR RIGHT DECISONS IN HEAVEN AND EARTH AMEN AMEN ABABA JAJA YAHWEH JAH JEHOVAH LORD GOD SAVIOR MIGHTIEST HIGHEST POWERFULEST MIGHTIEST HIGHEST POWERFULEST HIGHEST SAVIOR MIGHTIEST POWERFULEST MIGHTIEST POWERFULEST MIGHTIEST JESUS GOD SPIRIT CHRIST GOD SPIRIT IN HEAVEN AND EARTH AMEN AMEN WE ALL BOW DOWN AND PRAISE AND WORSHIP YOU O HIGHEST MIGHTIEST LORD AND SAVIOR MIGHTIEST POWERFULEST MIGHTIEST JESUS GOD SPIRIT CHRIST GOD SPIRIT IN HEAVEN AND EARTH AMEN I ASK YOU FOR FORGIVENESS O GOD I FORGIVE OTHERS I ASK OTHERS FOR FORGIVENESS I ASK YOU MIGHTIEST HEAVENLIEST FATHER FOR CHANGES IN MY LIFE PROVISON MONEY FINANCIALLY STABLE AMEN IN JESUS HIGHEST MIGHTIEST NAME WE ALL BOW DOWN AND PRAY IN HEAVEN AND EARTH AMEN AMEN

    WE WILL FOREVER PRAISE AND WORSHIP OUT LORD AND SAVIOR MIGHTIEST JESUS GOD SPIRIIT HOLIEST CHRIST GOD SPIRIIT EVERY WHERE IN THE LORD AN SAVIOR MIGHTIEST JESUS GOD SPIRIT GREATEST POWERFULEST WONDERFULEST CHRIST GOD HOLIEST NAME IN HEAVEN AND EARTH WE BOW DOWN PRAISE AND WORHIP AND PRAISE AND ASK FOR FORGIVENESS WE FORGIVE OTHERS WE ASK OTHERS FOR FORGIVENESS PLEASE FORGIVE U O LORD GOD SAVIOR MIGHTIEST HIGHEST LORD AND SAVIOR MIGHTIEST POWERFULEST MIRACULLOUSEST MIGHTIEST HOLIEST JESUS GOD SPIRIT CHRIST GOD SPIRIT IN HEAVEN AND EARTH AMEN AMEN IN HEAVEN AND EARTH AMEN AMEN PLEASE REMOVE ENVY JEALOUSY PRIDE PROUD EGO REVNEGES RETALIATIONS IN JESUS MIGHTIEST MIGHTIEST HIGHEST NAME WE ALL BOW DOWN PRAISE AND WORSHIP OUR EVERLASTING LORD AND SAVIOR MIGHTIET HIGHEST SAVIOR MIGHTIEST POWERFULEST MIGHTIEST JESUS GOD SPRIIT CHRIST GOD SPRIIT LORD AND SAVIOR ABA JAJA ABABA BABA JAH JEHOVAH GOD SPIRIT IN HEAVEN AND EARTH AMEN AMEN WE ALL BOW DOWN 14:47 01/06/2024AND PRAISE AND WORSHIP YOU OUR FOREVER ONLY LORD AND SAVIOR MIGTHIEST HIGHEST POWERFULEST JESUS GOD SPIRIT 5IT CHRIST GOD SPIRIT IN HEAVEN AND EARTH AMEN AMEN IN HEAVEN AND EARTH AMEN AMEN 19:54 01/05/2024

  37. this is awesome

  38. That The Office easter egg was really cool

  39. Watching this to complete C in one night when my final exam is tomorrow. :vvv

  40. what to watch after this?

  41. hopefully I pass I got 6 days for my finals

  42. #include <stdio.h>

    #include <stdlib.h>

    int main()

    {

    int n;

    printf("Enter the number of characters:");

    scanf("%d", &n);

    char characters[n];

    printf("Enter the characters string:");

    scanf("%s", characters);

    printf(characters);

    }

    input is n=3 and characters=abcdef
    Output is abcdef
    How and why does the characters variable accept a string with size greater than n??
    Shouldnt the output be abc??

  43. If you are "THE OFFICE" series Fan, jump to 3:38:26

Leave your thought here

Your email address will not be published. Required fields are marked *

Enable Notifications OK No thanks