C Programming Tutorial for Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 พ.ย. 2024

ความคิดเห็น • 7K

  • @freecodecamp
    @freecodecamp  4 ปีที่แล้ว +1723

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

    • @S.Melectric
      @S.Melectric 4 ปีที่แล้ว +19

      wrうぇyr

    • @S.Melectric
      @S.Melectric 4 ปีที่แล้ว +8

      dgdgつrytgyfsrlvhjfsっghdりersghdhusjr

    • @johnnyvincent8966
      @johnnyvincent8966 4 ปีที่แล้ว +108

      @@S.Melectric
      Aaaa

    • @LYJManchesterUnited
      @LYJManchesterUnited 4 ปีที่แล้ว +43

      Hey for the last part of reading a file could you help me understand how it i want to seperate the two strings "Jim", "Salesales" and put them in seperate arrays but instead of a comma it has a space in between ? Would greatly appreciate thanks !

    • @sanjaysanjaysanju4672
      @sanjaysanjaysanju4672 4 ปีที่แล้ว +1

      Aaaaaaaaaaaaqaq q qaaaqaqaqaqqaaqqa Lee aqp@

  • @ewjh_26
    @ewjh_26 4 ปีที่แล้ว +6458

    For people still confused on Pointers, I thought of a little analogy:
    Say your friend wants to know where you live. Think of your hometown as memory, with lots of houses being stored (variables), and addresses to locate them (pointers). You wouldn't show your friend, say, a picture of your house and expect them to find it quickly. Therefore, you would give your friend your house's address (a pointer), so they can locate it easily.
    Now, let's put it to proper terms.
    C wants to know what the variable you're referring to is. You have memory, with lots of variables being stored, and addresses to locate them. You can't give C your variable name and expect C to find it amongst all of your other variables, so you refer to its address as a pointer so C can easily locate it.
    Hope this helped :)
    Edit: thanks for all the love this comment got

    • @TheClipsGuy69
      @TheClipsGuy69 3 ปีที่แล้ว +46

      Thanks

    • @gouenjishuuya7332
      @gouenjishuuya7332 3 ปีที่แล้ว +27

      Thanks dude

    • @oliverszegedi7575
      @oliverszegedi7575 3 ปีที่แล้ว +17

      Thanks G!

    • @iemaj
      @iemaj 3 ปีที่แล้ว +50

      i literally learned pointers this same way 3 years ago

    • @Ajisai5987
      @Ajisai5987 3 ปีที่แล้ว +22

      Still confused

  • @womenshealthover5022
    @womenshealthover5022 4 ปีที่แล้ว +2799

    I am 51 year old woman, who studied computer science at school. I really loved it, but then I got a rubbish computer science teacher and destroyed my love of the subject. I am now studying your course because I want to become a computer programmer. Thankyou for not putting ads in and for being an amazing, to the point, no waffle teacher. Honestly you are a good man and are truly inspiring people of all ages, sexes and nation xxxxx

    • @savagescientist3835
      @savagescientist3835 4 ปีที่แล้ว +238

      There is no age requirement for education :“Seek knowledge from the Cradle to the Grave”
      Good Luck :)

    • @kavorka8855
      @kavorka8855 4 ปีที่แล้ว +57

      best wishes to you!

    • @womenshealthover5022
      @womenshealthover5022 4 ปีที่แล้ว +29

      @@savagescientist3835 Thankyou x

    • @womenshealthover5022
      @womenshealthover5022 4 ปีที่แล้ว +61

      @@kavorka8855 Thankyou my children have told me to go for it. Young people are amazing and limitless. Unfortunately we lose that and get frighten as we get older !

    • @mgm153
      @mgm153 4 ปีที่แล้ว +55

      43 y/o applied math/stats person going into C. Good luck getting back to it! I love hearing about people who are lifetime learners.

  • @jiteshkumarsahoo2830
    @jiteshkumarsahoo2830 4 ปีที่แล้ว +476

    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

  • @adebayoglover
    @adebayoglover 2 ปีที่แล้ว +1350

    You're just too detailed and sequential. If we had lecturers like you at all universities, we would be overloaded with programmers in the world. Thanks man

    • @mojeedazeez958
      @mojeedazeez958 2 ปีที่แล้ว +22

      seeing a felow Nigerian. Thank you Adebayo,you are right. I'm Afolarin!

    • @usssr1917
      @usssr1917 2 ปีที่แล้ว +9

      not really because the dude introduces structs before while loops XD

    • @alexstanley3378
      @alexstanley3378 2 ปีที่แล้ว +20

      tbf we are overloaded with programmers already

    • @heyphone7219
      @heyphone7219 ปีที่แล้ว

      youtube.com/@techtutorials8859

    • @kiidpoh
      @kiidpoh ปีที่แล้ว +2

      ​@@alexstanley3378 eh not really

  • @mariaalpis5776
    @mariaalpis5776 5 ปีที่แล้ว +1220

    *copy pasted from description because i use mobile
    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

  • @akapotatis9445
    @akapotatis9445 3 ปีที่แล้ว +10054

    Shoutout to other students trying to learn a semester of classes in 1 night, we can do it D':

    • @MarkBrathwaite
      @MarkBrathwaite 3 ปีที่แล้ว +331

      Lolll a programmer's life

    • @txshxrk
      @txshxrk 3 ปีที่แล้ว +79

      😂😂

    • @atifmujeeb7222
      @atifmujeeb7222 3 ปีที่แล้ว +172

      They teach c in uni?

    • @bhop47
      @bhop47 3 ปีที่แล้ว +126

      @@atifmujeeb7222 yeah, my uni just does one class of it and mixes the command line into the class.

    • @spidernh
      @spidernh 3 ปีที่แล้ว +37

      you literally can't watch this at night, it's completely white, if you try to watch it at night you will go blind
      or at day too

  • @top10tube94
    @top10tube94 4 ปีที่แล้ว +2402

    they designed an almost 4 hr tutorial and they have not given any ads though they can earn lots of money from ads ....this shows how much they care for their viewers they deserve 100M subs for sure ....totally loved their course .....thanks to the free code camp team...

    • @user-kx5es4kr4x
      @user-kx5es4kr4x 4 ปีที่แล้ว +2

      @@IndianPenTapperIPT yeah but it you need it to run your code, if you have a way to run C code with notepad++ then its fine to get notepad++

    • @JashXD
      @JashXD 4 ปีที่แล้ว +3

      quangluu96 what if u use default notepad for coding 😂😂😂😂😂

    • @armstrongtixid6873
      @armstrongtixid6873 4 ปีที่แล้ว +2

      @@IndianPenTapperIPT I don't know. If you have a Github account, you can use CS50 IDE or CS50 Sandbox, but you need to know a few terminal commands.

    • @armstrongtixid6873
      @armstrongtixid6873 4 ปีที่แล้ว +73

      Really? I got around 5 ads. Anyway, it was more than worth it, so I sat through the 2 minute ads happily to help them with ad revenue. Besides, they probably make money through merchandise as they are a non-profit organisation with free TH-cam videos, and their website membership is also 100% free.

    • @subodhthakur1144
      @subodhthakur1144 4 ปีที่แล้ว +41

      @Neil Dixit i watched this video 4 months ago there was no ad in between the video but now when I am watching this video ads are there.i think free code camp team took this comment seriously😂😅

  • @egygyerekegycsontjusztlasz3040
    @egygyerekegycsontjusztlasz3040 ปีที่แล้ว +554

    I knew nothing about programming a month ago, and this guy helped me pass the course

  • @WaveySerenity
    @WaveySerenity 3 ปีที่แล้ว +2239

    Literally this is what my 1st semester was all about and he even explained the topics better within just 3 hours!

  • @adrian716
    @adrian716 5 ปีที่แล้ว +312

    1 hour and 45 minutes in and I understand more than I understood in one semester at the university. You definitely know how to teach, straight to the point. Thank you!

  • @e1h4ck07
    @e1h4ck07 4 ปีที่แล้ว +409

    I got a 98% in my introduction to programming and algorithms class in C without reading any of the assigned material and SOLELY watching this video and googling a bit of logic so THANK YOU!!! HIGHLY recommend for beginners.

    • @RussellTeapot
      @RussellTeapot 3 ปีที่แล้ว +13

      NOICE

    • @aprilmisc
      @aprilmisc 3 ปีที่แล้ว +38

      i can barely understand my lecturer, thank god this guy exists

    • @sultanhanga
      @sultanhanga 2 ปีที่แล้ว +4

      are you software enginerr

    • @jcas
      @jcas 2 ปีที่แล้ว +1

      Well, you have already missed a lot.

    • @dhanajon5528
      @dhanajon5528 2 ปีที่แล้ว

      @@aprilmisc freaking same bro, and not to be offensive or anything but his accent and the way he speaks (not accent) is just so confusing

  • @brad-zy6fs
    @brad-zy6fs 10 หลายเดือนก่อน +13

    Yo been looking for a video like this for ages. EVERY other "beginner" video skips the first simple steps and starts off talking about stuff we noobz have no idea about. This dude is actually taking the time and it's very much appreciated!

  • @TimCrinion
    @TimCrinion 6 ปีที่แล้ว +538

    Dear Sir, you are truly talented at explaining things in a logical and intuitive order. I have started a couple of tutorials and quit because the teacher gives explanations where he refers to things he will explain, not things he has explained. This is the first C tutorial I have followed flawlessly, because each new lesson depends only on the lessons before. And you are great at making your audience feel confident they understand. Thank you!

    • @minulaperera609
      @minulaperera609 5 ปีที่แล้ว +3

      Tim Crinion totally agrees

    • @lukefox836
      @lukefox836 5 ปีที่แล้ว +3

      Speak for yourself. He repeats himself too much -- just take a breath dude.

    • @larrygall5831
      @larrygall5831 5 ปีที่แล้ว +47

      @@lukefox836 Let me guess. You already know C and are bored listening. This is a beginners course for people who might not have known what an IDE or compiler was before it. Maybe you were expecting a lesson for seasoned coders looking for lessons on C.

    • @why-fj2bs
      @why-fj2bs 5 ปีที่แล้ว +3

      @@leno7492am not an Indian. But i want you to fucking remove the comment. Dont fucking promote Racism and Islamophobia. Fucking stop it! If u dont wanna watch Indian tutorials, just DONT!

    • @thomashvnmusic
      @thomashvnmusic 4 ปีที่แล้ว +5

      @@leno7492 Indians are awesome. I have learned a lot from Indian tutorials in programming and computer related. I truly thank them and i'm grateful.

  • @prism1843
    @prism1843 3 ปีที่แล้ว +105

    this guy is everywhere. like how are u able to store that much language in ur head! crazyy respect!!!!!!!!

  • @manamahalo1
    @manamahalo1 3 ปีที่แล้ว +279

    I am a middle age woman who is trying to figure out what to do with my life after raising my 3 children. As I was taking CS50, my confidence dwindled, but this course did more than recovering my lost confidence. Thank you so much, you are such a fabulous teacher!!

    • @Vendzor
      @Vendzor 2 ปีที่แล้ว +6

      @@mschecter0078 I feel that man. We're all gonna make it

    • @PeteRockChronicles
      @PeteRockChronicles 2 ปีที่แล้ว +19

      Me too. CS50 has been tough. I took a break to consume some content on "basics" and this channel has been gold.

    • @alexthelion98486
      @alexthelion98486 2 ปีที่แล้ว +5

      YOU GOT THIS!!!

    • @kme3894
      @kme3894 ปีที่แล้ว +9

      hey fellow middle aged woman learning to code here! You rock!

  • @TheteachertalkwithMostaandFera
    @TheteachertalkwithMostaandFera ปีที่แล้ว +87

    the great thing about this course is that after every little part, he starts explaining previous functions as if it's the first time we see them and that makes it so much easier to instill those notions

  • @munibahmed3328
    @munibahmed3328 4 ปีที่แล้ว +5132

    Shout out to everyone who are trying to utilize this quarantine to do something productive.

    • @menamedmilk
      @menamedmilk 4 ปีที่แล้ว +45

      yass but I have to tho 😭

    • @tn0wl361
      @tn0wl361 4 ปีที่แล้ว +20

      ayy ya caught me!

    • @rezaulimam9449
      @rezaulimam9449 4 ปีที่แล้ว +13

      Why don't math functions like pow,sqrt work with %d

    • @tn0wl361
      @tn0wl361 4 ปีที่แล้ว +10

      @@rezaulimam9449 I believe you have to add the math library. I used the gcc compiler on linux and i ran into that error.

    • @mojajomix7244
      @mojajomix7244 4 ปีที่แล้ว +24

      i just wonna be hacker and fukk everyone up

  • @doctor-sajan
    @doctor-sajan 2 ปีที่แล้ว +122

    This video was absolutely brilliant for anyone wanting to learn C. I am writing a program in C for an assignment and only have very limited experience in R and Python. This video made C easy to understand and didn't overcomplicate it focusing on key aspects. Definitely recommend watching it if your interested!

  • @kenriccrasta8603
    @kenriccrasta8603 3 ปีที่แล้ว +1519

    engineering first year whole syllabus in 4 hrs
    NOICE

    • @ajazalmas7132
      @ajazalmas7132 3 ปีที่แล้ว +16

      Is dis enough for preparation fr our finals???

    • @kenriccrasta8603
      @kenriccrasta8603 3 ปีที่แล้ว +61

      @@ajazalmas7132 for practical yes but theory depends on ur textbook

    • @BiminKoju
      @BiminKoju 3 ปีที่แล้ว +4

      wait really?

    • @joelperpetua3929
      @joelperpetua3929 3 ปีที่แล้ว +80

      2 hours if you watch it 2x speed ;)

    • @099-lrds-csm5
      @099-lrds-csm5 3 ปีที่แล้ว +50

      @@joelperpetua3929 big brain

  • @NormaNsNs
    @NormaNsNs 8 หลายเดือนก่อน +4

    The most forwarding teacher on the earth. Straight to the point, precise, simple !!! We all want you as a TEACHER !!!

  • @pakapeta7772
    @pakapeta7772 2 ปีที่แล้ว +107

    1:03:30
    If you're using the code runner in VS Code and you're not getting the output you want, it's because you have to run the code in the Terminal instead of the Output. Go to Settings (Ctrl + ,), then search for "code runner", then turn on Code-runner: Run In Terminal.

    • @smarquis7
      @smarquis7 ปีที่แล้ว +14

      You're the reason I'm in the comments. THANK YOU!!

    • @pakapeta7772
      @pakapeta7772 ปีที่แล้ว +5

      @@smarquis7 happy to help. :)

    • @kokiouxristina6042
      @kokiouxristina6042 ปีที่แล้ว +3

      yoou are amazing!~!! i had a big problem with that one!!!!
      thank you very much!!!

    • @pakapeta7772
      @pakapeta7772 ปีที่แล้ว +4

      @@kokiouxristina6042 Happy to help :). Enjoy C.

    • @DaviSantos-yt2iz
      @DaviSantos-yt2iz ปีที่แล้ว +4

      A hero which don't uses cap. Thank u man

  • @osmantariq7998
    @osmantariq7998 5 ปีที่แล้ว +126

    21:00 variables
    32:27 Data types
    38:32 Printf
    45:23 working with numbers
    52:22 Comments
    56:01 Constants
    1:00:14 Getting User Input
    1:12:08 Building a Basic Calculator
    1:17:44 Building a Mad Libs Games
    1:26:32 Arrays/Variables
    1:36:44 Functions
    1:45:38 Return Statement

  • @stealthboy5767
    @stealthboy5767 2 ปีที่แล้ว +57

    Shout out to the people taking the initiative and doing this themselves.

  • @nimomungai6245
    @nimomungai6245 2 ปีที่แล้ว +121

    I had C in my last semester and I totally understood it because of you. Please do a Java tutorial, you are really great at this.

    • @nimomungai6245
      @nimomungai6245 2 ปีที่แล้ว

      @@transportenthusiast11 Thanks G

  • @cableguy5576
    @cableguy5576 3 ปีที่แล้ว +506

    This guy should be given the noble prize of programming and should be payed a million dollars to teach students in college
    This guy is truly a legend as well as freecodecamp

    • @verminted5243
      @verminted5243 3 ปีที่แล้ว +33

      He's taught me more in an hour than my lecturer in the first month of my programming semester.

    • @diegobrooks2790
      @diegobrooks2790 3 ปีที่แล้ว +3

      @@alephanull1953 just had to do it lol

    • @wateryagarvideos5186
      @wateryagarvideos5186 3 ปีที่แล้ว +5

      He taught C, C++, Python, Ruby.

    • @michaelclarence7352
      @michaelclarence7352 3 ปีที่แล้ว

      @@wateryagarvideos5186 wats is name?pls

    • @nyeinko3512
      @nyeinko3512 3 ปีที่แล้ว +1

      I agree

  • @Mr_Green_102
    @Mr_Green_102 3 ปีที่แล้ว +126

    I was always afraid of programming, because my teacher ruined my interest. After watching your tutorial, I want to learn programming again. You are a good teacher.

    • @Sama-lq2xg
      @Sama-lq2xg 3 ปีที่แล้ว

      hows it going tho

  • @gurnoorsingh7210
    @gurnoorsingh7210 4 ปีที่แล้ว +39

    00:21 Introduction
    01:35 Basics of computer programming
    03:49 Format specifiers
    06:31 First computer program
    07:27 Character sets & constants
    08:55 Basic data types, int, char & float
    09:52 Variable declaration & initialisation
    14:17 Basic operators
    17:12 Arithmetic instructions
    Arithmetic operations
    18:18 Addition,Subtraction,Multiplication & Division
    21:31 Area of Circle & Triangle
    24:23 Simple Interest
    25:44 Square & Cube
    26:51 Total & average
    29:00 SWAP two numbers
    Escape Sequences
    32:14 Theory
    34:26 Drawing a tree using escape sequences
    IF & IF ELSE
    35:19 Syntax
    40:17 Largest of two numbers
    41:02 Positive or not
    42:17 Greater or less than 10
    43:08 Even/odd
    44:09 Divisible by 5
    44:59 Multiple of 7
    45:45 Compare two numbers
    46:55 Logical operators
    50:07 3 numbers in ascending/descending order
    53:01 Calculate discriminant & roots of a quadratic equation
    54:29 Calculate grade
    56:22 Check marriage eligibility
    59:01 Conditional operators
    While & Do While Loop
    01:00:47 Why do we need loops
    01:02:24 DO-WHILE & WHILE loops Syntax
    01:03:49 WHILE vs Do-WHILE loop
    01:04:21 Increment & Decrement Operators
    01:07:39 N numbers in sequence
    01:09:53 N numbers in reverse order
    01:11:10 First N even numbers
    01:12:29 N odd numbers
    01:13:40 Reverse order of a number
    01:16:20 Sum of a number
    01:18:48 Armstrong or not
    For loops
    01:23:39 Syntax
    01:27:27 Table of given number
    01:29:40 Sum of a number
    FOR loops-Pattern Programming
    01:32:34 Pattern programming theory
    01:34:42 ◸ of *
    01:37:51 ◺ of *
    01:40:23 ◿ of *
    01:43:38 ◹ of *
    01:47:37 █ of *
    01:50:39 ▵ of *
    01:54:14 ▽ of *
    01:56:58 ♢ of *
    01:58:11 ◺ of numbers -vertical
    02:01:01 ◺ of numbers -horizontal
    02:02:51 ▵ of alphabets
    02:05:48 ▵ mirroring alphabets
    02:09:25 ◺ of integers with integer at the end
    Advance FOR Loop programs
    02:11:47 Factorial
    02:16:18 Prime numbers from range
    02:22:29 Prime or not
    02:27:43 Fibonacci series
    02:33:29 Print digits, alphabets using loops
    02:36:37 Factorial
    02:40:30 Average of numbers
    02:43:04 ASCII chart
    02:44:21 Rectangular pattern of *
    02:46:38 Rectangular pattern using ASCII characters
    Goto, break & Continue
    02:48:59 goto keyword
    02:51:12 break & continue keyword
    Switch case
    02:53:39 The syntax of the switch case-control structure
    02:55:54 Case-control structures in more detail
    02:59:30 Print integers in words
    03:00:36 Numbers in words in reverse order using switch case-control
    03:02:29 Perform arithmetic operations based on the users choice
    Functions
    03:04:06 What are functions?
    03:06:25 Parametrised functions
    03:09:18 Addition,subtraction,multiplication,division using functions
    03:11:54 Factorial,prime or not & Fibonacci series using functions
    03:14:07 Calculate square & cube using functions
    Arrays
    03:16:14 Theory
    03:18:11 Single dimensional arrays
    03:22:49 Accept array elements & reprint
    03:25:36 array elements in reverse order
    03:28:11 Addition of array elements
    03:30:05 Fibonacci series using arrays
    03:32:20 max+min of an array
    03:34:46 positive & negative elements of an array
    03:37:37 array in ascending/descending order
    Multidimensional arrays
    03:40:01 Theory
    03:43:55 Accept MxN matrix & reprint
    03:46:41 Add two MxN array matrices
    03:48:00 Add array elements of two-dimensional arrays
    03:49:10 Diagonal elements of a matrix
    03:51:00 Add upper matrix elements
    03:52:16 Add lower matrix elements
    03:53:42 Multiplication of matrices
    03:57:15 Transpose of the matrix
    Pointers
    03:58:57 What are pointers?
    04:00:53 Using pointers
    More on functions
    04:02:47 Call by value & call by reference
    04:06:49 Swap two numbers using parametrized functions
    04:09:48 Scope of a variable
    04:13:01 Recursion
    04:14:21 Fibonacci series using recursion
    04:18:30 Factorial using recursion
    04:21:12 Passing arrays to a function
    Strings
    04:25:12 What is a string?
    04:28:07 Inbuilt functions
    04:30:26 ASCII characters
    04:31:19 string reverse, length, uppercase, lowercase & copy
    04:33:06 Count alphabets, digits & symbols
    04:34:40 Compare two strings
    04:35:24 Concatenate two strings
    04:36:10 Length of string
    04:37:33 Copy a string from another
    04:38:39 String uppercase
    04:40:24 String lowercase
    04:41:25 Join two strings
    04:43:58 Count alphabets digits & symbols without using inbuilt functions
    04:45:25 Compare two strings without using inbuilt functions
    04:47:31 Count vowels
    04:48:39 Reverse a string
    04:50:36 Palindrome
    Structures
    04:52:34 What are structures?
    04:54:57 Create structure Employee, store values & reprint
    04:56:22 Array of a structure
    04:59:11 Structure within a structure
    File operations
    05:03:36 What are the files?
    05:08:06 Read+write to a file character by character
    05:12:33 Read+write to a file line by line
    05:15:23 Merge two files
    Command line arguments
    05:17:05 Theory
    05:18:50 Programs on command line arguments
    More
    05:21:46 Datatypes
    05:27:24 Escape sequences
    05:30:39 Type casting
    05:32:50 Enumeration
    05:35:30 Bitwise operators
    05:42:31 Unions

    • @lklemon1497
      @lklemon1497 4 ปีที่แล้ว +1

      thank you!

    • @abidhossain6555
      @abidhossain6555 4 ปีที่แล้ว

      thanks bro...awsome

    • @Sekhar_10
      @Sekhar_10 2 ปีที่แล้ว

      I can fell howmuch you have impressed with this tutorial...It makes u to write a comment like this...wonderful...👍🔖

    • @hannahkingori5703
      @hannahkingori5703 ปีที่แล้ว

      Thanks a lot and God bless

    • @rusuiorusui
      @rusuiorusui ปีที่แล้ว

      Wow Thanks a lot

  • @ryanporteous1135
    @ryanporteous1135 ปีที่แล้ว +30

    I’m 20 minutes in just trying to regain my confidence after being stuck on CS50x week 3, realising I have learned basically next to nothing. You explain everything so much better, although I’ve only just began this video, I can already tell it’s going to help me immensely. Thank you

    • @bellillechery2761
      @bellillechery2761 ปีที่แล้ว +4

      You and I both. I had to take a break from CS50x.

    • @rash5452
      @rash5452 ปีที่แล้ว

      hey can u plz help me in downloading c compiler the code they are saying to write is showing errors pleaseeeee!!!

    • @danyalqureshi9619
      @danyalqureshi9619 ปีที่แล้ว

      @@rash5452 What is the error? And what device are you using (Mac/Windows)?

    • @mayukhdas73
      @mayukhdas73 ปีที่แล้ว

      @@rash5452 just follow the steps he mentioned it should work for everyone.

    • @rossiemishra1210
      @rossiemishra1210 ปีที่แล้ว

      ​@@bellillechery2761yeah, like they use entirely different IDE that is different from the rest

  • @noicerone
    @noicerone 3 ปีที่แล้ว +49

    Essential shortcuts for CodeBlocks
    Use *Ctrl+D* to duplicate line in Codeblocks
    *Ctrl+Shift+C* to mark as comment
    *Ctrl+Shift+X* to unmark as comment

    • @jamesdickerson8645
      @jamesdickerson8645 2 ปีที่แล้ว +6

      Essential shortcuts for CodeBlocks
      Don't use CodeBlocks.

    • @mrtasins
      @mrtasins 2 ปีที่แล้ว

      @@jamesdickerson8645 use what

  • @CouchPotatoCrusader
    @CouchPotatoCrusader 5 ปีที่แล้ว +104

    I learnt more from this video than I did with 100 hours of class at college Thank you so much🙏🙏
    He is such a great teacher. I wish my teacher was at least 1% asgood as he is 😢😪

    • @testingbeta7169
      @testingbeta7169 5 ปีที่แล้ว +8

      it happens when you actually pay attention :P

    • @vespervenom2343
      @vespervenom2343 4 ปีที่แล้ว +6

      testing beta7 you’re an idiot. Everyone learns different other than just simply paying attention

    • @sdafsdaf4844
      @sdafsdaf4844 4 ปีที่แล้ว +1

      thats the time it takes to beat skyrim about 5 times

    • @conorcallaghan2057
      @conorcallaghan2057 4 ปีที่แล้ว +3

      Hey

  •  5 ปีที่แล้ว +73

    i thought I was gonna fail my c course this semester cause I wasn't understanding what my professor was saying but you changed my life. playing with code is actually fun for me now! i love you. ok bye.

    • @gnd8264
      @gnd8264 5 ปีที่แล้ว +2

      Same here m8

  • @Carl-tw1kb
    @Carl-tw1kb 2 ปีที่แล้ว +648

    Thank you Mike!, for all this courses and helping the people to improve in life, this is not a lot but one day I will make sure to help more people like you.

  • @shshht9
    @shshht9 5 ปีที่แล้ว +171

    I enrolled at university last year for bachelors in computer systems engineering so it obviously involves a lot of coding. I have never learned to code before and thanks to my lecturer in the first year, he completely ruined coding for me, by dodging all the basics🤬 Here I am in my second year, trying to make the impossible happen and learn C within 2 days so that I can submit an assignment that is solely based on it. Your tutorials are extremely helpful and I can finally hope to create a functional code. Thank you, I'm legit in tears 😭 Never understood C before or coding for that matter 😫

    • @Tom-yu9zg
      @Tom-yu9zg 5 ปีที่แล้ว

      Where is your university based?

    • @mk-3079
      @mk-3079 5 ปีที่แล้ว +2

      You good now??

    • @leno7492
      @leno7492 5 ปีที่แล้ว +4

      He offed himself 4 days after the post, he failed the exam and the whole university is talking about him

    • @racistlmao745
      @racistlmao745 5 ปีที่แล้ว

      @@leno7492 You mean he/she committed the big die? Why didn't he/she ask the professor to help him/her?

    • @leno7492
      @leno7492 4 ปีที่แล้ว

      @@racistlmao745 im not sure why he did it but he was in my computer science class and im pretty sure he had no friends

  • @moh-ban8141
    @moh-ban8141 4 ปีที่แล้ว +299

    dude mike knows every coding language Jesus

    • @h.l.69
      @h.l.69 3 ปีที่แล้ว +66

      He has probably watched all of his own tutorials.
      I would know, I'm pretty smart I think.

    • @Nobodyokbro
      @Nobodyokbro 3 ปีที่แล้ว

      Stop blasphemy

    • @anonymoususer734
      @anonymoususer734 3 ปีที่แล้ว +1

      @@h.l.69 do you use discord light theme?

  • @vjmc82
    @vjmc82 4 ปีที่แล้ว +35

    I'm taking CS50 online fro Harvard and your video really helped clear things up, THANK YOU!

    • @yashikasharma8455
      @yashikasharma8455 3 ปีที่แล้ว

      Same. Just started pset1 and I'm having troubles just doing "Hello" . I feel like a faliure

  • @carzetonao
    @carzetonao ปีที่แล้ว +13

    Programmers are the best type of people in the world, realistic, logic, no bias, focusing, problem oriented

    • @ivyndane10
      @ivyndane10 4 หลายเดือนก่อน

      Wooow because of this comment I will start my journey in programming as from today

  • @KiranNixon
    @KiranNixon 6 ปีที่แล้ว +410

    I had this video playing at 2 times speed and you have taught me more in 1 hour 53 minutes than my professor has taught me all semester! Thanksss!!!

    • @eyesnteeth1611
      @eyesnteeth1611 5 ปีที่แล้ว +9

      Same the double speed hack

    • @KaushalGrover
      @KaushalGrover 5 ปีที่แล้ว +4

      Same .....😅😅

    • @victoriaandrea3168
      @victoriaandrea3168 5 ปีที่แล้ว

      how do u do that?

    • @vincepetrovic8700
      @vincepetrovic8700 5 ปีที่แล้ว +2

      KNT Media Thanks for the idea. It was weird at first but it forced me to learn to pay attention better.

    • @hemantv1676
      @hemantv1676 5 ปีที่แล้ว +1

      @@victoriaandrea3168by changing playback speed this is a good idea I'm gonna try it

  • @lightningx10
    @lightningx10 4 ปีที่แล้ว +43

    Quick note with the if statements part, if you want to optimise your code as much as possible I suggest you learn logic true/false tables. It will avoid the double up that occurs from some of these examples.
    For instance the function for finding the max of 3 numbers could be simplified to the following.
    int max(int num1, int num2, int num3){
    if(num1 >= num2 && num1 >= num3){
    return num1;
    } else if(num2 >= num3){
    return num2;
    }
    return num3
    }
    This not only saves a few lines, it uses less variables, uses 1 less else statement and the second if statement is a much simpler computational task.
    Not really a big deal until your messing with imbedded hardware like arduinos, but still useful and good practice to try to make code run as quick as possible.

    • @eatmoregames5026
      @eatmoregames5026 4 ปีที่แล้ว +2

      Here's a note if anyone is reading this and wants to know of better ways to do things with loops:
      I think there's a better way for scalability reasons. First, I'd change my function so it accepted both an integer array and an integer called "length". I'd set max to be the first element, then I'd iterate through all the array elements and compare them to max. If a number is larger than max, set max to the new number. I'd loop until my index was equal to "length".
      If C arrays had a built-in length property, I'd remove the length parameter and just check if the index is less than Array.Length ;)

    • @lightningx10
      @lightningx10 4 ปีที่แล้ว +1

      @@eatmoregames5026 That's even better still!

    • @soraaoixxthebluesky
      @soraaoixxthebluesky 4 ปีที่แล้ว

      This what programmers call as an optimisation isn’t? This fewer lines of code will save lot of CPU and memory resource thus making the programme execute faster on the same hardware.

    • @Kncklcht
      @Kncklcht 4 ปีที่แล้ว

      I think the following would be even faster, as long as the compiler doesn't translate your function to this:
      int fastmax(int a, int b, int c) {
      return (a > b) * (a > c) * a + (b > a) * (b > c) * b + (c > a) * (c > b) * c;
      }
      It takes the result (0 or 1) of the comparisons and multiplies them with each other and the actual number.
      a = 1, b=2, c=3 will thus result in:
      (1 > 2) * (1 > 3) * 1 + (2 > 1) * (2 > 3) * 2 + (3 > 1) * (3 > 2) * 3
      or
      0 * 0 * 1 + 1 * 0 * 2 + 1 * 1 * 3
      Eliminating branches speeds up calculations, because your CPU can already load the following operations, because they will always be the same and not depend on whether the if-block or the else-block is going to be executed.

  • @unknown_unfound
    @unknown_unfound 3 ปีที่แล้ว +267

    Someone give this guy a medal for his amazing service to us noobs at c

  • @Gokul-di3vw
    @Gokul-di3vw 2 ปีที่แล้ว +4

    Started on 08-09-2022 and finished on 10-09-2022. This was my first class on programming. Thankyou Mike.

  • @_DikshaBhise
    @_DikshaBhise 3 ปีที่แล้ว +54

    great content! I appreciate how you've explained everything from scratch, that too in such a clear and precise manner. 3 hours down (took 6 to get here), and I'm still with you! your narration style is perfect, keeps you calm AND engaged. thank you!

  • @matheusfacin8735
    @matheusfacin8735 3 ปีที่แล้ว +147

    "People overcomplicate pointers, they don't have to be complicated"
    Next recomended video: "Pointers in C/C++" with 3 hours and 47 minutes of duration

    • @abdu47137
      @abdu47137 3 ปีที่แล้ว

      man this toturial is on point. simple and great

    • @joaocorreia9480
      @joaocorreia9480 2 ปีที่แล้ว

      The thunhnail scares me

  • @hoyalhugor4102
    @hoyalhugor4102 2 ปีที่แล้ว +57

    For those who cannot run the code in the section "working with numbers", you also need to put "#include " to include the math library in order for it to be defined and run without error.

    • @P4eZ1
      @P4eZ1 2 ปีที่แล้ว

      I didn't have that issue and I never imported the library. Is it not implied?

    • @hoyalhugor4102
      @hoyalhugor4102 2 ปีที่แล้ว

      @@P4eZ1 im not sure too, but I am using vscode and online repl. They need the import to work, at least for me.

    • @professornova1236
      @professornova1236 2 ปีที่แล้ว +1

      @@P4eZ1 Some functions may not require it, but it's best if I'm using stuff like sqrt() or pow()

    • @AProbablyPostman
      @AProbablyPostman 2 ปีที่แล้ว +1

      I think code:blocks might be generous with importing libraries, I'm on linux using notepadqq and I had to manually import as well.

    • @dimitsi553
      @dimitsi553 ปีที่แล้ว

      thank you brother !

  • @yuraahrblx
    @yuraahrblx หลายเดือนก่อน +7

    bro I read the comments and surprised to see that alot of people came to this video while they were asleep

  • @sreyascu
    @sreyascu 4 ปีที่แล้ว +119

    2:29:10 - Jim's a business major and Pam's an art major. Guess someone's a big "The Office" fan xD
    EDIT - 3:38:43 - haha guess I was right

    • @GY9944
      @GY9944 3 ปีที่แล้ว +3

      Haha you should see his SQL Tutorial video - it's the entire "The Office" lore explained with SQL

    • @sreyascu
      @sreyascu 3 ปีที่แล้ว

      @@GY9944 lmao

  • @K.etanak
    @K.etanak 2 ปีที่แล้ว +7

    I major in electrical engineering.and I have an internship that is required C programming next week,tho.This is a life saver.Thanks a bunch.

  • @nametakenfan
    @nametakenfan 4 ปีที่แล้ว +21

    Thank you! I really wish I had started here when learning C - I have tried so many courses and materials to learn C and this finally made everything stick/filled in the gaps. I know some people are commenting about all the times you mentioned that "A pointer is just a memory address, that's all" but I (and I'm sure others) have gotten so many complicated explanations about pointers that it's really helpful to hear multiple times.

  • @mikelicel319
    @mikelicel319 ปีที่แล้ว +2

    This guy made me start and love programming.
    He taught me html and css.He is a LEGEND AND MAY Allah continue to bless you

  • @rolandocalisthenics3754
    @rolandocalisthenics3754 3 ปีที่แล้ว +28

    this dude dont even say thank u for watching and subscribe at the end, what a legend.
    Thanks ma man

  • @rachelyoung1225
    @rachelyoung1225 3 ปีที่แล้ว +39

    Just wanted to say THANK YOU!!! I have learned more in this 4 hour course then I have the entire 5 weeks class I just did.

  • @Pranavryan
    @Pranavryan 3 ปีที่แล้ว +21

    I'm a graduate and through out this pandemic , I developed an interest in programming as i never understood programming . During my 4 years of engineering our professor couldn't make us interested in this subject. Your approach is very friendly , keep up the good work.

    • @nilsodor
      @nilsodor 3 ปีที่แล้ว

      Hi!
      What field did you graduate in?
      And how come you didn't "learn" programming, like how would you pass a programming course that way lol... Anyways this video was frigging awesome to learn from!

    • @Pranavryan
      @Pranavryan 3 ปีที่แล้ว +3

      @@nilsodor Hi, My stream was Electronics's & communication , I somehow managed to pass 😏.

    • @nilsodor
      @nilsodor 3 ปีที่แล้ว +2

      @@Pranavryan oh ok, thanks! I haven't started my program just yet but I'm a bit baffled to how many with actual software graduates, still seem uncertain about the basics... I'm just gonna sit here for 5 years and grind different concepts, I would expect to learn at least something impressive lol.

    • @Pranavryan
      @Pranavryan 3 ปีที่แล้ว +3

      @@nilsodor Everyone looks to complete the course and jump on to practice but nobody deep dive into the concepts. Cheers 👍🏼

    • @alejandroperez7081
      @alejandroperez7081 ปีที่แล้ว

      How are you doing now? I'm also trying to start in software engineering

  • @dmcmahondm
    @dmcmahondm ปีที่แล้ว +4

    this guy did in less than 4 hours what my professors couldn't do in entire semesters, made an effective and easily digestible lesson. I like that the sections and the examples in them were concise but still included thoroug explanations whenever there was something unfamiliar on the screen.
    a big misstep that a lot of professors do is either assume you already know certain things, or don't care whether you do or don't, and then they sprinkle in these seemingly random ideas you've never seen before with what they're trying to teach you and don't actually bother to explain them.
    this man did a fantastic job communicating these concepts, thank you very much for offering your teachings, good sir!

    • @ow_lando
      @ow_lando ปีที่แล้ว

      winton overwat

    • @dmcmahondm
      @dmcmahondm ปีที่แล้ว

      @@ow_lando Winton approves

  • @minimusic6645
    @minimusic6645 3 ปีที่แล้ว +405

    Just finished this amazing course! Since I had previous experience with python, I was familiar with most of the concepts in this video, and this made me pretty confident in coding in C. And the fact that it is 100% free really amazes me. Great content out there!

    • @shyamgandi9450
      @shyamgandi9450 2 ปีที่แล้ว

      Can u please suggest python best channel

    • @recsomeasylum3353
      @recsomeasylum3353 2 ปีที่แล้ว +21

      @@shyamgandi9450 this same channel

    • @Telugu_vaadini
      @Telugu_vaadini 2 ปีที่แล้ว +2

      Some say that learn python after learning c#.. are you sure.. can I learn python first?

    • @yes-vy6bn
      @yes-vy6bn 2 ปีที่แล้ว +7

      @@Telugu_vaadini python is usually the first language people learn

    • @hansasithuruwan2683
      @hansasithuruwan2683 2 ปีที่แล้ว +3

      @@Telugu_vaadini Yeah, Python is less complicated than this.

  • @samuelcollier1764
    @samuelcollier1764 2 ปีที่แล้ว +25

    I just finished watching the entire tutorial. It's very helpful and Mike explains the content very well. I've definitely learned a lot and would highly recommend this to others if you haven't watched this already.

  • @zinamoraa1204
    @zinamoraa1204 4 ปีที่แล้ว +2804

    A programmer was going out and his wife to him "While you are outside, please buy some milk". The programmer never came back.

    • @mixagames5425
      @mixagames5425 4 ปีที่แล้ว +196

      this actually made me laugh and now i feel like a nerd haahahah

    • @user-nz4dr1sy5g
      @user-nz4dr1sy5g 4 ปีที่แล้ว +17

      @@mixagames5425 same

    • @cosmiclyrics2307
      @cosmiclyrics2307 4 ปีที่แล้ว +92

      Didn't get it? Can someone explain it to me? I'm a civil Engineer wanting to switch to IT, so it'll be nice if someone clears this up, coz this looks kind of a technical pun

    • @mixagames5425
      @mixagames5425 4 ปีที่แล้ว +550

      @@cosmiclyrics2307 The while loop repeats a certain code inside it while the statement provided is true. In this case while you're outside, which will be true forever because once the men goes outside there's nothing to evaluate that statement to false. So he will just continue buying milk in a loop. Hope that clears it up.

    • @cosmiclyrics2307
      @cosmiclyrics2307 4 ปีที่แล้ว +91

      @@mixagames5425 ohhhh now that you mentioned it, its looking so obvious! Thanks for the explanation 👍. Gotta keep working on my skills

  • @oltechacademy7851
    @oltechacademy7851 ปีที่แล้ว +18

    If you've just started learning C programming, congratulations on taking the first step! C is a powerful and widely-used programming language, and mastering it can open up many opportunities. Here are some tips to help you along your learning journey:
    1. Understand the Basics: Begin by grasping the fundamental concepts of C programming, such as variables, data types, operators, control structures (if-else, loops), and functions. Build a strong foundation in these core concepts before moving on to more advanced topics.
    2. Practice, Practice, Practice: The key to becoming proficient in programming is to write code regularly. Solve coding problems, work on small projects, and experiment with different concepts. The more you practice, the better you'll understand the language.
    3. Break Down Problems: When faced with a programming challenge, break it down into smaller, manageable parts. Solve each part step by step, testing and debugging as you go. This approach will make complex problems more approachable.
    4. Read and Analyze Code: Study well-written C code to understand how experienced programmers structure their programs, use libraries, and implement algorithms. Reading and analyzing code will improve your understanding and expose you to different coding styles.
    5. Use a Good IDE: Choose a reliable Integrated Development Environment (IDE) that provides features like code highlighting, auto-completion, and debugging tools. Popular options for C programming include Code::Blocks, Dev-C++, and Visual Studio Code with C/C++ extensions.
    6. Understand Memory Management: C gives you manual control over memory management. Learn about concepts like stack and heap memory, pointers, and memory allocation functions like malloc() and free(). Proper memory management is crucial to avoid memory leaks and unexpected behavior.
    7. Debugging Skills: Debugging is an essential skill in programming. Learn how to use a debugger to step through your code, set breakpoints, and examine variables. Understanding the debugging process will help you identify and fix issues more efficiently.
    8. Join a Community: Engage with fellow C programmers by joining online forums, coding communities, or local meetups. Interacting with others who are learning or already proficient in C can provide valuable insights, code reviews, and support.
    9. Read Documentation: Make it a habit to read the official C documentation, like the C standard library functions and language specifications. Understanding the available functions and their usage will help you write more efficient and robust code.
    10. Keep Learning: Programming languages and technologies evolve over time. Stay up to date with the latest C programming trends, new features, and best practices. Explore additional resources like books, online tutorials, and video courses to enhance your knowledge.
    Remember, learning programming takes time and effort. Don't get discouraged by challenges or mistakes. Embrace them as opportunities to learn and improve. With dedication and consistent practice, you'll become a skilled C programmer. Good luck!

    • @jadendobbs
      @jadendobbs ปีที่แล้ว +1

      This sounds exactly like ChatGPT lol, although these are good tips so I'm not complaining.

  • @0_-
    @0_- 4 ปีที่แล้ว +21

    I have learned python from you, and now I'm about to learn C from you. Thank you for teaching me these wonderful programming languages.

  • @Camizer
    @Camizer 2 ปีที่แล้ว +34

    This is almost 3 months of my first c course in college. Very usefull, glad I could remember it in a very simple way.

  • @LeGranDuck
    @LeGranDuck 2 ปีที่แล้ว +303

    I passed my exam with your help

    • @Thugzic
      @Thugzic 9 หลายเดือนก่อน +23

      yoo bro really sent a tip lol

    • @sssyt4837
      @sssyt4837 9 หลายเดือนก่อน +14

      Bro sent 2 cents

    • @sheriffyekini235
      @sheriffyekini235 9 หลายเดือนก่อน +12

      Bro actually sent 2 pounds

    • @tao5331
      @tao5331 8 หลายเดือนก่อน +17

      Idk if y'all joking but it's 2 euros

    • @sanderenger5742
      @sanderenger5742 8 หลายเดือนก่อน +5

      He actually just tipped 2 pesos

  • @spidey2049
    @spidey2049 5 หลายเดือนก่อน +9

    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)
    Day 7: 2:07:09 to 2:29:43 (I've learnt alot at school too but structs are new )
    Edit: I'm kinda busy but we're learning to code in C at school but I'll continue soon.

    • @dabhinikhil7315
      @dabhinikhil7315 5 หลายเดือนก่อน

      So you quit

    • @spidey2049
      @spidey2049 5 หลายเดือนก่อน

      @@dabhinikhil7315 huh? No lol, im doing my day 3 today

    • @nweed4449
      @nweed4449 4 หลายเดือนก่อน

      @@spidey2049 why u quit

  • @leonheartsss
    @leonheartsss 3 ปีที่แล้ว +26

    50:37 I had to include to get the power function to work
    1:41:05 I had to move the sayHi function before my main to make it work

    • @nico371
      @nico371 2 ปีที่แล้ว +2

      I’m still not sure how pow() or sqrt() worked without him including the math library

    • @karatepants2959
      @karatepants2959 2 ปีที่แล้ว

      thankyou the sayHi part was bothering me as to why it was still considered "undefined"

    • @wirelessbluestone5983
      @wirelessbluestone5983 2 ปีที่แล้ว

      @@karatepants2959 I think he included a forward reference somewhere and forgot to mention it

    • @udhavvarma7097
      @udhavvarma7097 2 ปีที่แล้ว +1

      You need to atleast declare a function called in main before main (or inside main). The definition may still be placed later.

    • @JanithKavinda
      @JanithKavinda 2 ปีที่แล้ว +2

      Thank you so much. sayHi was bothering me too. it works in code blocks but not works in VSCode etc.

  • @kristiet8962
    @kristiet8962 3 ปีที่แล้ว +7

    You are amazing for making this video. My programming class got put online randomly and my teacher does not actually teach anything. He just has a 600 page powerpoint instead. You are so much more helpful.

    • @mahesh1124kingo
      @mahesh1124kingo 2 ปีที่แล้ว +1

      Btw I love you ❤️😍

    • @kristiet8962
      @kristiet8962 2 ปีที่แล้ว +2

      @@mahesh1124kingo go touch some grass

  • @vladislavfilippov1722
    @vladislavfilippov1722 4 ปีที่แล้ว +9

    1:29:20 Only LOST Fans will get it! Dude you rock!!! I have never seen a programmer with such a confident, relaxed and smart attitude! Thank you for making all these tutorials!

  • @youssefmourad-sm7gl
    @youssefmourad-sm7gl ปีที่แล้ว +8

    i am actually a data science student. it was because of you that i fell in love with python. now that i am learning C i came back to watch once again your tutorial. keep going bro. you're the best so far. hope you'll read my comment.

    • @candelarialuna6593
      @candelarialuna6593 ปีที่แล้ว

      hi! i am exactly in the same situation as you. did you find another good video like this one to learn C? thanks

  • @christiancoder454
    @christiancoder454 4 ปีที่แล้ว +132

    You explained my ENTIRE C course in 1 video. Why do I even attend colleg elol

    • @myhugedeck8518
      @myhugedeck8518 3 ปีที่แล้ว +14

      I don't know either! My mid sem is in 1 week. This one video was enough

    • @darchendon7926
      @darchendon7926 3 ปีที่แล้ว +14

      the honest answer of attending college?
      Networking
      *shudders in introverted aspie horror*

    • @Cobalt985
      @Cobalt985 3 ปีที่แล้ว

      I'm actually learning this in the hopes of landing a future job without going into debt! Probably not with C though, I like to understand how things work to better use them, I figure learning C is about the equivalent of that.

    • @ChrisJones-rd4wb
      @ChrisJones-rd4wb 3 ปีที่แล้ว

      lol he explained about 1 week of my assembly and computer structure class

    • @aprilmisc
      @aprilmisc 3 ปีที่แล้ว +1

      lmao im asking myself this question every single day

  • @telugutechtuts
    @telugutechtuts 5 ปีที่แล้ว +5

    This is truly a great channel man. He can actually keep ads and make some money but he didn't. He is really a great teacher. Thank you sir.

  • @DanNguyen-es2jl
    @DanNguyen-es2jl 3 ปีที่แล้ว +9

    I love you so much bro, you are my savior! I spend the whole morning learning C++ from you with just experience from using Lua. I took the C++ placement test this afternoon and got a 70.45% (70% to skip the fundamental class 1336). I get to skip a 4-hour semester class with just 4 hours from you man.

  • @cipicm
    @cipicm ปีที่แล้ว +2

    i just watched this before my exam and its 2 am rn, having exam at 11am this same day and i can say this is very helpfull for just one time listening. actually insane and i love you guys. keep up the work im gonna come back here. got yourself a new sub

  • @triparnadasgupta5876
    @triparnadasgupta5876 5 ปีที่แล้ว +16

    Hey, Wooow such an amazing teacher, he teaches C language so scientifically, that it's actually relaxing and confidence boosting to learn from his course.

  • @niania4158
    @niania4158 4 ปีที่แล้ว +239

    This guy is brilliant. He makes me believe that I'm literally capable of learning programming language LOL

    • @niania4158
      @niania4158 3 ปีที่แล้ว +2

      @x XGeneric420X x Thanks!!

    • @tomelex1838
      @tomelex1838 3 ปีที่แล้ว +20

      That is just a syntax, anyone is capable of understanding it, even the greatest of dimwits. There is much more depth to actually using this knowledge to solve the problems and program

    • @rapidecho5705
      @rapidecho5705 3 ปีที่แล้ว +7

      @@tomelex1838 yes, to build massive program, a lot of logical and analytical thinking is required

    • @sorinsanda7529
      @sorinsanda7529 3 ปีที่แล้ว

      Huh jhbn

    • @shengos6122
      @shengos6122 3 ปีที่แล้ว

      u are

  • @lunghunglin5729
    @lunghunglin5729 4 ปีที่แล้ว +11

    I want to show my appreciation and respect to the instructor and all the organizing team to let this awesome tutorial to be able to put on TH-cam.
    I had a great time learning this language, and it really did help me a lot!
    Thanks again for this awesome journey!!
    Love from Taiwan.

  • @moriomsultana5297
    @moriomsultana5297 8 หลายเดือนก่อน +3

    I just finished this full tutorial. This is my first programming language that I learnt. Thank you so much for such detail oriented work. Really appreciate it. ☺

    • @induwaradamsith286
      @induwaradamsith286 8 หลายเดือนก่อน

      HEY THIS VIDEO INCLUDE ARTHMETIC OPERATORS?

  • @toanta4838
    @toanta4838 3 ปีที่แล้ว +21

    Even I just know a little English, but I still get your lesson in a clear way! Thanks a lot for your English accent particularly and your knowledge in general!

  • @CryptoxicWoW
    @CryptoxicWoW 5 ปีที่แล้ว +200

    This dude has taught me more stuff in 3 hours than my prof in 3 years

    • @anorakquest4004
      @anorakquest4004 5 ปีที่แล้ว +4

      im going to kill myslef

    • @DurosModz
      @DurosModz 5 ปีที่แล้ว +3

      @@anorakquest4004 oh

    • @westonwheeler2311
      @westonwheeler2311 5 ปีที่แล้ว +8

      @Corey Hamilton I hate you

    • @sportshighlights8708
      @sportshighlights8708 5 ปีที่แล้ว

      same

    • @catchmeoutsidehowboutdat9131
      @catchmeoutsidehowboutdat9131 4 ปีที่แล้ว +2

      please if you are joking about killing urselves it's not funny but if you are serious both of you pleaaaase don't
      i promise it gets better, no matter how hard it is now.

  • @ido2267
    @ido2267 5 ปีที่แล้ว +59

    I can't believe I spent 30$ on a course in udemy when this video is so much better

    • @staffordnelson9053
      @staffordnelson9053 4 ปีที่แล้ว +1

      stop being stingy!

    • @sdafsdaf4844
      @sdafsdaf4844 4 ปีที่แล้ว

      @@staffordnelson9053 stop being so sad ur mom died

    • @staffordnelson9053
      @staffordnelson9053 4 ปีที่แล้ว +4

      @@sdafsdaf4844 Yu need to apologize for callin my moms name on this...

    • @megibit
      @megibit 4 ปีที่แล้ว +2

      לומדים מטעויות

    • @staffordnelson9053
      @staffordnelson9053 4 ปีที่แล้ว +1

      @@thexzavier8283 my mother was murdered over land dispute.It's sad beyond any words can say.

  • @freshhan
    @freshhan ปีที่แล้ว +4

    C Programming Tutorial for Beginners
    ⌨ (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

  • @Mr78javi
    @Mr78javi 4 ปีที่แล้ว +4

    Thanks for this free course, I am begining with C and the truth is that I have been having problems with the algoritms. The course has been very interesting and very useful. Thanks for all.

  • @TemperedWambat
    @TemperedWambat 5 ปีที่แล้ว +349

    Me: trying to watch this video.
    youtube recommended: not everyone should code.

    • @Dhruv-qw7jf
      @Dhruv-qw7jf 4 ปีที่แล้ว +8

      PolyMatter, right?

    • @АлександрБолбат-ы1у
      @АлександрБолбат-ы1у 4 ปีที่แล้ว +10

      Next video: Please, stop coding!

    • @notaplic8158
      @notaplic8158 4 ปีที่แล้ว +6

      @@Dhruv-qw7jf yes, i am taking offence right now

    • @penguish
      @penguish 4 ปีที่แล้ว

      Omg lol. This just happend to me right now. xD

    • @attendez1700
      @attendez1700 4 ปีที่แล้ว +1

      Literally the first one

  • @rajeevsinghrajput6752
    @rajeevsinghrajput6752 5 ปีที่แล้ว +21

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

  • @SOLVANSMARTSOLUTIONS
    @SOLVANSMARTSOLUTIONS ปีที่แล้ว +2

    More than a year ago, I learnt HTML from this guy and I'm still doing it but now I'm moving to embedded systems engineering and I'm here via a recommendation, wish me luck

  • @mankaransingh2599
    @mankaransingh2599 6 ปีที่แล้ว +51

    Great tutorial ! if you have learned some another language before, just watch at 1.5x speed ! epic!

    • @pradyumankannan6802
      @pradyumankannan6802 6 ปีที่แล้ว +1

      nice idea thnx

    • @imperialguardsman3154
      @imperialguardsman3154 6 ปีที่แล้ว

      @@pradyumankannan6802 Most useful comment :D Thanks :D

    • @onesandzeroes
      @onesandzeroes 5 ปีที่แล้ว

      1x is fine with me, thanks.

    • @minilab9030
      @minilab9030 5 ปีที่แล้ว +2

      agreed...watching at 1.5x is ideal. 2x is comic...1x and 1.25x too slow if C is not your first language

    • @samhenden
      @samhenden 5 ปีที่แล้ว +1

      2x speed worked for me, and I've never written any of my own code in my life...

  • @rodrigonovelo6768
    @rodrigonovelo6768 3 ปีที่แล้ว +18

    Thanks Dude! This video is really getting me into C basics, as a complete begginer and starting to study Computer Science you helped me a lot! Still half a video to watch and at this point I feel that I'v learned so much! My journey beggins here. You were part of it, thank you.

  • @valeriapinto5685
    @valeriapinto5685 4 ปีที่แล้ว +1117

    here to learn everything our professor failed to teach us :p

    • @Progamezia
      @Progamezia 4 ปีที่แล้ว +3

      what,no,i like this course

    • @trevorlastname2139
      @trevorlastname2139 4 ปีที่แล้ว +2

      @Kley christ

    • @kindledmetaphor
      @kindledmetaphor 4 ปีที่แล้ว +2

      @Kley Same... ;-;

    • @saadfathallah5043
      @saadfathallah5043 4 ปีที่แล้ว +11

      im on my first semester of computer science science we have a subject called c programming do you think i will succeed by learning from this vid ??

    • @dijlexs9933
      @dijlexs9933 4 ปีที่แล้ว +28

      @@saadfathallah5043 Well you will grab majority of the concepts you require, its definitely worth while watching. However, you would have to be creative, you should be able to use everything taught in the video and understand what each thing is doing. Because with university/college, you would be given something to do, and it would require you to use many different kinds of the coding taught in C, to be able to create the program they asked for. So memorising how the code goes about wouldn't help at all. Don't memorise, understand what you’re exactly doing, is what im saying in summary.

  • @kitsqui5829
    @kitsqui5829 4 วันที่ผ่านมา +2

    I fell asleep to this randomly and it wasn't bad, your voice was great background noise

  • @Joddasoap
    @Joddasoap 3 ปีที่แล้ว +43

    Hey man! Thanks for taking the time to put this together! I am stuck in quarantine without a job atm and decided now might be a good time to learn coding like I have thought for a while, I studied a bit of C# in high-school, but it was a while ago now and this was a very good starter video explaining the basics. :)

    • @NTD44
      @NTD44 3 ปีที่แล้ว +8

      how's it going? how far did you make it?

    • @Nana-eq5bq
      @Nana-eq5bq 2 ปีที่แล้ว

      How's going did u get any job

  • @AliAbbas-of2vq
    @AliAbbas-of2vq 6 ปีที่แล้ว +260

    char praise[ ] = "the best";
    printf("This channel is %s", praise);

    • @zandovic
      @zandovic 5 ปีที่แล้ว +27

      instead of just
      printf("This channel is the best");

    • @SalvaLovesJesus04
      @SalvaLovesJesus04 5 ปีที่แล้ว +41

      @@zandovic it makes it cooler :D

    • @lightingstrike7285
      @lightingstrike7285 5 ปีที่แล้ว +15

      @@zandovic Where is the fun in that?

    • @rizzcow6969
      @rizzcow6969 4 ปีที่แล้ว +1

      Inefficient. This is unacceptable.

    • @hasindudilshan6090
      @hasindudilshan6090 4 ปีที่แล้ว

      putchar('
      ');

  • @gennariromeo6112
    @gennariromeo6112 3 ปีที่แล้ว +29

    Big thanks for producing such a massive lesson AND subtitling it during almost 4 hours !

    • @johnschmid2436
      @johnschmid2436 3 ปีที่แล้ว

      The subtitles are generated automatically by an internal program bud. It's a youtube feature; the content creator has nothing to do with it.

    • @bakugo4062
      @bakugo4062 3 ปีที่แล้ว +7

      @@johnschmid2436 Author subtitled 3 languages by himself. Check it one more time

    • @rc8s
      @rc8s ปีที่แล้ว

      They're auto-generated using a different service, although not TH-cam's. I have a lot of experience with captioning.

  • @劉艾瑪-h8g
    @劉艾瑪-h8g 2 หลายเดือนก่อน +4

    Some people passed their exams with this, I passed the night with this. Good morning TH-cam algorithm

  • @excelljbills8894
    @excelljbills8894 2 ปีที่แล้ว +10

    I have been stuck on Week 2 of CS50x longer than I'd like to say and using this course for supplementary understanding has help me gain SO MUCH clarity on the topic. Better than the Harvard class if you ask me by far! Thank you!

  • @mzterzi
    @mzterzi 5 ปีที่แล้ว +4

    Your way of explaining and teaching is awesome. Some one with virtually no programming experience like me can learn programming. Thank you for your efforts.

  • @alederdiablo3189
    @alederdiablo3189 4 ปีที่แล้ว +256

    Me after 4 hours: "Remember : the pointer is just a memory address."

  • @faithakanga
    @faithakanga 3 ปีที่แล้ว +5

    Gosh this guy's amazing, like he gives the little pertinent details, i'm amazed. this really helped. keep up with this. you deserve the best for saving a lot of people, especially students

  • @teom5666
    @teom5666 6 ปีที่แล้ว +86

    Best tutorial EVER.... The tutorial is AWESOME, this guy is an awesome teacher....... no words.

  • @AFourEyedGeek
    @AFourEyedGeek 4 ปีที่แล้ว +5

    This video is very useful, thank you for helping me refresh my memory.
    I noticed in the For Loop, you don't need the 'int i = 1' before the For Loop, you can use 'for (int i = 0; i < 6; i++)', which allows for one less line.

    • @zippygiggles7520
      @zippygiggles7520 4 ปีที่แล้ว

      i suggest one more channel. mind your processor. try it

  • @1873Winchester
    @1873Winchester ปีที่แล้ว +16

    Coming from a c#/js background here and it's interesting how familiar everything is! Like there are some "quirks" but otherwise it's all very familiar, more than I thought given the age differences. Switch statement seems to be identical. Struct seems to be a model but probably only superficially.

  • @peatlatakia6308
    @peatlatakia6308 3 ปีที่แล้ว +13

    Wow, this video basically teaches an entire semester length, beginner level course in only a few hours. Immensely helpful, thanks.

  • @triparnadasgupta5876
    @triparnadasgupta5876 5 ปีที่แล้ว +7

    Such systematically crafted and designed course. Thank You so much Sir, you explained everything so flawlessly, now I am feeling confident of scoring full marks in my college exam.

  • @BigDreamer
    @BigDreamer 6 ปีที่แล้ว +107

    your video is the best C tutorial i can find on TH-cam. Thank you so much

  • @terrenceolivido741
    @terrenceolivido741 ปีที่แล้ว +2

    I remember Mike starting these tutorials 2 years ago. I was lying in bed listening to this today and i was like " who is this guy?" Everything seemed to flow so naturally and conversationally. This is a masterpiece of teaching that only 1-in-a-thousand teachers will ever achieve. If he was a University level teacher, his work would be sought out and legend. Unbelievable.