C++ Tutorial for Beginners - Full Course

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

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

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

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

    • @tactic_4k568
      @tactic_4k568 4 роки тому +21

      What happens if all of my options say "20" instead of "16"

    • @rockstarcrni
      @rockstarcrni 4 роки тому +34

      Where can I find an intermediate c++ tutorial?

    • @somecrewmate1776
      @somecrewmate1776 4 роки тому +2

      Tactic_4K in code blocks ?

    • @manalalajmi9766
      @manalalajmi9766 4 роки тому +1

      Tactic_4K so am i , which one did you choose?

    • @lordhuntor6639
      @lordhuntor6639 4 роки тому +1

      I get error no such file or directory
      Error:no input files please help

  • @zheyang9954
    @zheyang9954 5 років тому +6223

    this guy actually puts in the effort to check through the whole video to correct his mistakes. respect

    • @jahnnygaming3191
      @jahnnygaming3191 5 років тому +289

      That's why people like him deserve alot sub...

    • @wreckless_-jl6uu
      @wreckless_-jl6uu 5 років тому +60

      Except where he said namescape instead of namespace.. and also says don’t worry about a lot of stuff when actually you do need to worry about what certain things mean..
      Hmm... maybe I’m not a beginner anymore.. damn...

    • @swatibhosale5137
      @swatibhosale5137 5 років тому +17

      very nicely explained!

    • @mahemaatv1600
      @mahemaatv1600 5 років тому +64

      This is not his channel.This channel only picks videos and compile them into one single long video.The actual videos on his channel are many short videos in a playlist.

    • @vicomi999
      @vicomi999 5 років тому +27

      @@wreckless_-jl6uu r/imverysmart

  • @justinwang4378
    @justinwang4378 3 роки тому +4047

    Watched this video one year ago to start my coding journey... now I'm just finishing up my first internship as a software developer. Crazy to think about how far I've come and looking back at where I started..... Don't give up guys u can do it

    • @r4l793
      @r4l793 3 роки тому +37

      Hello. That’s amazing to hear. I was wondering if I could ask you some questions? Do you have a social media or anything I can ask some questions please?

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

      So you're a C++ Developer?

    • @justinwang4378
      @justinwang4378 3 роки тому +69

      @@redwooid noooo I’m a full stack developer now but my first language was C++

    • @nothingnoteworthy5238
      @nothingnoteworthy5238 3 роки тому +36

      @@justinwang4378 hey man can u plz share how you started or which direction you went after learning cpp.

    • @bhaskardwivedi4211
      @bhaskardwivedi4211 3 роки тому +3

      @@justinwang4378 full stack mean??

  • @withstand4002
    @withstand4002 3 роки тому +9504

    I finally finished the whole 4 hours, and now i'm taking my first steps towards world domination

    • @Terrafighter
      @Terrafighter 3 роки тому +470

      took me like, multiple months to get to the end... i "may" have procrastinated some

    • @GreenTeaoff
      @GreenTeaoff 3 роки тому +165

      Can I join in the takeover

    • @Terrafighter
      @Terrafighter 3 роки тому +50

      @@GreenTeaoff absolutely!

    • @akshaysankar2318
      @akshaysankar2318 3 роки тому +117

      @@Terrafighter procrastination is the thief of time😶

    • @Terrafighter
      @Terrafighter 3 роки тому +26

      @@akshaysankar2318 procrastination is delaying something or putting it off? what do you mean?

  • @TheRagingRooster
    @TheRagingRooster Рік тому +827

    You explain these intro concepts in 4 hours FAR better than most paid and semester long programming courses I've taken in my life. Great work!

    • @anactualalpaca7016
      @anactualalpaca7016 Рік тому +7

      it's really amazing, I've only made it to around a half hour in and i'm learning so much already

    • @JakeLondonRivers
      @JakeLondonRivers Рік тому +8

      okay to be fair then, you already had quite a base knowledge of this concept seeing as you studied this in college?

    • @theheroofthevirgins1487
      @theheroofthevirgins1487 Рік тому +2

      You can learn to program online for free but if you want a degree go to college or university

    • @skytechbits
      @skytechbits 11 місяців тому +1

      He recorded and edited several clips together to create four hours plus of video. I like how he knows what he is talking about and relates to his audience really well.

  • @anushs8637
    @anushs8637 2 роки тому +237

    I did this a couple years ago when I was in 12th grade.....I had C++ as a subject......this video helped me score a 91/100 ......I owe it to this guy.....now a few years later I stumbled upon it in my recommendations....just had to leave this comment....Thank you.

    • @BooskeyRt
      @BooskeyRt 10 місяців тому +9

      I was skeptical about being able to learn it with such a short video relative to how long people say they take to learn c++ but seeing comments like yours gives me confidence to learn from this. Thanks

    • @siman211
      @siman211 9 місяців тому +1

      @@BooskeyRt Hey i want to learn cpp as well can you tell me what else did you use after this?

    • @Evolution602
      @Evolution602 7 місяців тому

      @@siman211 practice with challenges

  • @kodakzak2836
    @kodakzak2836 3 роки тому +4020

    I've learnt HTML, CSS, Javascript and Python all from this dude. Trust me watch all of the videos and you will learn alot. Im a huge fan of giraffe academy!

    • @thilak18
      @thilak18 3 роки тому +62

      Really bro?? Can i learn c++ completely from this 4 hours??

    • @dcode863
      @dcode863 3 роки тому +168

      @@thilak18 obviously not, you have to practice.

    • @thilak18
      @thilak18 3 роки тому +31

      @@dcode863 by practicing what this guy says can i learn completely 🤔

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

      Yo can i use Microsoft visual studio code for this tutorial?

    • @pradhunkrishna
      @pradhunkrishna 3 роки тому +22

      @@thilak18 there are many things u have to find new things that many people don't teach and practise coding ..

  • @kolossis8283
    @kolossis8283 4 роки тому +1307

    This dude literally thought everybody about programming in 4 hours without ads.
    HE IS THE KING!!!!👑👑👑

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

      Xxx33 IanKosi 33xxX taught*

    • @ahkkel7124
      @ahkkel7124 4 роки тому +15

      taught*

    • @sarthakgothwal909
      @sarthakgothwal909 4 роки тому +10

      Taught

    • @atharvparlikar8765
      @atharvparlikar8765 4 роки тому +14

      Bruh this is free code camp it is an organization who asked this guy for his content
      this guy owns giraffe academy

    • @El-Gordo
      @El-Gordo 4 роки тому +5

      Torte

  • @Provoked86
    @Provoked86 2 роки тому +166

    Im just about half way into this lesson and being a complete n00b in c++ i really appreciate the fact that you explain things like you assume people know nothing about programming. Very clearly, you often circle back and repeat and really make sure it's clear and understood.
    I love this so far and this might be what takes me through my programming class im going through right now.
    Keep up the amazing work!

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

      is the entire c++ is taught in the video or should i need to checkout some other videos too please tell me . love from india

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

      @@Johnkiran0 You get a solid foundation but it doesn't cover every little detail. There are more in depth stuff you can find to build your knowledge further but i think this is a good starting point.
      C++ and programming languages in general are tools. To really learn and understand them you have to play around with them just like how a mathematician does math exercises or a painter sketches.

  • @mdmursalin4546
    @mdmursalin4546 5 років тому +304

    This tutorial isn't only for C++ beginners, it's for total programming beginners also. Man you are great.

    • @1yasin6
      @1yasin6 4 роки тому +9

      every tutorial is for complete beginns and no one takes into account that you can already now a different language. I hate that.

    • @tomthebigman7481
      @tomthebigman7481 4 роки тому +3

      Yasin Biyikli the thing is, code from other languages wont help you with this language (other than c obv).

    • @Johnkiran0
      @Johnkiran0 2 роки тому +1

      is the entire c++ is taught in the video or should i need to checkout some other videos too please tell me . love from india

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

      I have the same doubt too
      Please let me know if you know the answer for the next step!!

    • @jolshiee
      @jolshiee 2 роки тому +1

      @@Johnkiran0 😂😂no these are only basics

  • @adrianlowery7175
    @adrianlowery7175 4 роки тому +6516

    You taught me more in 4 hours than my professor did in an entire semester

    • @xashzayne6044
      @xashzayne6044 4 роки тому +427

      Well that's how teachers get paid
      It may look like they are teaching you so many things but in actuality they are limiting your knowledge so you have to spend more time which means wasting more money
      this is why I study thing in UA-cam instead of in class plus if you are bored you can watch some funny vids
      P.S. this is not an advertisement

    • @iwaited90daystochangemynam55
      @iwaited90daystochangemynam55 3 роки тому +54

      @Raghavan vidhyasagar so college doesn't teach anything properly?

    • @ChocoBaiterEUW
      @ChocoBaiterEUW 3 роки тому +12

      Same haha

    • @dahramzi6209
      @dahramzi6209 3 роки тому +10

      Can you send me some lessons from your course ?

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

      True bro

  • @amn7319
    @amn7319 Рік тому +7

    I've gone through several tutorials and this by far is the most elucidating. I'm glad the instructor just spells everything out, rather than you having to figure some things out that he didn't go too in-depth with.

  • @asifmiles8083
    @asifmiles8083 3 роки тому +938

    His teaching is the most effective I've found so far on UA-cam or Udemy, specifically for the language tutorials.
    No extra theory crap, not a tons load of "useless rant"; straight to the point topics and very easily covering most of the important areas!
    Thanks, Mike!

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

      Suppose I wanted the extra theory, could you tell me where to look?

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

      Right!

    • @tboyz1
      @tboyz1 2 роки тому +1

      agreed.

    • @normanhenderson7300
      @normanhenderson7300 2 роки тому +6

      It i the boring stuff that contains the fundamentals of the language. I watched this about 6 years ago, and believe this I learned a lot. I finally subscribed to courses with Udemy, and the boring stuff facinates me, since this basic instruction.

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

      goswamicodechef.blogspot.com/2022/04/introduction-to-c-1.html

  • @normaleric2684
    @normaleric2684 4 роки тому +2838

    Stop going thru comments, continue the tutorial.
    YOU

  • @awaneetaim4729
    @awaneetaim4729 5 років тому +616

    ⭐️ Contents ⭐
    ⌨️ (0:00:00) Introduction
    ⌨️ (0:01:38) Windows Installation
    ⌨️ (0:04:54) Mac Installation
    ⌨️ (0:08:44) Setup & Hello World
    ⌨️ (0:12:29) Drawing a Shape
    ⌨️ (0:19:55) Variables
    ⌨️ (0:31:43) Data Types
    ⌨️ (0:39:15) Working With Strings
    ⌨️ (0:49:00) Working With Numbers
    ⌨️ (0:59:41) Getting User Input
    ⌨️ (1:05:32) Building a Calculator
    ⌨️ (1:09:28) Building a Mad Libs
    ⌨️ (1:13:45) Arrays
    ⌨️ (1:20:03) Functions
    ⌨️ (1:29:47) Return Statement
    ⌨️ (1:35:22) If Statements
    ⌨️ (1:47:15) If Statements (con't)
    ⌨️ (1:55:58) Building a Better Calculator
    ⌨️ (2:02:20) Switch Statements
    ⌨️ (2:10:47) While Loops
    ⌨️ (2:18:53) Building a Guessing Game
    ⌨️ (2:29:18) For Loops
    ⌨️ (2:38:32) Exponent Function
    ⌨️ (2:45:21) 2d Arrays & Nested Loops
    ⌨️ (2:54:55) Comments
    ⌨️ (2:59:11) Pointers
    ⌨️ (3:13:26) Classes & Objects
    ⌨️ (3:25:40) Constructor Functions
    ⌨️ (3:34:41) Object Functions
    ⌨️ (3:41:43) Getters & Setters
    ⌨️ (3:54:04) Inheritance

    • @geetabhadarka4232
      @geetabhadarka4232 5 років тому +8

      Thx

    • @netroalex5209
      @netroalex5209 5 років тому +20

      why the f you commented the contents out of the description

    • @carnotauros
      @carnotauros 5 років тому +16

      NetroAlex for mobile users

    • @netroalex5209
      @netroalex5209 5 років тому +11

      @@carnotauros huh ok now I see
      cuz I'm on phone

    • @ayushkumar3679
      @ayushkumar3679 5 років тому +14

      Not the hero we need, but the one we deserve

  • @vvalendo
    @vvalendo Рік тому +21

    I'm currently in my first computer science course which meets for a one hour lecture three times a week followed by a lab and I've learned more in 40 minutes of your video than I have in a whole week. I swear my lab professor was making these concepts impossible to figure out so thank you.

  • @rob7930
    @rob7930 6 років тому +2209

    I learned more in the first 40 minutes than I have in 2 weeks in my high school C++ class, nice video

    • @sahin3355
      @sahin3355 6 років тому +29

      Which school are you attending?

    • @Grooviesk
      @Grooviesk 6 років тому +82

      @@sahin3355 he is attending aangan baadi school in india👨🏽😁

    • @obinator9065
      @obinator9065 6 років тому +123

      Guess what,
      1 year, and we've only discussed output, input, arrays, functions, switch, while, for and ifs.
      3 hours/week...

    • @sahin3355
      @sahin3355 6 років тому +12

      Which school do you attend @@obinator9065 ?

    • @obinator9065
      @obinator9065 6 років тому +16

      @@sahin3355 A vocational college, comparable to 11-13th grade level with cs as primary focus.

  • @bvd2994
    @bvd2994 4 роки тому +210

    this dude literally taught me in 4 hours what I learnt in 2 years at school

    • @winstallation
      @winstallation 4 роки тому +2

      Yes, thats right.

    • @TomerCohenillumenati
      @TomerCohenillumenati 4 роки тому +9

      schools are so inefficient

    • @LunarUmi
      @LunarUmi 4 роки тому +12

      Lol, where are you guys going to school where it takes them 2 years to cover the absolute basics? Where I went, it was a semester of this, and then for the next 2 years we dug deep.

    • @sherlockhomes9790
      @sherlockhomes9790 4 роки тому +9

      @@LunarUmi logically its you who should name your school in this context, yet you don't. What is the point of learning theirs, besides adding those to some sort black list.

    • @punkyagogo
      @punkyagogo 4 роки тому +5

      @@sherlockhomes9790 Logically though, they were asking a question, not asking to prove anything, but if anything, the onus is placed on those that mentioned how long it took in their class because they made the claims first.
      He’s also right. This goes over the bare basics. Like, I’m really thankful for it, but even Caleb Curry’s course goes over significantly more than this one does.

  • @rei_8
    @rei_8 3 роки тому +542

    I learned in 4 hours more than I learned in 2 whole years of High School, you're my hero

    • @thegoldentree6913
      @thegoldentree6913 3 роки тому +7

      well its school

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

      @@thegoldentree6913 yes

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

      @@thegoldentree6913 School teaches jack sh*t

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

      School never teaches a fraction of what is being used in the industry

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

      Really he is even my hero..I AM GIVING YOU AND THE HERO UNLIMITED HEARTS AND THE STARS .😘😘😘😘😘

  • @JosiahBaltazar
    @JosiahBaltazar 2 роки тому +429

    For those having issues with the getline() function:
    I am using VisualStudio following along, and I kept getting an error when using getline() because at the top of the code, I was not using ' #include '.
    Once I did, it started working for me! Hope this helps someone too!

    • @Aisenhelm
      @Aisenhelm 2 роки тому +23

      damn dude you are a life saver, my class didn't even tell me to do this and expected me to know the issue was include string, thanks.

    • @JosiahBaltazar
      @JosiahBaltazar 2 роки тому +4

      @@Aisenhelm No problem! Good luck with coding!!

    • @zed6410
      @zed6410 2 роки тому +1

      hello i am new and i just want to ask if all that code would work in Dev C++.

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

      because codeblocks won't work on my device

    • @moonzal5379
      @moonzal5379 2 роки тому +4

      @@zed6410 yes, it works on dev-c++

  • @lianwenjing9610
    @lianwenjing9610 5 років тому +624

    2:10:51 while loop
    2:17:30 do while loop
    2:18:55 building a guessing game (practice if & while)
    2:29:19 for loop
    2:39:35 exponent function (practice for loop)
    2:45:22 2D array and nested loops
    2:54:55 comments (//...... /*......*/)
    2:59:12 pointers
    3:13:27 classes & objects
    3:25:42 constructor functions (useful when init objects)
    3:34:41 object functions
    3:41:45 getters and setters (useful object functions)
    3:54:07 inheritance (super)

    • @Vignesh-mh6if
      @Vignesh-mh6if 5 років тому +6

      Thanks man

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

      Great Work!

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

      🤔😏

    • @muneebsiddiqui4824
      @muneebsiddiqui4824 5 років тому +2

      brohh

    • @Luna-ws9bs
      @Luna-ws9bs 5 років тому +34

      ⭐️ Contents ⭐
      ⌨️ (0:00:00) Introduction
      ⌨️ (0:01:38) Windows Installation
      ⌨️ (0:04:54) Mac Installation
      ⌨️ (0:08:44) Setup & Hello World
      ⌨️ (0:12:29) Drawing a Shape
      ⌨️ (0:19:55) Variables
      ⌨️ (0:31:43) Data Types
      ⌨️ (0:39:15) Working With Strings
      ⌨️ (0:49:00) Working With Numbers
      ⌨️ (0:59:41) Getting User Input
      ⌨️ (1:05:32) Building a Calculator
      ⌨️ (1:09:28) Building a Mad Libs
      ⌨️ (1:13:45) Arrays
      ⌨️ (1:20:03) Functions
      ⌨️ (1:29:47) Return Statement
      ⌨️ (1:35:22) If Statements
      ⌨️ (1:47:15) If Statements (con't)
      ⌨️ (1:55:58) Building a Better Calculator
      ⌨️ (2:02:20) Switch Statements
      ⌨️ (2:10:47) While Loops
      ⌨️ (2:18:53) Building a Guessing Game
      ⌨️ (2:29:18) For Loops
      ⌨️ (2:38:32) Exponent Function
      ⌨️ (2:45:21) 2d Arrays & Nested Loops
      ⌨️ (2:54:55) Comments
      ⌨️ (2:59:11) Pointers
      ⌨️ (3:13:26) Classes & Objects
      ⌨️ (3:25:40) Constructor Functions
      ⌨️ (3:34:41) Object Functions
      ⌨️ (3:41:43) Getters & Setters
      ⌨️ (3:54:04) Inheritance

  • @stephencallaghan2150
    @stephencallaghan2150 2 роки тому +111

    I needed to learn something about C++ in a hurry.
    My first thought was to seek you out (again).
    As expected, you were clear and concise and made it all so easy.
    You are a superstar.

    • @acewmd.
      @acewmd. 2 роки тому

      How effective was this?

  • @garrickreynolds2015
    @garrickreynolds2015 3 роки тому +15

    You pretty much are my online professor because he told me to look on UA-cam for help, rather than making lecture videos himself. Thanks for taking the time to make these videos to help people! You really are appreciated!

  • @garywilliams4214
    @garywilliams4214 Рік тому +19

    I’m an experienced C programmer, but never used C++. I found the info about classes, inheritance, etc., very clear and well presented. Thanks for putting in the effort to make a really good tutorial.

    • @juscoding
      @juscoding Рік тому

      im starting to learn both c and c++ in uni now, is C hard and u have any tips to 'master' it?

    • @garywilliams4214
      @garywilliams4214 Рік тому +1

      @@juscoding My feeling has always been that if you liked and were good at story problems (remember those?) you’ll really like programming. And if you like it, you won’t have any trouble picking it up…it all makes sense, it’s just a matter of picking up the particulars of the language. The good news is, once you’ve learned one programming language all other programming languages are easy…the problem solving approaches are the same, just plugging in different words to do the same thing. So my tip is to concentrate on the techniques, not the language itself…when to use loops, how to debug programs, and what the language can do (things like finding a match for something you’re looking for in a bunch of data). THAT’s the important stuff. Best of luck to you in your studies!

  • @matzacomn
    @matzacomn 3 роки тому +27

    This is one of the best tutorials I've ever watched.
    Been watching for 3 hours now, and I'm still very interested. You are a brilliant teacher!

  • @rcvineed1799
    @rcvineed1799 4 роки тому +482

    We have to appreciate him for teaching us The way we want and even without any Ads. Love from India Bro 🇮🇳♥️

    • @freefireshorts4126
      @freefireshorts4126 4 роки тому +5

      @@shamimhassan4039 Hah! Seriously, man?!

    • @freefireshorts4126
      @freefireshorts4126 4 роки тому +2

      @@shamimhassan4039 okay, good good, good good!

    • @Jason-rd1ev
      @Jason-rd1ev 4 роки тому +2

      @@shamimhassan4039 please tell me what idiansb are

    • @anthonymarquez2542
      @anthonymarquez2542 4 роки тому +2

      IsLeafyHere? I wanna know too. Since Shamin clearly cannot articulate their bigotry.

    • @raahimfareed
      @raahimfareed 4 роки тому +1

      Love from Pakistan as well.

  • @narnia1233
    @narnia1233 2 роки тому +183

    I just want to say that in my job I write SQL coding every day and I’m branching out now learning C++ just as a hobby currently, and this video is seriously one of the best instruction videos.
    Mike is awesome. I wish he had a follow-up for teaching advanced C++.
    I just love his way of teaching, it’s excellent. Precise, not overly wordy and simple, and the best thing is he runs his query after every example so we can clearly see the output.
    Seriously he is the best. Great speaker and presenter.
    Edit: Just a note, but Mike even explained loops which also occur in SQL and it’s something I honestly haven’t ever really fully grasped before but because of this video I finally get it. This actually is going to positively effect my job too, not just my hobby.
    Just wonderful teaching.

    • @thecyberrabbit1440
      @thecyberrabbit1440 2 роки тому +1

      Do you happen to know if this video is still correct? Being 4 years old

    • @OhioGamings
      @OhioGamings 2 роки тому +11

      @@thecyberrabbit1440 Lol it's C++, it's as old as time, it is correct. C++ came out in 1985 and this is just the basics too.

    • @KIMAYAWANJARI-ih2ko
      @KIMAYAWANJARI-ih2ko Рік тому +2

      @@thecyberrabbit1440 yep. it is as correct as it will ever be

    • @eloz11
      @eloz11 8 місяців тому

      does anyone know any follow up vids after this? Or what I should be doing after completing this video?

    • @frueur
      @frueur 8 місяців тому

      you could look up the beginner to advanced tutorial@@eloz11

  • @devalsrivastava3793
    @devalsrivastava3793 Рік тому +12

    If you are familiar with some basic concepts of programming and c language and want to learn c++ then this course is worth it.

  • @espada9973
    @espada9973 4 роки тому +65

    I have watched all 4 hours of this course and it is awesome. To anyone asking themselves is it worth investing the time into this, the answer is YES.
    These basics are not only C++ basics, but all these concepts are almost identical or very similar to some other programming languages.
    I've learned it the hard way, by sitting here for 4 hours and watching this course to find out I had all these concepts already down from Java (which took me far more than 4 hours to understand, by just reading code and trying to figure it out on my own).
    This was really beneficial tho to strengthen these concepts and really make them mine.

    • @roard4908
      @roard4908 4 роки тому

      Hi there, just wanted to know is it helpful for a complete beginner just like me?
      I wanna learn programming

    • @espada9973
      @espada9973 4 роки тому +1

      @@roard4908 Absolutely, he lays everything down in a very understandable way

    • @daiwikdhar6464
      @daiwikdhar6464 4 роки тому +2

      @@roard4908 Hi! I would suggest learning python if ur a complete beginner and want to learn c++ or java in the future... It will give u a strong foundation and you will be able to learn it very easily! BEST OF LUCK!! :D

    • @espada9973
      @espada9973 4 роки тому

      @LemonsQHD if you do it for yourself of course. If you do it and share with others that are yet to see the course it's a no. You want to establish these concepts and understand them, having a written copy with solutions easily reachable is not beneficial.
      If you do this for yourself only it's a super good practice.

    • @daiwikdhar6464
      @daiwikdhar6464 4 роки тому

      @LemonsQHD Yes definitely... It would help a lot!! Also try to include the syntax.
      All the very best!! :)

  • @anxiousbehaviour4832
    @anxiousbehaviour4832 2 роки тому +35

    Dude I dont know if you know but this tutorial is one of THE CLEANEST CONCISE on youtube. The way you get to the point and explain well in brief manner makes learning C++ seem intuitive. I know this is just the surface but it is presented in a way that makes it feel breezy and effortless

  • @KannanAN2507
    @KannanAN2507 2 роки тому +200

    This was one of the few programming videos which i completed fully, thanks to mike for explaining each and every concept crisp and clear. Eagerly excited to start my journey in programming

  • @xkabuto
    @xkabuto Рік тому +5

    You are the best teacher I ever had. I've been struggling with classes and objects for a shameful amount of time, thanks for finally explaining in a way I understand!

  • @GauthamMohanraj
    @GauthamMohanraj 4 роки тому +4879

    Who’s learning this while in home during coronavirus

    • @harris3dgamer
      @harris3dgamer 4 роки тому +13

      I am

    • @ibnmuhammad9334
      @ibnmuhammad9334 4 роки тому +97

      I like being on lockdown

    • @udreacts24
      @udreacts24 4 роки тому +2

      I am

    • @luigi1414
      @luigi1414 4 роки тому +33

      Knowledge is power

    • @isaackershnerART
      @isaackershnerART 4 роки тому +34

      just finished! I do game developement in ue4 and wanted to learn. Now I feel like learning more and dont know where to go...

  • @mugdhabasak9335
    @mugdhabasak9335 3 роки тому +41

    I watched this video in 2x for quick revision. You taught more of C++ than what I learned in 2 years of school in that subject. Thanks a lot for the video!

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

      How do you download the compiler it says ' it's not recognised' on my pc terminal? So just stuck there can u help me out

    • @AcyclicMoth
      @AcyclicMoth Рік тому

      yeah really youtube can teach you ANYTHING!

  • @marcopolo5541
    @marcopolo5541 5 років тому +3779

    When you're paying thousands of dollars to learn C++ and still don't get it, but a 4 hour video with no advertisements does a better job.
    Edit: Spelling

    • @zackariyamohamed5219
      @zackariyamohamed5219 5 років тому +25

      SAME THO

    • @w1z4rd9
      @w1z4rd9 5 років тому +77

      Seamus O'Dork everyone is including you and me and your mom

    • @JohnnyThund3r
      @JohnnyThund3r 4 роки тому +30

      This is the best explanation of pointers I think I have ever seen. It's clear as day to me now.

    • @brajeswardas4368
      @brajeswardas4368 4 роки тому +6

      Cherry

    • @addisonwarner
      @addisonwarner 4 роки тому +10

      Why did you say edit: spelling?

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

    I am a physics teacher but I have started my programming journey and this is really helping me

  • @yaoweilor
    @yaoweilor 5 років тому +21

    I'm paying so much money for a professor who can't and doesn't even teach! SO THANKFUL I FOUND THIS! My last hw assignment got me a C (randomly just typing things) and after watching this I got an A! So simple and easy to understand. I was able to take down notes and able to RUN a project! THANK YOU SOOOO MUCH!

  • @hssn9123
    @hssn9123 4 роки тому +355

    To everyone starting this,
    Good Luck

    • @udayn7668
      @udayn7668 4 роки тому +6

      Now I'm going to learn by setting this video.
      Is it good..?

    • @hssn9123
      @hssn9123 4 роки тому +4

      @@udayn7668 it is good

    • @Drewdawgaming
      @Drewdawgaming 4 роки тому +2

      Thank you I need it

    • @zomyaalt6565
      @zomyaalt6565 4 роки тому +5

      kay senpai

    • @greenlemon5259
      @greenlemon5259 4 роки тому +5

      I have nothing to do during quarantine, so this is what ik doing

  • @yulia2813
    @yulia2813 2 роки тому +18

    Mike actually restored my interest in programming at uni, the best IT teacher I've come across on YT so far. Million thanks to this channel and Mike

  • @derb1809
    @derb1809 Рік тому +18

    C++
    Day 1 1:35:36
    Day 2 2:39:45
    Day 3 3:34:43
    Day 4 Done!!
    Good tutorial😊

  • @lasa9595
    @lasa9595 3 роки тому +57

    This guy in just 4 hours, taught me what my teachers failed to teach me in 15 weeks. I don't know if its a psychological thing that makes it easier to learn from youtube videos or if i really got so unlucky with my teachers

    • @RaimonTarou
      @RaimonTarou 3 роки тому +4

      i think its bcuz with videos you can pause or rewind over and over again parts that you didnt understand the first time, which you can't do in an actual class full of people

    • @riufq
      @riufq 3 роки тому +4

      @@RaimonTarou 100% agree with you

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

      Most likely teachers

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

      @@RaimonTarou also teachers have a very generic, boring way of teaching it

  • @reo4465
    @reo4465 3 роки тому +131

    It took me 3 days to finish this. It's very easy to understand.
    thanks for making this wonderful video. you have my utmost gratitude.

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

      Took me 5 I still find it confusing

    • @anto-vv7ti
      @anto-vv7ti 2 роки тому

      @@Ryantheman2023 Just keep practicing and you'll understand it

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

      bro took me a month

  • @ishrakhaider
    @ishrakhaider 3 місяці тому +1

    My guy is the best teacher for programming. He explains what's going on for every elements in details. Rather than throwing out bunch of random technical words and expecting us to understand. Most of the lessons I took was about 'how' it's done, but he brings 'why' too.

  • @damianmiranda6894
    @damianmiranda6894 5 років тому +218

    This tutorial is awesome!! But i thought i should mention that in Visual Studio developed by Microsoft, "string" is used differently. One has to actually type #include at the top in order to be able to use that sort of data (one can also use "const char*"). I spent an hour yesterday trying to figure it out. I am someone who just started programming and i really enjoy it ; regardless I am still just a beginner of no programming background. I may not know much but I'm just trying to share my findings so that others like me can also find their way. Thank you for the awesome tutorial!!

    • @trent6943
      @trent6943 5 років тому +10

      underrated comment, I was wondering why my code wasn't working

    • @LuisCarlos-zv1wi
      @LuisCarlos-zv1wi 5 років тому +2

      +1, i had the same problem with visual studio :), i thought i was the only one xDD

    • @eternalblue4660
      @eternalblue4660 5 років тому +3

      Thanks for the tip. I was wondering why my program wasn't working.

    • @lnpattanaik5447
      @lnpattanaik5447 5 років тому +1

      Same in Turbo c++

    • @markus5888
      @markus5888 5 років тому +3

      Thanx saved me some g👀gling 😁

  • @jacobduncan7495
    @jacobduncan7495 3 роки тому +37

    I compelted all of this in one day, probably took me 8 hours as I didnt just watch and did the code with you and tried to improve some of it myself, I learned a lot and this is the perfect place to get started, still some concepts I am still having trouble learning and understanding but at least now I know where to start and what to learn more about, the man that made this video is an absolute gem.

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

      I have made a video exclusively for c++ beginners.Go check it out! - ua-cam.com/video/DQybC0kNB3k/v-deo.html.

  • @Haitham7
    @Haitham7 4 роки тому +2409

    Why am I even going to college...
    he just coverd my 12 weeks semester in 4 hours..
    *Bruh...*

    • @bullet996
      @bullet996 4 роки тому +16

      Comp eng ftw

    • @plhebel1
      @plhebel1 4 роки тому +114

      going and pay'n all that money for a piece of paper with fancy writing on it and your name at the end of two or four years. Play'n the game.

    • @vishal2352
      @vishal2352 4 роки тому +8

      Bruhhh….

    • @gedport6771
      @gedport6771 4 роки тому +67

      You just can't learn it 4 hrs. Try 4 hrs of scripting each half and hour and on top of that as Mike states you have to go away and do not just one extra example for your self but several or as much as you can. So I recon a least a month of dictated study based on this video just a start to kick ass. Well done Mike for the for this outline.

    • @funnyanimalworld7579
      @funnyanimalworld7579 4 роки тому +10

      You got weak semester😀

  • @babarzahoorulhasan6928
    @babarzahoorulhasan6928 Рік тому +3

    Just finished the video. Took me about a week, and I have to say that Mike is for sure of the best teachers. The examples he provides make concepts so much easier to understand.

    • @faizfauzi1891
      @faizfauzi1891 11 місяців тому +1

      which IDE file did you download from the website (code blocks)? i tried searching and got so many other new options than the one mentioned in the video. which one should i choose?

    • @babarzahoorulhasan6928
      @babarzahoorulhasan6928 11 місяців тому

      codeblocks-20.03mingw-setup.exe This is the one that i downloaded @@faizfauzi1891

    • @abdulrahmanaltarifi4666
      @abdulrahmanaltarifi4666 11 місяців тому

      A WEEK??? ITS BEEN OVER A MONTH AND IM STILL NOT DONE

  • @puncifikator3870
    @puncifikator3870 3 роки тому +411

    C++ is one of the most complex languages out there and that's good. C++ is WAYYYY faster than Python and is therefore preferred by companies where speed is key (like for example banks for financial transactions, security systems and other areas). when you want it to be as fast as possible, C++ is the best mediator between being user-friendly and being fast. it's the halfway point between assembly language and python

    • @MB-cb8cr
      @MB-cb8cr 3 роки тому +5

      Then why python is more demanded these day

    • @puncifikator3870
      @puncifikator3870 3 роки тому +54

      @@MB-cb8cr speed often isn't needed, having to wait 2-3 more seconds for a simple operation isn't going to lose you thousands of dollars; but in some cases it can.

    • @MB-cb8cr
      @MB-cb8cr 3 роки тому +25

      @Satchel no bro. As far as i know nowadays python is very demanded

    • @papesldjnsjkfjsn
      @papesldjnsjkfjsn 3 роки тому +24

      @@MB-cb8cr the speed of a language doesn't decide how much demand it has, there is no one universal language that can do everything perfectly and it is dev friendly, python is an interpreted, dynamically typed language, that's why it's slow, but for the same reasons python has a more beautiful readable syntax. it just depends on what are you doing

    • @agustinbarquero8898
      @agustinbarquero8898 3 роки тому +3

      @Satchel Not really.

  • @tobythethird5694
    @tobythethird5694 4 роки тому +207

    damm this code editor background is brighter than my future

  • @victoriadathan2675
    @victoriadathan2675 5 років тому +16

    One of the best C++ tutorials!!! I’m taking a Computer Science class, where we use C++ to make programs. This really helps. Thank you soo much!! Keep it up!!

  • @WinaM2
    @WinaM2 2 місяці тому +2

    This is the best explanation of pointers I've heard in ages.

  • @yikiangaming3981
    @yikiangaming3981 2 роки тому +63

    ⭐️ Contents ⭐
    ⌨️ no.1 (0:00:00) Introduction
    ⌨️ no. 2 (0:01:38) Windows Installation
    ⌨️ no.3 (0:04:54) Mac Installation
    ⌨️ no.4(0:08:44) Setup & Hello World
    ⌨️ no.5(0:12:29) Drawing a Shape
    ⌨️ no.6(0:19:55) Variables
    ⌨️ no.7 (0:31:43) Data Types
    ⌨️ no.8 (0:39:15) Working With Strings
    ⌨️ no.9 (0:49:00) Working With Numbers
    ⌨️ no.10 (0:59:41) Getting User Input
    ⌨️ no. 11 (1:05:32) Building a Calculator
    ⌨️ no. 12 (1:09:28) Building a Mad Libs
    ⌨️ no. 13(1:13:45) Arrays
    ⌨️ no. 14(1:20:03) Functions
    ⌨️ no. 15(1:29:47) Return Statement
    ⌨️ no.16(1:35:22) If Statements
    ⌨️ no. 17(1:47:15) If Statements (con't)
    ⌨️ no. 18 (1:55:58) Building a Better Calculator
    ⌨️ no. 19 (2:02:20) Switch Statements
    ⌨️ no. 20 (2:10:47) While Loops
    ⌨️ no. 21(2:18:53) Building a Guessing Game
    ⌨️ no. 22 (2:29:18) For Loops
    ⌨️ no. 23 (2:38:32) Exponent Function
    ⌨️ no. 24 (2:45:21) 2d Arrays & Nested Loops
    ⌨️ no.25 (2:54:55) Comments
    ⌨️ no. 26 (2:59:11) Pointers
    ⌨️ no.27 (3:13:26) Classes & Objects
    ⌨️ no. 28(3:25:40) Constructor Functions
    ⌨️ no. 29(3:34:41) Object Functions
    ⌨️ no.30 (3:41:43) Getters & Setters
    ⌨️ no.31 (3:54:04) Inheritance

  • @parfumasilo8968
    @parfumasilo8968 5 років тому +297

    I like it when he says "Hopefully" before running every program.

    • @sherifhesham3733
      @sherifhesham3733 5 років тому +39

      You can never be too sure.

    • @crazyzombie9720
      @crazyzombie9720 5 років тому

      Challenger Tier So do I 😄

    • @psvita59
      @psvita59 5 років тому +9

      @@snekpliskin every programming software has an error box where it tells you what went wrong

    • @theparrot271
      @theparrot271 5 років тому +2

      @@psvita59 or at least an error message, which you can thankfully always look up

    • @ZuwyFPS
      @ZuwyFPS 5 років тому +6

      @@theparrot271 hopefully wont get your worst nightmare when you search the error and there are no results

  • @mdshayemurrahman9
    @mdshayemurrahman9 3 роки тому +10

    I was suffering to understand classes and objects. Now, I find this video and it really helps me a lot. Thank you man. Your teaching is so perfect!

  • @ApexMathematicsInMotion33
    @ApexMathematicsInMotion33 2 роки тому +1

    One of the best teachers on UA-cam, he made learning C++ for the first time very easy. Anyone can finish this 4 and really learn

  • @thebadluckraven8217
    @thebadluckraven8217 2 роки тому +32

    Honestly one of the best and most thorough introductions to C++ ive ever watched. Thank you

  • @TM-ln5mr
    @TM-ln5mr 3 роки тому +7

    I can't believe this is free with no ads, thank you so much. Keep it up!!!

  • @renegadekitten4861
    @renegadekitten4861 3 роки тому +22

    Got my Exams In a couple of weeks and my procrasinating ass just started opening the book. Everthing is sooo much more easier and understanable. Also, Im trying not to skip ads cause THANK YOU SO MUCHH. T_T

  • @7s9n
    @7s9n 5 років тому +26

    you're literally the best teacher I've ever seen 💙✋

  • @huzaifakhan2853
    @huzaifakhan2853 5 років тому +838

    and all of a sudden a whole semester of computer programming started making sense

  • @mdzakirhossain1083
    @mdzakirhossain1083 2 роки тому +23

    Unfortunately, I passed my OOP course without knowing anything. But after watching this entire video I get a clear idea about C++ and OOP. Thanks, Mike

    • @aaaaaa-hh8cq
      @aaaaaa-hh8cq 2 роки тому

      It's funny how you passed without knowing anything 🤣

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

      @@aaaaaa-hh8cq Seriously man

    • @aaaaaa-hh8cq
      @aaaaaa-hh8cq 2 роки тому

      @@mdzakirhossain1083 oh btw a question,
      What video should I watch
      This channel has 2 c++ guides , one of them is 31 hours long , and this one
      What's the difference between them? Any idea?

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

      @@aaaaaa-hh8cq This video is for beginners. You will get a few idea. But if you wanna know complex thing, then you should try other long videos in UA-cam

  • @aliMuhammad-zk2yb
    @aliMuhammad-zk2yb Рік тому +3

    THANK YOUUUUUUUU this tutorial has taught me so many things i didn't know before

  • @cannerfelt
    @cannerfelt 5 років тому +10

    Good teacher, which is rare in this field. Seen so many beginner vids where ppl do not explain terms or the shop talk they use, or put any thought to what lvl they're pitching it at. Keep it up.

  • @JustMoseyinAround
    @JustMoseyinAround 3 роки тому +17

    Went through the entire 4 hours. This Tutorial is amazingly helpful. Thanks man.

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

      is the entire c++ is taught in the video or should i need to checkout some other videos too please tell me . love from india

  • @kiwilemon8639
    @kiwilemon8639 3 роки тому +37

    Mike does such a well job at teaching, he's helped me learn Web Dev, and Python now I'm trying to learn C++

  • @QuransGems-zd1jd
    @QuransGems-zd1jd 3 місяці тому +1

    'as a beginner, don't concern yourself with something you dont have to' was literally one of the best advices!

  • @tylermech66
    @tylermech66 4 роки тому +243

    sitting around my house, don't really wanna play a game, not feeling like reading, am really tired but don't wanna sleep.
    you know what's a good idea listless brain? Let's learn to code!
    surprisingly, I'm doing good so far. tis a good video.

  • @neusaromao993
    @neusaromao993 4 роки тому +7

    I am become addicted to this instrutor classes, everything is so clear and concise! Keep them coming!!

  • @Hhvvjy
    @Hhvvjy 5 років тому +2159

    Roses are red
    Violets are blue
    Undefined “x”
    On line 32

    • @kuryart4586
      @kuryart4586 5 років тому +125

      Now this is what I call poetry, ladies and gentlemans!

    • @sayanghosh8827
      @sayanghosh8827 5 років тому +20

      Too good

    • @aaronmathew4420
      @aaronmathew4420 5 років тому +42

      @@kuryart4586 gentlemans huh 😂

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

      @@kuryart4586 We call it

    • @Aziqfajar
      @Aziqfajar 5 років тому +48

      Roses are magenta
      Microwave are blue
      I love Tom Hanks
      Now send me noods

  • @blockblockgoose
    @blockblockgoose Рік тому +1

    This is the best C++ tutorial video on the internet. Giraffe academy deserves a golden metal!

  • @oldtrash6038
    @oldtrash6038 3 роки тому +10

    haven't even finished the video yet and I can already say it was extremely helpful, where other videos made C++ seem a lot more intimidating this one made it look easy. He took his time explaining everything thoroughly and didn't rush through anything so, all I have left to say is thanks for the help.

  • @videodude5337
    @videodude5337 4 роки тому +238

    Imagine him recording for 4 hours.....
    And then realizing his cam was off. That would be tragic for such an incredible tutorial!!!! Thanks you!

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

      I dont even want to think about that

    • @callingpizza1208
      @callingpizza1208 4 роки тому +3

      :)

    • @yuvichahal9365
      @yuvichahal9365 4 роки тому +5

      @Chromulous imagine the camera wasn't on even in his second take and it's his third take

    • @thepotatoemaster6865
      @thepotatoemaster6865 4 роки тому +16

      @videodude this wasn't all recorded at once it's a bunch of clips put together but that would have been funny

    • @aryanraina3631
      @aryanraina3631 4 роки тому +5

      I think it was done in cuts

  • @joey-zo8ic
    @joey-zo8ic 2 роки тому +16

    learning more in 4 hours in C++ than 1 year of python at my college. such a good video!

    • @snomandonly
      @snomandonly 2 роки тому +15

      Well of course, i dont see why they would teach c++ in a python class

  • @gab.zz1
    @gab.zz1 2 роки тому +4

    I just can't believe you sat on a chair for 4 hours straight just to teach us (im a 12 year old and i want to prepare for my future) how to code and have a good carrier when we will grow up!

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

      Bro don’t stress at all to become a programmer today,just enjoy life because trust me,you will have high school to worry about what you want to do as an adult

  • @sebastianfix9148
    @sebastianfix9148 3 роки тому +1700

    Damn, after seeing the first 30 minutes of this video, I really appreciate how freaking easy Python is lol

    • @theultimatecoder3433
      @theultimatecoder3433 3 роки тому +19

      same

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

      I came from python too, to start learn some c for a project. "C" how it will turn out 😜

    • @madeshj7227
      @madeshj7227 3 роки тому +170

      @@FlorinBaci i came from biology think about me

    • @FlorinBaci
      @FlorinBaci 3 роки тому +34

      @@madeshj7227 don't get me wrong, I've studied python as a hobby for scraping betting data, as a background I came from environmental protection... 😜

    • @rajeshemmanuel9950
      @rajeshemmanuel9950 3 роки тому +14

      @@FlorinBaci i think c is eazy than c++

  • @christianavillanoza4559
    @christianavillanoza4559 4 роки тому +490

    In less than a minute, the man making the subtitles for this video gave up.

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

      Yea he is hella fast😂

    • @dylangonzales5910
      @dylangonzales5910 4 роки тому +18

      He really said "No, I am gonna leave"

    • @rednassie1101
      @rednassie1101 4 роки тому +3

      Haha XD

    • @voyager7793
      @voyager7793 4 роки тому +3

      well if you need subtitles you shouldn´t watch this video in the first place. C++ is english.

    • @sbqbinbihhh2580
      @sbqbinbihhh2580 4 роки тому +42

      @@voyager7793 there are deaf people too...

  • @TeShady
    @TeShady 3 роки тому +243

    I literally watched a whole hour of this and now I am making half life 3, This tut was amazing 🔥🔥🔥🔥

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

      😂😂

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

      Can i get link when you finish pls. 🤣🤣🤣. But for real

    • @xt2607
      @xt2607 3 роки тому +7

      gayben

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

      @@xt2607 ua-cam.com/video/dQw4w9WgXcQ/v-deo.html

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

      make sure gorgeous freeman is in it ;)

  • @factiiyoo7856
    @factiiyoo7856 Рік тому +3

    Sitting in a village in India and completed this whole video
    Thanks sir
    My college is going to start in 2 months
    A great video for learning before the college starts

  • @bilguun3796
    @bilguun3796 3 роки тому +1484

    Why am I even going to college...
    he just covered my 12 weeks semester in 4 hours...
    Bruh...

    • @narz1836
      @narz1836 3 роки тому +16

      @ArsalHD oye

    • @sumitrajpo.ot_
      @sumitrajpo.ot_ 3 роки тому +12

      probably for attendance

    • @ActuatedGear
      @ActuatedGear 3 роки тому +47

      Piece of paper. If you had a portfolio you could use that, but they want the piece of paper before they consider you because they aren't qualified to even interview you, let alone judge your capabilities as a coder.

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

      @ArsalHD you forgot it in 2 weeks, wowowoowowowowoowow

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

      go for the knowledge not to get a paper to get a job

  • @Rodrickslap
    @Rodrickslap 5 років тому +6

    You sir are amazing, I wanted to get ahead in class so I decided to check this out and it cleared up things the professor showed and then began teaching me things I didn't know. Thank you very much!!

  • @godsonalpha310
    @godsonalpha310 4 роки тому +501

    How many programming languages do you know?
    Mike Dane - Yes

    • @PickettLP7
      @PickettLP7 4 роки тому +10

      No blood, only code

    • @ananttiwari1337
      @ananttiwari1337 4 роки тому

      @@depression_isnt_real yeah.

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

      well maybe ALL

    • @godsonalpha310
      @godsonalpha310 3 роки тому +3

      @@depression_isnt_real yeah...reason why i decided to learn just few languages and master it very well....not gonna waste my time studying pretty much every language

    • @nibbsplayz4069
      @nibbsplayz4069 3 роки тому +3

      Lol

  • @bryanyang7626
    @bryanyang7626 2 роки тому +24

    I took two other courses in C++. This is so well done! What a great course for beginners and refreshers!

  • @altinaina2736
    @altinaina2736 3 роки тому +17

    I don't know why but I really like the way this man explain things....he looks so relaxed

  • @mikuculus3720
    @mikuculus3720 4 роки тому +581

    They didn’t lie when they said when you know one language the others are easier

    • @MrJai-sk7co
      @MrJai-sk7co 4 роки тому +6

      Oh have you learnt other computer languages from this?

    • @mikuculus3720
      @mikuculus3720 4 роки тому +3

      @@MrJai-sk7co Yes, but I recommend having a computer with you coding along. I used this as a supplement along with other videos.

    • @mikuculus3720
      @mikuculus3720 4 роки тому +3

      @@MrJai-sk7co I usually get an intuitive understanding of the syntax than watch one of these videos or you could probably start off with one if you’re clever

    • @Kdd160
      @Kdd160 4 роки тому +6

      Haha true :) I too first learned java

    • @Kdd160
      @Kdd160 4 роки тому +2

      @@BumpyVids definitely but u would find some concepts new, no need to worry :)

  • @Viralfanatics
    @Viralfanatics 4 роки тому +7

    Hey man, This was a great video. I knew nothing about C++ yesterday and today I have made a quiz game that works perfectly. This was a very helpful video.

  • @jammydodger222Xxd
    @jammydodger222Xxd Рік тому +4

    In case anyone has the same issue I had. If you're testing the integer inputs and the string inputs in the same file be aware that the
    character that is generated by the console when you hit enter carries over to the second input. If you're using the getline() command as the second input then it's supposed to read inputs until it detects the
    newline character. Because it's carried over you may experience the console just skipping past your second input completely. The way to fix this is to add the cin.ignore() command underneath the first input. This will remove the unwanted
    character. That should fix the problem.

  • @EpicTaarna
    @EpicTaarna 2 роки тому +112

    Great tutorial! Its hard to find someone who explains the basics as well as touching on more commonly used variables. Also, thank you for leaving in your mistakes. It helps knowing that experienced programmers still miss common mistakes.

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

      I as uh hi

  • @soupnoodles
    @soupnoodles 3 роки тому +50

    Mike is honestly one of the best teachers on the internet, his voice, the way and order he teaches in, everything about his teaching is really really good
    Too bad he doesn't make advanced or intermediate courses, but this way he can make more begginer tutorials for more languages, and i think this is a great way to start learning a language :D

  • @AilanthusMoth
    @AilanthusMoth 4 роки тому +9

    Taking this class next semester so I’m just tryna get a head start so I’m not hella lost
    Thank youuuu

  • @jalalhamza1344
    @jalalhamza1344 2 роки тому +1

    he's a really good teacher better than my school and the course i bought on udemy.

  • @LoCloud7
    @LoCloud7 6 років тому +247

    You should mention that "using namespace std;" is really only acceptable for very small programs. You should *not* use it if your program will do non-trivial work, as you will likely get naming collision of your functions with the standard library. Instead, always prefix standard library functions or types with std::
    (Trust me, it's not that hard to get used to and you'll avoid a ton of bugs)
    For, say, print-heavy functions, you could prefix the code *inside* a function with "using std::cout; using std::endl;" to then not have to write std::cout and std::endl all the time (instead only writing cout and endl)
    And finally, don't overuse std::endl. Most of the time all you want is to add a
    . This is because std::endl flushes the output, which is slower than just writing a newline character to the stream (my benchmark for instance yielded 100% speed improvement using
    over std::endl)

    • @LoCloud7
      @LoCloud7 6 років тому +19

      You're using C++, use its features. There's a reason namespaces exist, and throwing them out of the window with a global namespace import is just a bad idea.

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

      @Peterolen yeah well, it doesn't. Naming conventions are a often occuring problem in C, that's the reason C++ offers the namespace solution.

    • @bottles1215washacked
      @bottles1215washacked 6 років тому +4

      Can you please put the times on where all of the errors you listed above were mentioned?
      Thanks
      Sincerely,
      Me

    • @KutuluMike
      @KutuluMike 5 років тому +1

      @Peterolen C _doesn't_ manage it without namespaces; it just a) uses the wrong overload or b) throws a compiler error if you end up colliding with a name from the standard library.

    • @skaruts
      @skaruts 5 років тому +2

      I never had my own functions conflicting with the standard lib. Been "using namespace"s all along and never had any issues at all. I'm not an expert c++ coder, and I don't use many libs (SDL, SFML...), but then so don't most people who are learning to program. I think it's more productive if they keep their code clean and be taught to *understand* the caveats if an when they delve into using more 3rd party libs.
      Besides, nothing replaces learning from mistakes. If I ever have issues with using namespaces, I'll see exactly why it is.

  • @PaulIshak
    @PaulIshak 4 роки тому +20

    53:00 Those are postfix operators, but there are also prefix operators, where a postfix operator example is "wnum++", a prefix operator example is "++wnum". Postfix uses the value before incrementing it, whereas prefix increments the value before using it.

    • @sufyanali2989
      @sufyanali2989 4 роки тому +1

      Whoa whoa u r making it more harder

    • @SerBallister
      @SerBallister 4 роки тому

      @@sufyanali2989 Yeah, as a single expression it doesn't matter if it's ++var or var++. And anyone that uses increment operators outside singular expressions and while/for loops needs to be shot anyway.

    • @PaulIshak
      @PaulIshak 4 роки тому

      @@SerBallister Knowledge is power... I'm sure there are lots of debates you can join about the applicability of any language feature really, but when you know the language, that's when it doesn't matter what you're looking at because you're good either way.

  • @izazulhaque6734
    @izazulhaque6734 5 років тому +21

    If you already into programming and know most of the C syntax.. skip to last hour of this video
    3:13:27 classes & objects
    3:25:42 constructor functions (useful when init objects)
    3:34:41 object functions
    3:41:45 getters and setters (useful object functions)
    3:54:07 inheritance (super)

  • @tadantandadan9107
    @tadantandadan9107 3 місяці тому

    This guys is probably one of the best teacher teaching c++ it's so details like he even explains everything special what everything does. This guy is born to Teach.

  • @nice-cp5qf
    @nice-cp5qf 4 роки тому +24

    this guy's posture is so good

  • @JunaidSalehHayat
    @JunaidSalehHayat 5 років тому +246

    Thanks a lot!! Please do an intermediate level and then an advanced level for C++.

    • @royalenfieldmeteorrider7873
      @royalenfieldmeteorrider7873 5 років тому

      Just go for linked list and all graph these are advanced stuff both for c and c++

    • @pemifo260
      @pemifo260 5 років тому +2

      @Anonymous Developers Why? I'm new at coding, and what you said make me curious.

    • @MacMan2152
      @MacMan2152 5 років тому +2

      ​@Anonymous Developers I don't understand you but I want to understand you. I downloaded the IDE program as the guy in the video said and it seems like I don't need to type in std every time.

    • @colesmith5916
      @colesmith5916 5 років тому +7

      Олег Пулемётное Туловище nah hes saying if you dont have the namespace std line at the top, u need to write std every line... which why tf would u want to do that? is there an advantage?

    • @καλαμ
      @καλαμ 5 років тому +2

      @Aquatic Productions That is not entirely true.

  • @thejoker8947STC
    @thejoker8947STC 4 роки тому +85

    By 2:27:13 I was able to actually come up with my own method of creating this.
    cout guess;
    guesses++;
    if (guesses == guesslimit && guess != secret) {
    cout

    • @stick4508
      @stick4508 4 роки тому

      Nice

    • @rw2378
      @rw2378 4 роки тому

      i made a better calculator when he made a basic calculator :D

    • @yash24kmrmehta
      @yash24kmrmehta 4 роки тому +2

      We r all future pros...okay?

    • @stick4508
      @stick4508 4 роки тому

      @@yash24kmrmehta yup

    • @affyne
      @affyne 4 роки тому

      @@yash24kmrmehta LETS GO BABY!

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

    I've been coding for like 10 years. never learned C++. I came to the Video for the C++ Syntax. But you explain the fundamentals of programming in 5 different ways every step of the way I had to watch the whole thing.

  • @adriatic123
    @adriatic123 3 роки тому +237

    In the beginning, I wasn't very impressed, but later I realized it's actually a very good course. Congrats. Btw I wonder how much more is there to learn to become a C++ pro.

    • @কাঁঠালেরআমসত্ত্ব
      @কাঁঠালেরআমসত্ত্ব 3 роки тому +43

      Umm a lot. Even after a couple of years you could be puzzled by the complexity of stl library designs

    • @rattlehead999
      @rattlehead999 3 роки тому +19

      well another 996-1996 hours.

    • @incogneeto982
      @incogneeto982 3 роки тому +10

      I know a guy who is a code engineer or something like that. Has been at it for many years and is now the head honcho at his workplace. He still says he has a lot more to learn.

    • @allengoodwin7043
      @allengoodwin7043 3 роки тому +26

      From my limited experience and observation, c++ has soooo many possible uses that you shouldn't try to learn everything about everything about it. Get a general knowledge, then focus on things that help with what you're trying to do. Don't bother learning gow to write drivers if you never need to write drivers.

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

      @@allengoodwin7043 Whenever people say something along the lines of "don't learn anything that you don't need to learn" I always disagree. Knowing how to write drivers might come in handy even if you're not writing drivers; the deep knowledge of how drivers work and all the transferable skills that come with that could be priceless to you. Learning only what you need to has the potential to make you a stale, uncreative developer, and that's why so many companies pay extra for staff that are passionate and learning a variety of things outside their specific area.
      Of course, you should always prioritise. But learning for the sake of learning is an incredibly valuable way to spend your time.

  • @Gyarados422
    @Gyarados422 3 роки тому +32

    Thanks for doing this man! I got a pretty major head start in December of last year on my first CSC class thanks to your Python tutorial and I just wrapped up watching this, working alongside you, and taking notes in preparation for learning C++ in my second CSC class.