C Programming Tutorial for Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ม.ค. 2025

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

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

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

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

      wrうぇyr

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

      dgdgつrytgyfsrlvhjfsっghdりersghdhusjr

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

      @@S.Melectric
      Aaaa

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

      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 ปีที่แล้ว +2

      Aaaaaaaaaaaaqaq q qaaaqaqaqaqqaaqqa Lee aqp@

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

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

    • @morganrv
      @morganrv 28 วันที่ผ่านมา

      ☝🏼

    • @mitchc4474
      @mitchc4474 19 วันที่ผ่านมา +4

      Morning 🌞

    • @mikazuraa
      @mikazuraa 17 วันที่ผ่านมา +3

      HAHHAA ME TOO

    • @AnnelieseJPG
      @AnnelieseJPG 15 วันที่ผ่านมา +3

      Literally me today 😭🧍‍♀️

    • @lastword9047
      @lastword9047 14 วันที่ผ่านมา +1

      Weird lol

  • @yuumiplayer420
    @yuumiplayer420 หลายเดือนก่อน +3063

    Shoutout to the confused peopme who just woke up

    • @curemyenemy674
      @curemyenemy674 หลายเดือนก่อน +238

      That literally happened to me, and I saw your comment 😂

    • @BassLux
      @BassLux 29 วันที่ผ่านมา +49

      Same

    • @TheCaptianAlex
      @TheCaptianAlex 29 วันที่ผ่านมา +82

      Easily the funnest thing I've ever read at 2:58 am

    • @alexkaftan7982
      @alexkaftan7982 29 วันที่ผ่านมา +13

      Haha so True 😂

    • @phenx_S
      @phenx_S 29 วันที่ผ่านมา +8

      Just now

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

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

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

      Lolll a programmer's life

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

      😂😂

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

      They teach c in uni?

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

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

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

      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

  • @sonic52003
    @sonic52003 หลายเดือนก่อน +322

    Anyone else just wake up to this random video playing?

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

      🙋🏾‍♂️
      2hrs down with my battery half drained😅

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

      @ same 😂

    • @Thepar3bro
      @Thepar3bro หลายเดือนก่อน +1

      😂😂 woke up at 6am to this an hour deep in the video

    •  25 วันที่ผ่านมา +1

      Dude, same

    • @filiplaco
      @filiplaco 25 วันที่ผ่านมา

      Sameee😅

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

    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 ปีที่แล้ว +48

      Thanks

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

      Thanks dude

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

      Thanks G!

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

      i literally learned pointers this same way 3 years ago

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

      Still confused

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

    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 ปีที่แล้ว +3

      @@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 ปีที่แล้ว +42

      @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😂😅

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

    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 ปีที่แล้ว +250

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

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

      @@savagescientist3835 Thankyou x

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

      @Balen Enceladus 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.

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

      This motivated me to get through the day. thank you

  • @NormaNsNs
    @NormaNsNs 10 หลายเดือนก่อน +6

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

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

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

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

    I passed my exam with your help

    • @Thugzic
      @Thugzic 11 หลายเดือนก่อน +32

      yoo bro really sent a tip lol

    • @sssyt4837
      @sssyt4837 11 หลายเดือนก่อน +16

      Bro sent 2 cents

    • @sheriffyekini235
      @sheriffyekini235 10 หลายเดือนก่อน +17

      Bro actually sent 2 pounds

    • @tao5331
      @tao5331 10 หลายเดือนก่อน +26

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

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

      He actually just tipped 2 pesos

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

    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!

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

      I agree

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

      university? i hate my school for making me learn this in sophomore /grade 10

    • @voidarkyt
      @voidarkyt 22 วันที่ผ่านมา

      @@haniaabdulsamad7320 we're learning this in grade 8... but I kinda like it.

    • @kraus7050
      @kraus7050 22 วันที่ผ่านมา

      @@haniaabdulsamad7320 one year later reply, well it s not taught in uni because is hard, it s just that c++ is preffered by a lot of hs teachers so they usually teach that plus it s easier on hs stundents cuz you know they don t really care, i also do it in uni and did c++ in hs beacause of teacher prefferences rly, but some teach c in hs and i find it totally fine.

    • @DATA-EVE-0X
      @DATA-EVE-0X 16 วันที่ผ่านมา

      really? wow, i learn c now

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

    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

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

    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 ปีที่แล้ว +23

      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 ปีที่แล้ว +22

      tbf we are overloaded with programmers already

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

      youtube.com/@techtutorials8859

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

      ​@@alexstanley3378 eh not really

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

    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.

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

    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

  • @brad-zy6fs
    @brad-zy6fs ปีที่แล้ว +16

    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!

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

    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 ปีที่แล้ว +14

      NOICE

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

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

    • @sultanhanga
      @sultanhanga 3 ปีที่แล้ว +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

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

    *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

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

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

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

      SAMEEEE

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

      Good luck, you can do it, just be really dedicated

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

      ​@@Mesling_ it's been 3 months how did u do mate

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

      ​@@Mesling_so?

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

      nah im too lazy@@aboubakrbou9502

  • @acidpandatv
    @acidpandatv 8 วันที่ผ่านมา +1

    this has to be the best programming course I’ve ever taken - straight to the point on coding, thorough explanations, and not too complicated or trying to be too simple (which ends up making it complicated). Teaching programming isn’t easy but you knocked it out the ballpark.

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

    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 ปีที่แล้ว +21

      ayy ya caught me!

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

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

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

      @@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 ปีที่แล้ว +124

    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!

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

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

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

    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

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

    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

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

    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 6 ปีที่แล้ว +3

      Tim Crinion totally agrees

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

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

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

      @@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 5 ปีที่แล้ว +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.

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

    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 ปีที่แล้ว +199

      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 ปีที่แล้ว +562

      @@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 ปีที่แล้ว +93

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

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

    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

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

    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

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

    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!

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

    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 2 ปีที่แล้ว +14

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

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

      @@smarquis7 happy to help. :)

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

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

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

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

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

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

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

    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

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

    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 3 ปีที่แล้ว

      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

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

    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

  • @cableguy5576
    @cableguy5576 4 ปีที่แล้ว +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

  • @Ttdogi
    @Ttdogi 13 วันที่ผ่านมา +6

    I guess google and TH-cam stopped asking for people to go into coding, now they make us learn through sleep

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

    dude mike knows every coding language Jesus

    • @h.l.69
      @h.l.69 4 ปีที่แล้ว +67

      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?

  • @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

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

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

  • @MuhammedNihal-uc9jj
    @MuhammedNihal-uc9jj ปีที่แล้ว +1

    It was an easy to understand C tutorial. Thanks Alot!

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

    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

  • @_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!

  • @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

  • @adriansulahian959
    @adriansulahian959 หลายเดือนก่อน +2

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

  • @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 5 ปีที่แล้ว +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

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

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

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

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

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

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

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

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

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

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

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

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

  • @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.

  • @samuelcollier1764
    @samuelcollier1764 3 ปีที่แล้ว +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.

  • @Adm02
    @Adm02 หลายเดือนก่อน +46

    I fell asleep and ended up here 💀💀🙏🙏

    • @Panshulgarg1
      @Panshulgarg1 หลายเดือนก่อน +1

      Same bruhhh

    • @bananamaster500
      @bananamaster500 หลายเดือนก่อน +2

      bruh i was watching horror stories tf is this

    • @Adm02
      @Adm02 หลายเดือนก่อน +1

      @@bananamaster500how do you even fall asleep 💀💀

    • @amirulaiman48
      @amirulaiman48 หลายเดือนก่อน +1

      Same

    • @Harms361
      @Harms361 29 วันที่ผ่านมา +1

      Same😭🙏

  • @rachelyoung1225
    @rachelyoung1225 4 ปีที่แล้ว +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.

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

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

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

      lol

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

      this is like the coder version of emia means presence in blood

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

      @@hangingjontron818 chubbyemu?

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

      @@hhhyyy4375 very *yES*

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

      I just studied that this morning

  • @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!

  • @eliotbell5646
    @eliotbell5646 28 วันที่ผ่านมา +3

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

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

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

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

    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.

  • @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.

  • @wham9361
    @wham9361 13 วันที่ผ่านมา +4

    Every. Single. Time. I fall asleep with YT this video autoplays. Im convinced im gonna wake up one day and be a C savant

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

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

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

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

    • @darchendon7926
      @darchendon7926 4 ปีที่แล้ว +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

  • @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.

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

    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

  • @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.

  • @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

  • @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

  • @aidenmiller3832
    @aidenmiller3832 25 วันที่ผ่านมา +3

    Bro the amount of people who randomly woke up to this makes me think this is the most algorithmically perfect video on TH-cam

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

    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.

  • @gennariromeo6112
    @gennariromeo6112 4 ปีที่แล้ว +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 2 ปีที่แล้ว

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

  • @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 9 หลายเดือนก่อน +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 9 หลายเดือนก่อน

      HEY THIS VIDEO INCLUDE ARTHMETIC OPERATORS?

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

    Doctor: You have 3 hours, 46 minutes, and 13 seconds left to live
    Me:

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

      @David Sinca he will play video on 2x
      and then he will use leftover time for coding

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

      Actually he should watch on 2x and code while watching, he'll becoming a programming legend before dying

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

      @@shoukabir he will code an A.I to cure cancer on the Small LCD screen of the sick bed he's dying on, and when he dies the doctors pull the plug wiping the A.I

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

      the guy must be elon musk!

    • @AbdulBasit-ir8zl
      @AbdulBasit-ir8zl 5 ปีที่แล้ว +2

      @@souhardya1487 haha

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

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

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

      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.

  • @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!

  • @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

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

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

  • @EVA-ki5vw
    @EVA-ki5vw 6 ปีที่แล้ว +272

    man this channel is great :)

  • @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.

  • @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

  • @rajeevsinghrajput6752
    @rajeevsinghrajput6752 6 ปีที่แล้ว +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

  • @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.

  • @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.

  • @joemarsden68
    @joemarsden68 23 วันที่ผ่านมา +3

    Im sure the 16m views are from people who fell asleep watching a completely unrelated video and woke up to this at 4am.
    Source: me and 16m others

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

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

  • @0_-
    @0_- 5 ปีที่แล้ว +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.

  • @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?

    • @Ayaomari19-b2p
      @Ayaomari19-b2p 2 ปีที่แล้ว

      How's going did u get any job

  • @jansendonelmanalese3316
    @jansendonelmanalese3316 หลายเดือนก่อน +2

    I know nothing about programming, I have nothing to do with programming, yet I woke up having watched half of the video already. I literally don’t know how I got here.

  • @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

  • @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 3 ปีที่แล้ว +1

      Btw I love you ❤️😍

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

      @@mahesh1124kingo go touch some grass

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

    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 !

  • @johng94x
    @johng94x 26 วันที่ผ่านมา +1

    I literally just woke up and this was recommended no joke

  • @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

  • @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 5 ปีที่แล้ว

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

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

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

  • @Hekman-X
    @Hekman-X 19 วันที่ผ่านมา +2

    So I woke up from a dream where I was in a big house and everyone was learning to code, opened my eyes an discovered I was dreaming to this video, I've never try to code but I think I understand the concepts for variable, dada types and print.
    I'll start to learn this and let you know if I did learn something during my sleep indeed.

  • @youssefmourad-sm7gl
    @youssefmourad-sm7gl 2 ปีที่แล้ว +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

  • @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.

  • @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.

  • @stewartgibson5802
    @stewartgibson5802 หลายเดือนก่อน +1

    I'd never heard of this video before I woke up and found out I was an hour and a half into the thing. I don't even have autoplay on. Thanks me 👍