C Programming Tutorial for Beginners

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 7 тис.

  • @freecodecamp
    @freecodecamp  4 роки тому +1730

    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 роки тому +115

      @@S.Melectric
      Aaaa

    • @LYJManchesterUnited
      @LYJManchesterUnited 4 роки тому +44

      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 роки тому +6460

    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

  • @womenshealthover5022
    @womenshealthover5022 4 роки тому +2801

    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.

  • @akapotatis9445
    @akapotatis9445 3 роки тому +10059

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

    • @MarkBrathwaite
      @MarkBrathwaite 3 роки тому +332

      Lolll a programmer's life

    • @txshxrk
      @txshxrk 3 роки тому +80

      😂😂

    • @atifmujeeb7222
      @atifmujeeb7222 3 роки тому +173

      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

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

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

  • @top10tube94
    @top10tube94 4 роки тому +2403

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

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

  • @egygyerekegycsontjusztlasz3040
    @egygyerekegycsontjusztlasz3040 Рік тому +555

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

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

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

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

  • @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 роки тому +5131

    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

  • @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 роки тому +280

    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!

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

  • @Mr_Green_102
    @Mr_Green_102 3 роки тому +127

    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.

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

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

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

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

  • @stealthboy5767
    @stealthboy5767 2 роки тому +57

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

  • @NormaNsNs
    @NormaNsNs 8 місяців тому +4

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

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

  •  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

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

  • @yuraahrblx
    @yuraahrblx Місяць тому +7

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

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

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

  • @unknown_unfound
    @unknown_unfound 3 роки тому +267

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

  • @carzetonao
    @carzetonao Рік тому +14

    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

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

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

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

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

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

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

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

  • @mikelicel319
    @mikelicel319 Рік тому +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

  • @LeGranDuck
    @LeGranDuck 2 роки тому +305

    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

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

  • @rolandocalisthenics3754
    @rolandocalisthenics3754 3 роки тому +28

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

  • @ryanporteous1135
    @ryanporteous1135 Рік тому +31

    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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  • @CryptoxicWoW
    @CryptoxicWoW 5 років тому +200

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

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

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

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

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

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

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

  • @kitsqui5829
    @kitsqui5829 5 днів тому +2

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

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

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

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

  • @劉艾瑪-h8g
    @劉艾瑪-h8g 2 місяці тому +4

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

  • @ryarod
    @ryarod 3 роки тому +11

    Printf() - portrays text in parentheses on screen.
    Char - Stores letter variable.
    Int - stores whole number variable.
    Double - stores decimal number variable.
    %s - portrays stored char variable.
    %d - portrays stored int variable.

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

  • @TemperedWambat
    @TemperedWambat 5 років тому +349

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

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

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

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

  • @peatlatakia6308
    @peatlatakia6308 3 роки тому +13

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

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

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

  • @teom5666
    @teom5666 6 років тому +86

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

  • @AliAbbas-of2vq
    @AliAbbas-of2vq 6 років тому +260

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

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

  • @thygreek8076
    @thygreek8076 3 роки тому +9

    In case you're wondering why you're getting a bunch of 0's before the result shown in the video when he talks about printing Memory Addresses, it's just because you've got a 64 bit OS instead of a 32 bit. So don't worry about that, the code runs as intended.

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

  • @BigDreamer
    @BigDreamer 6 років тому +107

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

  • @Snairster
    @Snairster 3 роки тому +111

    Funny reading the comments thanking them for not having ads a few months back.

    • @lucasquazar4589
      @lucasquazar4589 3 роки тому +13

      youtube put them, not freecodecamp

    • @veereshm8631
      @veereshm8631 3 роки тому +1

      @@lucasquazar4589 LOL

    • @_PatrickO
      @_PatrickO 3 роки тому +6

      It's funny reading comments by people who don't know what adblockers are.

    • @uthrapriya7030
      @uthrapriya7030 3 роки тому +5

      @@veereshm8631 do you even know the meaning of this or you just use it for fun?

    • @rydercarter7035
      @rydercarter7035 3 роки тому

      @@lucasquazar4589 no , fcc put them , they need some money to run their channel and afford all those lectures

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

  • @ryarod
    @ryarod 4 роки тому +11

    "Method" : A container for code scripts.
    Printf(): Prints items in parentheses as text.
    Char: Begins creation of literary variable; individual letter or string, depending on [ ] status.
    %s: portrays last char stored variable.

  • @sebolelo.m9162
    @sebolelo.m9162 Рік тому +5

    I am not even half way done and you should see how I went from "Whhhaaat????" to "Wowww, ohhhh...!!" This is soo good😭😊

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

  • @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 UA-cam's. I have a lot of experience with captioning.

  • @J.Rperez-e4w
    @J.Rperez-e4w 8 днів тому +10

    Idk how i got here, woke up watching this

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

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

  • @simeongreen1599
    @simeongreen1599 4 роки тому +69

    The patience to make an almost 4 hour video... Trust me, your hard work is not for nothing 😩🙏🏾

    • @AdityaBhoite1403
      @AdityaBhoite1403 3 роки тому +1

      maybe he has 2-3 blue T-Shirts of the same kind🤷‍♂️

    • @XJacksonvilleX
      @XJacksonvilleX 3 роки тому

      main( ) {
      printf("obv, duh");
      }

    • @truliny-xyz
      @truliny-xyz 3 роки тому

      int main()
      {
      printf("why am i typing this
      ");
      return 0;
      }

    • @hariranormal5584
      @hariranormal5584 3 роки тому

      @@truliny-xyz u forgot import std stuff

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

  • @roboygaming2877
    @roboygaming2877 2 роки тому +12

    I m 99 yrs old , dont know when life would end but i always wanted to learn C and I am grateful that i am just 5 min away from completing it

    • @whatsap6851
      @whatsap6851 2 роки тому

      Helpline📲📥⬆️
      Questions can come in⬆️

    • @ts4gv
      @ts4gv 2 роки тому +3

      🧢

    • @shatterism3329
      @shatterism3329 2 роки тому +2

      its cap if your name has "gaming"

    • @ts4gv
      @ts4gv 2 роки тому

      translate all our messages 99 year old we dare you

    • @roboygaming2877
      @roboygaming2877 2 роки тому

      @@ts4gv i completed it when i was 99 ... now i m 100 yr old