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...
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.
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
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?
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.
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.
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
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!
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 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.
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
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.
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!
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.
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.
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.
@@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.
@@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.
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!
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)
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.
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!
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 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!
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.
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 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
@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.
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
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
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!
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!
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
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!
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
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
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.
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!!
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.
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.
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.
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?
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 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 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
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!!
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
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
@@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?
@@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
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.
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.
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.
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!
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
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
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.
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!!
@@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
@@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
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.
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.
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.
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
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)
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.
@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.
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.
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 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.
@@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.
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)
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.
@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.
Олег Пулемётное Туловище 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?
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
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.
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.
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.
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.
@@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.
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.
Click the "JOIN" button below the video to support freeCodeCamp.org!
What happens if all of my options say "20" instead of "16"
Where can I find an intermediate c++ tutorial?
Tactic_4K in code blocks ?
Tactic_4K so am i , which one did you choose?
I get error no such file or directory
Error:no input files please help
this guy actually puts in the effort to check through the whole video to correct his mistakes. respect
That's why people like him deserve alot sub...
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...
very nicely explained!
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.
@@wreckless_-jl6uu r/imverysmart
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
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?
So you're a C++ Developer?
@@redwooid noooo I’m a full stack developer now but my first language was C++
@@justinwang4378 hey man can u plz share how you started or which direction you went after learning cpp.
@@justinwang4378 full stack mean??
I finally finished the whole 4 hours, and now i'm taking my first steps towards world domination
took me like, multiple months to get to the end... i "may" have procrastinated some
Can I join in the takeover
@@GreenTeaoff absolutely!
@@Terrafighter procrastination is the thief of time😶
@@akshaysankar2318 procrastination is delaying something or putting it off? what do you mean?
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!
it's really amazing, I've only made it to around a half hour in and i'm learning so much already
okay to be fair then, you already had quite a base knowledge of this concept seeing as you studied this in college?
You can learn to program online for free but if you want a degree go to college or university
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.
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.
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
@@BooskeyRt Hey i want to learn cpp as well can you tell me what else did you use after this?
@@siman211 practice with challenges
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!
Really bro?? Can i learn c++ completely from this 4 hours??
@@thilak18 obviously not, you have to practice.
@@dcode863 by practicing what this guy says can i learn completely 🤔
Yo can i use Microsoft visual studio code for this tutorial?
@@thilak18 there are many things u have to find new things that many people don't teach and practise coding ..
This dude literally thought everybody about programming in 4 hours without ads.
HE IS THE KING!!!!👑👑👑
Xxx33 IanKosi 33xxX taught*
taught*
Taught
Bruh this is free code camp it is an organization who asked this guy for his content
this guy owns giraffe academy
Torte
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!
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
@@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.
This tutorial isn't only for C++ beginners, it's for total programming beginners also. Man you are great.
every tutorial is for complete beginns and no one takes into account that you can already now a different language. I hate that.
Yasin Biyikli the thing is, code from other languages wont help you with this language (other than c obv).
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
I have the same doubt too
Please let me know if you know the answer for the next step!!
@@Johnkiran0 😂😂no these are only basics
You taught me more in 4 hours than my professor did in an entire semester
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
@Raghavan vidhyasagar so college doesn't teach anything properly?
Same haha
Can you send me some lessons from your course ?
True bro
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.
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!
Suppose I wanted the extra theory, could you tell me where to look?
Right!
agreed.
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.
goswamicodechef.blogspot.com/2022/04/introduction-to-c-1.html
Stop going thru comments, continue the tutorial.
YOU
Thanks lol
._.
How'd you know :o
Ok sorry I will continue :(
;-;
⭐️ 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
Thx
why the f you commented the contents out of the description
NetroAlex for mobile users
@@carnotauros huh ok now I see
cuz I'm on phone
Not the hero we need, but the one we deserve
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.
I learned more in the first 40 minutes than I have in 2 weeks in my high school C++ class, nice video
Which school are you attending?
@@sahin3355 he is attending aangan baadi school in india👨🏽😁
Guess what,
1 year, and we've only discussed output, input, arrays, functions, switch, while, for and ifs.
3 hours/week...
Which school do you attend @@obinator9065 ?
@@sahin3355 A vocational college, comparable to 11-13th grade level with cs as primary focus.
this dude literally taught me in 4 hours what I learnt in 2 years at school
Yes, thats right.
schools are so inefficient
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.
@@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.
@@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.
I learned in 4 hours more than I learned in 2 whole years of High School, you're my hero
well its school
@@thegoldentree6913 yes
@@thegoldentree6913 School teaches jack sh*t
School never teaches a fraction of what is being used in the industry
Really he is even my hero..I AM GIVING YOU AND THE HERO UNLIMITED HEARTS AND THE STARS .😘😘😘😘😘
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!
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.
@@Aisenhelm No problem! Good luck with coding!!
hello i am new and i just want to ask if all that code would work in Dev C++.
because codeblocks won't work on my device
@@zed6410 yes, it works on dev-c++
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)
Thanks man
Great Work!
🤔😏
brohh
⭐️ 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
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.
How effective was this?
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!
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.
im starting to learn both c and c++ in uni now, is C hard and u have any tips to 'master' it?
@@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!
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!
We have to appreciate him for teaching us The way we want and even without any Ads. Love from India Bro 🇮🇳♥️
@@shamimhassan4039 Hah! Seriously, man?!
@@shamimhassan4039 okay, good good, good good!
@@shamimhassan4039 please tell me what idiansb are
IsLeafyHere? I wanna know too. Since Shamin clearly cannot articulate their bigotry.
Love from Pakistan as well.
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.
Do you happen to know if this video is still correct? Being 4 years old
@@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.
@@thecyberrabbit1440 yep. it is as correct as it will ever be
does anyone know any follow up vids after this? Or what I should be doing after completing this video?
you could look up the beginner to advanced tutorial@@eloz11
If you are familiar with some basic concepts of programming and c language and want to learn c++ then this course is worth it.
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.
Hi there, just wanted to know is it helpful for a complete beginner just like me?
I wanna learn programming
@@roard4908 Absolutely, he lays everything down in a very understandable way
@@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
@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.
@LemonsQHD Yes definitely... It would help a lot!! Also try to include the syntax.
All the very best!! :)
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
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
How's your journey going?
@@josecorona7316dying
How is your journey going!
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!
Who’s learning this while in home during coronavirus
I am
I like being on lockdown
I am
Knowledge is power
just finished! I do game developement in ue4 and wanted to learn. Now I feel like learning more and dont know where to go...
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!
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
yeah really youtube can teach you ANYTHING!
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
SAME THO
Seamus O'Dork everyone is including you and me and your mom
This is the best explanation of pointers I think I have ever seen. It's clear as day to me now.
Cherry
Why did you say edit: spelling?
I am a physics teacher but I have started my programming journey and this is really helping me
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!
To everyone starting this,
Good Luck
Now I'm going to learn by setting this video.
Is it good..?
@@udayn7668 it is good
Thank you I need it
kay senpai
I have nothing to do during quarantine, so this is what ik doing
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
Can you help me please tomorrow I have an exam
C++
Day 1 1:35:36
Day 2 2:39:45
Day 3 3:34:43
Day 4 Done!!
Good tutorial😊
😂🎉
Congratulations 🎉🎉🎉
So what did you learn😊
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
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
@@RaimonTarou 100% agree with you
Most likely teachers
@@RaimonTarou also teachers have a very generic, boring way of teaching it
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.
Took me 5 I still find it confusing
@@Ryantheman2023 Just keep practicing and you'll understand it
bro took me a month
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.
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!!
underrated comment, I was wondering why my code wasn't working
+1, i had the same problem with visual studio :), i thought i was the only one xDD
Thanks for the tip. I was wondering why my program wasn't working.
Same in Turbo c++
Thanx saved me some g👀gling 😁
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.
I have made a video exclusively for c++ beginners.Go check it out! - ua-cam.com/video/DQybC0kNB3k/v-deo.html.
Why am I even going to college...
he just coverd my 12 weeks semester in 4 hours..
*Bruh...*
Comp eng ftw
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.
Bruhhh….
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.
You got weak semester😀
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.
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?
codeblocks-20.03mingw-setup.exe This is the one that i downloaded @@faizfauzi1891
A WEEK??? ITS BEEN OVER A MONTH AND IM STILL NOT DONE
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
Then why python is more demanded these day
@@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.
@Satchel no bro. As far as i know nowadays python is very demanded
@@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
@Satchel Not really.
damm this code editor background is brighter than my future
XD
Oof
Lol
use visual studio it's way better
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!!
Hey me too hopefully we can help each other
Abyss Gaming Yeah, sure.
This is the best explanation of pointers I've heard in ages.
⭐️ 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
Life saver 🫶
I was looking for this comment
Thanks
@Zephyruz-jr3ej LMAOOOOOOOOO, ur stupid
I like it when he says "Hopefully" before running every program.
You can never be too sure.
Challenger Tier So do I 😄
@@snekpliskin every programming software has an error box where it tells you what went wrong
@@psvita59 or at least an error message, which you can thankfully always look up
@@theparrot271 hopefully wont get your worst nightmare when you search the error and there are no results
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!
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
Honestly one of the best and most thorough introductions to C++ ive ever watched. Thank you
I can't believe this is free with no ads, thank you so much. Keep it up!!!
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
Hi
@@amarsaikonakanchi899 simp
@@shubhamkumardas8454 lol. But good vid tho. Just got into 11th and wanted a head start.
you're literally the best teacher I've ever seen 💙✋
and all of a sudden a whole semester of computer programming started making sense
Lol
lmao
you probably just didn't pay attention then
@@jonnyefftek2877 kind of
@Hank Threlkeld keep it up bro!
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
It's funny how you passed without knowing anything 🤣
@@aaaaaa-hh8cq Seriously man
@@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?
@@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
THANK YOUUUUUUUU this tutorial has taught me so many things i didn't know before
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.
Went through the entire 4 hours. This Tutorial is amazingly helpful. Thanks man.
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
Mike does such a well job at teaching, he's helped me learn Web Dev, and Python now I'm trying to learn C++
Python and C++? Do you hate yourself? Nerd
'as a beginner, don't concern yourself with something you dont have to' was literally one of the best advices!
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.
are u my lost twin ? xd
@@ImRealKasi are both of yall my lost triplet
@@atlnemo1191 are you all my lost quadruplets? XD
@@mohammedisam9094 y'all my quintuplets?
We a whole basketball team of siblings👁👄👁
I am become addicted to this instrutor classes, everything is so clear and concise! Keep them coming!!
Roses are red
Violets are blue
Undefined “x”
On line 32
Now this is what I call poetry, ladies and gentlemans!
Too good
@@kuryart4586 gentlemans huh 😂
@@kuryart4586 We call it
Roses are magenta
Microwave are blue
I love Tom Hanks
Now send me noods
This is the best C++ tutorial video on the internet. Giraffe academy deserves a golden metal!
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.
Imagine him recording for 4 hours.....
And then realizing his cam was off. That would be tragic for such an incredible tutorial!!!! Thanks you!
I dont even want to think about that
:)
@Chromulous imagine the camera wasn't on even in his second take and it's his third take
@videodude this wasn't all recorded at once it's a bunch of clips put together but that would have been funny
I think it was done in cuts
learning more in 4 hours in C++ than 1 year of python at my college. such a good video!
Well of course, i dont see why they would teach c++ in a python class
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!
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
Damn, after seeing the first 30 minutes of this video, I really appreciate how freaking easy Python is lol
same
I came from python too, to start learn some c for a project. "C" how it will turn out 😜
@@FlorinBaci i came from biology think about me
@@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... 😜
@@FlorinBaci i think c is eazy than c++
In less than a minute, the man making the subtitles for this video gave up.
Yea he is hella fast😂
He really said "No, I am gonna leave"
Haha XD
well if you need subtitles you shouldn´t watch this video in the first place. C++ is english.
@@voyager7793 there are deaf people too...
I literally watched a whole hour of this and now I am making half life 3, This tut was amazing 🔥🔥🔥🔥
😂😂
Can i get link when you finish pls. 🤣🤣🤣. But for real
gayben
@@xt2607 ua-cam.com/video/dQw4w9WgXcQ/v-deo.html
make sure gorgeous freeman is in it ;)
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
good luck to your college journey!
@@theglobol thankyou 🙏👍
lol india
@@lugia8888 lol usa
@@sashathedonut more GDP than india :)
Why am I even going to college...
he just covered my 12 weeks semester in 4 hours...
Bruh...
@ArsalHD oye
probably for attendance
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.
@ArsalHD you forgot it in 2 weeks, wowowoowowowowoowow
go for the knowledge not to get a paper to get a job
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!!
How many programming languages do you know?
Mike Dane - Yes
No blood, only code
@@depression_isnt_real yeah.
well maybe ALL
@@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
Lol
I took two other courses in C++. This is so well done! What a great course for beginners and refreshers!
I don't know why but I really like the way this man explain things....he looks so relaxed
❤️
They didn’t lie when they said when you know one language the others are easier
Oh have you learnt other computer languages from this?
@@MrJai-sk7co Yes, but I recommend having a computer with you coding along. I used this as a supplement along with other videos.
@@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
Haha true :) I too first learned java
@@BumpyVids definitely but u would find some concepts new, no need to worry :)
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.
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.
LIFESAVER. Thanks man!!!
Thanks a lot
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.
I as uh hi
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
Taking this class next semester so I’m just tryna get a head start so I’m not hella lost
Thank youuuu
he's a really good teacher better than my school and the course i bought on udemy.
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)
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.
@Peterolen yeah well, it doesn't. Naming conventions are a often occuring problem in C, that's the reason C++ offers the namespace solution.
Can you please put the times on where all of the errors you listed above were mentioned?
Thanks
Sincerely,
Me
@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.
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.
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.
Whoa whoa u r making it more harder
@@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.
@@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.
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)
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.
this guy's posture is so good
ikrrrrrrrrr
Thanks a lot!! Please do an intermediate level and then an advanced level for C++.
Just go for linked list and all graph these are advanced stuff both for c and c++
@Anonymous Developers Why? I'm new at coding, and what you said make me curious.
@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.
Олег Пулемётное Туловище 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?
@Aquatic Productions That is not entirely true.
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
Nice
i made a better calculator when he made a basic calculator :D
We r all future pros...okay?
@@yash24kmrmehta yup
@@yash24kmrmehta LETS GO BABY!
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.
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.
Umm a lot. Even after a couple of years you could be puzzled by the complexity of stl library designs
well another 996-1996 hours.
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.
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.
@@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.
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.
Dude same