Be sure you've smashed that _like_ button 👍and leave a random _comment_ 💬 down below to *break* *the* *RUclips* *algorithm*💥 This video is a beginner's introduction to C++ that assumes you have no coding experience. C++ is a vast and complex language. This 6-hour video covers just enough to get you started working with C++ on your own. After completion, I would recommend researching: Vectors, Polymorphism, STL, Smart Pointers, and modern C++23 features. ⭐Time Stamps⭐ 1# (00:00:00) C++ tutorial for beginners 👨💻 2# (00:13:30) Variables and basic data types ✗ 3# (00:24:14) Const 🚫 4# (00:27:37) Namespaces 📛 5# (00:32:13) Typedef and type aliases 🙋♂ 6# (00:37:39) Arithmetic operators 🧮 7# (00:43:18) Type conversion ✨ 8# (00:47:05) User input ⌨ 9# (00:52:35) Useful math related functions🔢 10# (00:56:03) Hypotenuse calculator practice program 📐 11# (00:58:44) If statements 🤔 12# (01:03:40) Switches 🔀 13# (01:09:29) Console calculator program 🖩 14# (01:14:13) Ternary operator ❓ 15# (01:18:53) Logical operators 🔣 16# (01:23:55) Temperature conversion program 🌡 17# (01:29:17) Useful string methods in C++ 〰 18# (01:35:51) While loops ♾ 19# (01:38:56) Do while loops 🔃 20# (01:42:15) For loops 🔂 21# (01:45:53) Break & continue 💔 22# (01:47:34) Nested loops ➿ 23# (01:51:51) Random number generator 🎲 24# (01:55:25) Random event generator 🎁 25# (01:59:05) Number guessing game ↕ 26# (02:03:10) User defined functions 📞 27# (02:10:33) Return keyword 🔙 28# (02:16:42) Overloaded functions 🍕 29# (02:19:49) Variable scope 🌎 30# (02:24:11) Banking practice program 💰 31# (02:38:04) ROCK PAPER SCISSORS game 👊 32# (02:51:11) Arrays 🚗 33# (02:56:40) Sizeof() operator ⚖ 34# (03:01:34) Iterate over an array 🗃 35# (03:05:40) Foreach loop 🗂 36# (03:08:36) Pass array to a function 💵 37# (03:13:07) Search an array for an element 🔎 38# (03:20:43) Sort an array ➡ 39# (03:26:37) Fill() function 🍔 40# (03:31:19) Fill an array with user input 🌭 41# (03:38:17) Multidimensional arrays ⬜ 42# (03:45:57) QUIZ GAME 💯 43# (03:57:42) Memory addresses 🏠 44# (04:00:31) Pass by VALUE vs pass by REFERENCE 📧 45# (04:04:47) Const parameters 🧱 46# (04:07:54) Credit card validator program 💳 47# (04:17:56) Pointers 👈 48# (04:23:12) Null pointers ⛔ 49# (04:27:17) TIC TAC TOE game ⭕ 50# (04:46:26) Dynamic memory 🧠 51# (04:52:15) Recursion 😵 52# (04:58:35) Function templates 🍪 53# (05:03:49) Structs 🏗 54# (05:08:49) Pass structs as arguments 🚚 55# (05:14:17) Enums 📅 56# (05:18:38) Object Oriented Programming 🧍 57# (05:29:32) Constructors 👷 58# (05:38:26) Constructor overloading 👨🍳 59# (05:42:51) Getters & setters 🔒 60# (05:48:59) Inheritance 👩👧👦
Quick tip: TLDR: "using namespace std" ❎ "using std::cout;" and/or "using std::cin;" ✅ I've seen a lot of comments saying to use 'using namespace std'. But you don't want to do that. Reason: 'using namespace std' includes the entire standard library. If you're just trying to extract the 'cout' and 'cin' features there's a better method. You can actually just type ' using std::cout; ' and 'using std::cin; '. That way you are only 'using' exactly what you want. And not the entire standard library. Doing this method will help alleviate "naming conflicts" that occur with 'using namespace std'.
So i had to go through university and fail the subject, then countless courses on Udemy trying to understand c++ ,so i can find this LEGEND explaining C++ for normal people. No extra information , no stuttering , no useless examples that are self-explanatory. I can't wait to finish this course because it will fill all the holes i have from my other courses and my useless university teacher. Then i can reattempt the subject again.
I'm kinda speedrunning learning c++ since I have experience with other coding languages, but spreading it out is definitely a better practice for retaining the knowledge
I went to a trade school for automotive and it was a total joke. I keep seeing ads for Coding Dojo and Flatiron and it just reminds me of the Lincoln Technical Institute sales pitch. I plan on teaching myself how to code, then I'll build a profile on GitHub or something. I am in a decent career (auto mechanic) already, so I'm not in a major rush to do this. I am getting pretty tired of being fucking dirty all the time, but it is what it is; I make decent money and my son and I live with my dad.
As a Highschool programming student who primarily uses C++, you've explained the basics of this language way better in 6 hours than our teachers in a year. Your videos are well done, straight to the point and explain everything you need to know to start programming. Hope this video does well, and I hope you do more C++ tutorials in the future
@@xenaidaschronicles bro spent a full 6 hours recording, about 3 more editing, and about 1 more setting shit up before starting the recording, and you're out here being a bitch. And he did it all for free.
For people having problems at 25# (01:59:05) Number guessing game. Where the amount of tries is insanely high. Try setting your int tries = 0; So the amount of tries starts at 0. If you don't it will start at a random number.
This is an incredible video. From this alone, I've gone from completely clueless about coding to somewhat competent in the basics of C++. I have to thank you so much for the effort you've put into this video and for releasing it for free. Keep it up man!
@@xfaresoox7581 no. I’m taking c++ classes and this ain’t enough. C++ is a big language and takes about two years to get really good at according to google. If you wanna build apps, use Kotlin for android and Swift for iOS. You need a Mac for swift but Kotlin is crossplatform (as long as you have IntelliJ IDEA compiler or VS code)
I have never thought I would go through a 6-hour all-in-one complete video with my attention deficit disorder. Something about your teaching style is engaging and I am so grateful to you for sharing such valuable knowledge!
Actually I had similar problem and first 5 lessons took me hours to learn how to focus and teach myself, now I'm progressing much faster and I'm 1/4 way there!
I was recently transferred to another University and the programming language they learned was different from ours (we studied Python). I was searching for a fast and clear C++ tutorial and one of my friends recommended your channel 👌
it may be the environment factor, I always thought the same like you, but when i look back at notes all of them were taught, my mind just wasn't present at that time
@@andresacevedo936 only dedication that matter u can learn them in a few weeks to whole years but yes just remember to practice them and some problem solving to really nail them and good luck😃
@@andresacevedo936 Is it possible? Maybe. Should you do it? Probably not. Especially since you want to learn two languages in a short time, with one of them (C++) being quite a lot more difficult, it would be a challenge and you would most probably not do it in a few months. I would recommend you start with python first, and once your good with that, start learning C++. Its important that you take your time and not rush it.
Yes!! As someone who is going to college this fall for programming without previous knowledge of any programming languages I must say you are an amazing person❤ I've been fitting as much of your hmtl-css-java course into my work weeks as humanly possible. I figured that with my adhd it would have been difficult to focus and learning from long videos like this would have been boring but something about your videos are surprisingly engaging. If you ever have a doubt about the value of the educational work you give to us on this platform, know that you are definitely doing something right! And doing something great.
Dear Bro Code, I just wanted to take a moment to thank you for all the hard work and dedication you put into your RUclips channel. Your videos have been a source of inspiration and entertainment for me, and I truly appreciate the time and effort you put into creating them. Your passion for your craft is evident in every video you produce, and I am grateful to have found your channel. Thank you for sharing your knowledge and expertise with the world, and for making a difference in the lives of so many people. Sincerely, Trung
i know this course was posted 1 year ago, but its the best one so far! at 1:26:09 i started to code my own converter so i can see if i made it the same way you did. instead of using if statements i used switch(toupper(unit)) and it still worked! enjoying this course so far.
Personal time stamps (did basic Python things in school and Visual Basic in university (idk why VB either)) Day 1 00:00 - 1:36:00 Day 2 1:36:00 - 2:57:00 Day 3 2:57:00 - 5:29:35 (it got easier as i remembered the bases for programming and also had a lot of time today to study.) Day 4 5:29:35 - 6:00:00 Thank you so much, Bro Code, as everyone already told you, you re amazing. Good luck everyone else
@@polar_znow when i did It, i was only doing a part time job as my university was in holiday (i Dont know if this is the right term in English) and no, im not working in any project, since another uni year started i got really limited in free time
@@polar_znow not really. The reason i was trying to learn C++ was because i want to do a specialization in Robotics and Automation (im doing a Mechanical Engineering degree). Since im still doing the base degree, i dont have (yet) a lot of opportunities to program neither do i have time to do it extra-uni, but it helped me a lot to understand some programming in Robotics books i ve been reading.
Wow thats actually sick, im doing the course just because i have to much freetime 😂. Anyways i wish you very good luck with your programming and robotics and have a very beautiful life ❤
I have just finished all 6 hours of this course in just a few days and i now feel like i have a decent understanding of c++ and am confident to start creating things with it, cheers for the free course!
i have learnt python from ur videos and it was actually the first time i enjoyed programming, lately I've been trying to learn c++ for so lone but couldn't find someone that have ur ability to deliver concepts easily , am so happy and thankful for ur efforts
I'm midway through the full course on python, and the legend has just released a new one. May the algorithm reward you for the hard work you're providing for us!
for those who are getting the error "error: conversion to 'unsigned int' from 'time_t {aka long int}' may change the sign of the result [-Werror=sign-conversion]|" in the Random number generator 1:54:34 here's an explanation: The srand() requires an "unsigned int" as parameter (srand(unsigned int)) but time() returns a "long int" (long int time()) and this is not accepted by the srand() so in order to fix this, the compiler has to simply typecast (convert) the "long int" to "unsigned int". BUT in your case the compiler warns you about it instead (as the designers of the compiler thought you should be aware that's all). So a simple srand( (unsigned int) time(NULL) ); will do the trick!
YES, finally completed the course! took me 6 months to finish, ye ik its slow but i took some time to deeper understand all the parts and did some little projects.
Homework for lesson two: int batteryPercent = 98; double pi = 3.14159; char musicNote = 'C'; bool videoLiked = true; std::string fact = "std does not mean sex transmitted disease in c++"; Great video Bro!
Man, you are really good at explaining. Most tutorials, and even my classes at school, just tell us to put stuff down. They don't explain what they do and why. This is refreshing.
This video is pure gold for anyone trying to learn C++! The only and only critique I have is that I wish we had more projects and individual assignment to do but that is our own responsibility, you didn't even have to teach us! I guess you could say I am officially a Bro Coder now!
(01:29:17) Useful string methods in C++ 〰 These functions can be written in a simpler way: name.length() ---> name.size() name.clear() ---> name="" name.append("abc") ---> name+="abc" name.at(0) ---> name[0] The rest are all very useful.
You’re a gigachad man, even a terrachad if I say so. A Unity engine course would be amazing because I love the way you teach man! I was really upset when I read you were taking a break from RUclips and I’m so glad you’re back
Hello bro code, This is Derrick from Uganda, I don't know how to say this but I thank you alot, you have really changed the world and made programming easy to understand and enjoyable, I don't know what you believe in but may the Almighty keep on blessing you.
I haven't finished your last course, which is 4,5 hours long, and now i found this new 6 hours course. Thank you so much for your hardwork! I'm sure you helped a great amount of people
Thank you so much for this course! From writing everything down and going back to listen again, to simply listening and taking it all in by the end. In 2 days my first day of CS studies will start and I feel like I can enter the programming class with less anxiety. Truly amazing work!
Just a heads up, your class will likely be taught in Python, not C++. That's fine though, as the skills are absolutely transferable, Python just has an easier learning curve. Understanding these sorts of concepts will absolutely help you in your class. It's just that instead of "cout
My personal progress: Day 1: 00:00 - 58:35 Day 2: 58:35 - 2:51:20 Day 3: 2:51:20 - 3:57:43 Day 4: 3:57:43 - 4:46:27 Day 5: 4:46:27 - 6:00:00 Absolutely amazing video and #includes all the main and important aspects of c++ better than any other video I've seen on the topic!
Just finished the whole video, took me days but it was very helpful than any other videos. Thanks!!! I got just the level of basics needed. Stay Awesome!
Bro, thank you for making this tutorial. It is the best tutorial for C++ that I have found by far. Just finished this course after working through it for the past month.
Loved your video man. Watched a lot of C++ tutorials..but none got me listening and interested in C++ unlike yours. Thank you for taking the time and effort to create such clear and elaborate tutorial! You have my like! Subscribed
Man I really appreciate the way that this guy broke c++ down to understand more better,I am in school right now and this guy explains it more better than my professor does!
********Timestamp days******** Day 1 = 1:52:31 Day 2 = 3:02:17 Day 3 =5:09:12 Day 4 = 6:00:00 -- finished ********************************* *Comment* Nice work Bro Code, this was the best series *********************************
I watched through the whole video. And before watching I couldn't even install a compiler properly, and now this man has taught me how to make fully fletched programs, he uses such simple vocabulary and makes everything much simpler to understand than other teachers, and he's doing this all for free. This tutorial was really helpful and you deserve a lot more subs and recognition than you have. Thanks for the tutorial, it was awesome.
super impressive how much you manage to pack into 'just' six hours and even more impressive that you make this available for free many thanks for sharing your knowledge
Thank you so much! I started learning C++ from your Crash Course yesterday and was wondering when you would upload the full one, and today it actually happened! :D
I'm trying to break my way into the game dev scene and this is helping me A LOT. I know it's an older video but this super helpful and educational. I've been using visual scripting in Unreal engine and i actually recommend it to people. Personally it helps me understand these concepts a lot and has made transitioning to c++ a lot easier
@sIyceth well first you're gonna wanna pick a game engine. I use Unreal engine 5 but they're all good for different things so it just depends what kinda game you want to make. Then you just learn the engine and watch RUclips videos and experiment with it and get used to working in a 2d or 3d space. Then you gotta plan out your game and give the different things functionality then you gotta replace your place holder objects with interesting art and music. It's a lot haha
Thanks a lot for everything dude. Thanks for sharing your knowledge, your practice, your time for helping people being better version of themselves. Simply said, thanks for being the best person you can be and helping others being so. Greeting from France !
Bro code,i'm from Brazil, a portuguese speaker, your content came here!!, and this is awesome,in my opinion this is the better coding channel of the RUclips, congratulatios and all the best to you, i wish you release your plains for your life, you're a legend,thank you very much!!
@@camilasmithson5410 Agreed. Operating Systems courses so need a new and fresh approach. I completed the course in undergrad but never really felt engaged in it. The dinosaur books are a dinosaur approach....
Having a GIS background and with coding being the new must in the field, I am really enjoying learning from your video. Your work is easy to understand and follow. As a procrastinator who has decided it is now time to learn programming, all I can say is a big thank you.
If you were having issues with the banking program at the end if you input something else than numbers, and the solution in the video did not help, try this:, if the cin failed because we input a string when it only takes our choice (int) it will clear input and ask for new input. if (std::cin.fail()) { std::cin.clear(); std::cin.ignore(); }
Timestamps: Day 1 00:00 - 37:41 Day 2 37:41 - 52:36 day 3 52:36 - 1:18:56 day 4 1:18:56 - 1:38:54 I know it might not seem like much time, i write lots of notes down. The 30mins of watch time turns into 1-2 hours of writing down notes and rewatching until i fully understand.
Dear Bro Code, I just wanted to thank you for your amazing tutorials. Thanks to you I have been able to pass the entry exams for a re-orientation degree by following your java tutorial, I am now a full time web dev and I wanted to give c++ a try and this tutorial is once again amazing ! THANK YOUUUU
It is for finding the total time taken for a person from starting point to destination. Consider there are some signals in between and it has red light for stop and green light for start. The person can cross only if it was green light otherwise he should wait for green light. Initially all lights are turned on as green light. Sample Input 1: Enter the number of signals: 4 Does the signals have same time difference (y or n): y Enter time difference between each signals including last signal to destination: 7 Does all signals are two ways (y or n): y Enter the signal time: 5 Sample Input 2: It takes 47 seconds to reach destination. Explanation: There were 4 signal with same time difference. So the person comes on a vehicle from starting point to signal #1 by 7 seconds and he waits for other 3 seconds and at signal #2 he reaches by 17 seconds and waits for 3 seconds and at signal #3 he reaches by 27 seconds and waits for 3 seconds and at signal #4 he reaches by 37 seconds and waits for 3 seconds and he completes his journey by 47 seconds as 7 seconds are left after last signal to destination. Sample Input 2: Enter the number of signals: 3 Does the signals have same time difference (y or n): n Enter time to signal #1:7 Enter time to signal #2: 6 Enter time to signal #3: 7 Enter time to reach destination from signal #3: 8 Does all signals are two ways (y or n): n Enter number of paths at signal #1 (2-4):3 Enter number of paths at signal #2 (2-4) 4 Enter number of paths at signal #3 (2-4):2 Enter the signal time: 5 Sample Output: It takes 38 seconds to reach destination. Explanation: Here there were 3 signals and each time difference is different between signals. So at 7 seconds the persons reaches first signal as the first signal closes at 5 second and it was 3 way road it opens at 15 second so the person waits 8 seconds so total time to be spent is 15 seconds at signal #1. And he reaches signal #2 at 21 ^ (th) second and it is 4 way road and was opened from 20th second so he can pass through it. At 28th second he reaches signal #3 and it is 2 way road it was closed at 25 ^ (th) second. So he will wait for 2 seconds to open. At 30 ^ (th) second he starts from signal #3 and travels 8 seconds to complete his journey by 38 seconds. I am eagerly waiting for the solve problem in Java. please help bro then lot of knowledge will be gain from in your videos
Really helpful video! It's more fun to learn coding with your examples from real life. I recommend it to everyone, who wants to learn c++ basics! Also congrats on 1 million subs!🎉
I love these videos of yours. I can read a textbook on the same subject you're covering, let's say arrays, and I will come out with a better understanding of the workings of the array than I would in the textbook in most cases. Great work.
The first 5 hours covered my entire module which took 30 hours in lectures, plus support sessions. Yet somehow this felt clearly explained and easy, while my lectures felt rushed and complex. It took me ages to complete my university work after lectures, but after this it all looks easy. Thanks for the vid, your crazy good at teaching. (btw I'm first year uni, so for other first years this is a huge help, defo comming back to learn more, pygames in particular looking good 👀)
Be sure you've smashed that _like_ button 👍and leave a random _comment_ 💬 down below to *break* *the* *RUclips* *algorithm*💥
This video is a beginner's introduction to C++ that assumes you have no coding experience.
C++ is a vast and complex language. This 6-hour video covers just enough to get you started working with C++ on your own. After completion, I would recommend researching: Vectors, Polymorphism, STL, Smart Pointers, and modern C++23 features.
⭐Time Stamps⭐
1# (00:00:00) C++ tutorial for beginners 👨💻
2# (00:13:30) Variables and basic data types ✗
3# (00:24:14) Const 🚫
4# (00:27:37) Namespaces 📛
5# (00:32:13) Typedef and type aliases 🙋♂
6# (00:37:39) Arithmetic operators 🧮
7# (00:43:18) Type conversion ✨
8# (00:47:05) User input ⌨
9# (00:52:35) Useful math related functions🔢
10# (00:56:03) Hypotenuse calculator practice program 📐
11# (00:58:44) If statements 🤔
12# (01:03:40) Switches 🔀
13# (01:09:29) Console calculator program 🖩
14# (01:14:13) Ternary operator ❓
15# (01:18:53) Logical operators 🔣
16# (01:23:55) Temperature conversion program 🌡
17# (01:29:17) Useful string methods in C++ 〰
18# (01:35:51) While loops ♾
19# (01:38:56) Do while loops 🔃
20# (01:42:15) For loops 🔂
21# (01:45:53) Break & continue 💔
22# (01:47:34) Nested loops ➿
23# (01:51:51) Random number generator 🎲
24# (01:55:25) Random event generator 🎁
25# (01:59:05) Number guessing game ↕
26# (02:03:10) User defined functions 📞
27# (02:10:33) Return keyword 🔙
28# (02:16:42) Overloaded functions 🍕
29# (02:19:49) Variable scope 🌎
30# (02:24:11) Banking practice program 💰
31# (02:38:04) ROCK PAPER SCISSORS game 👊
32# (02:51:11) Arrays 🚗
33# (02:56:40) Sizeof() operator ⚖
34# (03:01:34) Iterate over an array 🗃
35# (03:05:40) Foreach loop 🗂
36# (03:08:36) Pass array to a function 💵
37# (03:13:07) Search an array for an element 🔎
38# (03:20:43) Sort an array ➡
39# (03:26:37) Fill() function 🍔
40# (03:31:19) Fill an array with user input 🌭
41# (03:38:17) Multidimensional arrays ⬜
42# (03:45:57) QUIZ GAME 💯
43# (03:57:42) Memory addresses 🏠
44# (04:00:31) Pass by VALUE vs pass by REFERENCE 📧
45# (04:04:47) Const parameters 🧱
46# (04:07:54) Credit card validator program 💳
47# (04:17:56) Pointers 👈
48# (04:23:12) Null pointers ⛔
49# (04:27:17) TIC TAC TOE game ⭕
50# (04:46:26) Dynamic memory 🧠
51# (04:52:15) Recursion 😵
52# (04:58:35) Function templates 🍪
53# (05:03:49) Structs 🏗
54# (05:08:49) Pass structs as arguments 🚚
55# (05:14:17) Enums 📅
56# (05:18:38) Object Oriented Programming 🧍
57# (05:29:32) Constructors 👷
58# (05:38:26) Constructor overloading 👨🍳
59# (05:42:51) Getters & setters 🔒
60# (05:48:59) Inheritance 👩👧👦
What is difference between this video and your new c++ crash course ?? Please reply @Bro code
@Hi I'm ate Kayla :) hii ,
@Hi I'm ate Kayla :) hey kate , how are u ? Where are u from ?
the hero we needed the most has return
@Hi I'm ate Kayla :) wow great ,
Personal time stamps
Day 1 00:00 - 43:20
Day 2 43:20 - 1:23:56
Day 3 1:23:56 - 2:03:11
Day 4 2:03:11 - 2:51:11
Day 5 2:51:11 - 3:45:58
Day 6 3:45:58 - 4:27:18
Day 7 4:27:18 - 5:18:39
Day 8 5:18:39 - 6:00:00
aint way u r so iq ed
thank you 👏
Thank you my friend in return I will give you my firstborn child
@@jamarionhines6168 😭
😀@@thalia.viraldreams5737
You are one of the few on the internet who truly deserves the title of GigaChad. All the best to you, and thank you very much :D
I agree
@CookieGames nope
I agree
yes
My friend, with this course, can I do mobile applications for me because I did not find a specialized course for mobile application programming
Bro (Code) sat down for six hours to teach us C++ and gave it all for free! A legend.
It's the teaching only. Editng, finishing, and stuff might have taken ages to complete, and yet, he still uploaded it for free! What a legend
no youtube paying him for this
@@MohaBaaBro we are getting for free and that's what matter
actually its a collection of videos from a playlist.
excluding the amount of time it took to edit and post it 🥶
Quick tip:
TLDR:
"using namespace std" ❎
"using std::cout;" and/or "using std::cin;" ✅
I've seen a lot of comments saying to use 'using namespace std'. But you don't want to do that.
Reason: 'using namespace std' includes the entire standard library. If you're just trying to extract the 'cout' and 'cin' features there's a better method. You can actually just type ' using std::cout; ' and 'using std::cin; '. That way you are only 'using' exactly what you want. And not the entire standard library. Doing this method will help alleviate "naming conflicts" that occur with 'using namespace std'.
he covers this in the video around 31:21
wouldn't it help in reducing the compile-time?
I just use it 'cause it is easier to not type std:: all the time but thanks for the info!
@@pythonuser-f7t don't use it, it's a bad habit.
I swear this guy can teach Assembly in a 6 hours course
real
Just as long as breaks are included to retain the information!
you swear
Just realized how nerdy my answer sounds.
@@table5584 lmao
Bro, this has got to be the most HELPFUL, CLEAR, & PRECISE C++ tutorial I've ever watched. Thanks for everything dude!
Do u know how to fix include error?
@@hayato8274 whats the error say?
@@Seiunkitsune I fixed it but now I can't type in output it's says only read mode
@@hayato8274 I think your using Vsc so you go into settings and enable type in terminal . hope this helps
@@juststyidx6467 yes i fixed it ty
So i had to go through university and fail the subject, then countless courses on Udemy trying to understand c++ ,so i can find this LEGEND explaining C++ for normal people. No extra information , no stuttering , no useless examples that are self-explanatory. I can't wait to finish this course because it will fill all the holes i have from my other courses and my useless university teacher. Then i can reattempt the subject again.
Goodluck bro
Personal timestamps:
Day 1: 1:03:49
day 2: 1:47:35
day 3: 3:08:38
day 4: 3:57:47
day 5: 4:52:15
day 6: 5:38:28
not to brag but I uhh...
Day 1: 6:00:00
actually finished the whole thang
I'm kinda speedrunning learning c++ since I have experience with other coding languages, but spreading it out is definitely a better practice for retaining the knowledge
@@I61voidhow bro? I've been struggling, can you please go into details how you finished it one day?
@@I61void BAD IDea , u wont remember everything
@@I61void Bro lying through his teeth 💀
You truly understand us students unlike my school teacher who just leaves us to do what we want. I hope your hard work continues to get noticed!
I went to a trade school for automotive and it was a total joke. I keep seeing ads for Coding Dojo and Flatiron and it just reminds me of the Lincoln Technical Institute sales pitch. I plan on teaching myself how to code, then I'll build a profile on GitHub or something. I am in a decent career (auto mechanic) already, so I'm not in a major rush to do this. I am getting pretty tired of being fucking dirty all the time, but it is what it is; I make decent money and my son and I live with my dad.
As a Highschool programming student who primarily uses C++, you've explained the basics of this language way better in 6 hours than our teachers in a year. Your videos are well done, straight to the point and explain everything you need to know to start programming. Hope this video does well, and I hope you do more C++ tutorials in the future
That always seems to be the case...I think the education system needs to be updated...
Anyone else getting ads for I'm getting paid to code
i'm identify with you lol
That’s what I was thinking , had my first lesson today and the teacher skipped so many crucial parts that our BRO covered.
@The Mechatronic Engineer Brazillian here. We barely have computers in school, let alone programming classes lmao
The most useful 6 hour of my life. I just don't understand why are you so nice and teach us for free!
@@xenaidaschronicles since when was being nice meat riding now?
@@xenaidaschronicles bro spent a full 6 hours recording, about 3 more editing, and about 1 more setting shit up before starting the recording, and you're out here being a bitch. And he did it all for free.
cause that's what gigachads do
well, we can support him by just subscribing and liking videos
This is how people should be
Happy to see a C++ course that explains topics that are specifically important to C++!
For people having problems at 25# (01:59:05) Number guessing game. Where the amount of tries is insanely high. Try setting your int tries = 0; So the amount of tries starts at 0. If you don't it will start at a random number.
thank you!!! :D
wtf
what kind of stupid shit
doesn't onow you have to declare a value to a variable
thanks a million!!
Thanks dude!
This comment needs to be pinned !!
This is an incredible video. From this alone, I've gone from completely clueless about coding to somewhat competent in the basics of C++. I have to thank you so much for the effort you've put into this video and for releasing it for free. Keep it up man!
My friend, with this course, can I do mobile applications for me because I did not find a specialized course for mobile application programming
My friend, with this course, can I do mobile applications for me because I did not find a specialized course for mobile application programming
@@xfaresoox7581 no. I’m taking c++ classes and this ain’t enough. C++ is a big language and takes about two years to get really good at according to google. If you wanna build apps, use Kotlin for android and Swift for iOS. You need a Mac for swift but Kotlin is crossplatform (as long as you have IntelliJ IDEA compiler or VS code)
@@xfaresoox7581 Try Flutter Framework
can someone please helpme run nh horha code mingw ki window me pacman wgara likhny k bad y type nhi horha error aajata
I have never thought I would go through a 6-hour all-in-one complete video with my attention deficit disorder. Something about your teaching style is engaging and I am so grateful to you for sharing such valuable knowledge!
I think being able to go through thie entire 6 hour video is the reason you have it lol
Actually I had similar problem and first 5 lessons took me hours to learn how to focus and teach myself, now I'm progressing much faster and I'm 1/4 way there!
I was recently transferred to another University and the programming language they learned was different from ours (we studied Python). I was searching for a fast and clear C++ tutorial and one of my friends recommended your channel 👌
It's not your friend if recommended this channel. IT'S FAMILY.
@@bahiatecno2534 I get it bro, it's true
apqreewmagfkerr
@@bahiatecno2534Correct !
I learned way more useful stuff with you in 12 hours than any of my professors in college.
it may be the environment factor, I always thought the same like you, but when i look back at notes all of them were taught, my mind just wasn't present at that time
This is amazing! I learned Python, Java, HTML, and C++ on Bro Code! Thank you!
How much time did you spend learning C++ and Python? They both are the ones I want to learn, and I wanna learn them in a few months, is it possible?
@@andresacevedo936 only dedication that matter u can learn them in a few weeks to whole years but yes just remember to practice them and some problem solving to really nail them and good luck😃
@@andresacevedo936 It took me about 8 months. So maybe? IDK
What are you studying, brother?@@andresacevedo936
@@andresacevedo936 Is it possible? Maybe. Should you do it? Probably not. Especially since you want to learn two languages in a short time, with one of them (C++) being quite a lot more difficult, it would be a challenge and you would most probably not do it in a few months. I would recommend you start with python first, and once your good with that, start learning C++. Its important that you take your time and not rush it.
One of the best FREE C++ tutorials ever. Thank you very much
I love that fact that you did all this for free, this has helped me so much. Definitely recommending this to my friends
This guy is a living legend, thank you for the course!
Awesome tutorial man. People who teach great things for free are rare, but it is great to know people like you still exist! Thanks! :D
This is my favorite c++ video on RUclips. I actually stay awake when watching unlike with other narrator voices. Cheers
Yes!! As someone who is going to college this fall for programming without previous knowledge of any programming languages I must say you are an amazing person❤ I've been fitting as much of your hmtl-css-java course into my work weeks as humanly possible. I figured that with my adhd it would have been difficult to focus and learning from long videos like this would have been boring but something about your videos are surprisingly engaging. If you ever have a doubt about the value of the educational work you give to us on this platform, know that you are definitely doing something right! And doing something great.
thanks CrayDev5!
@@BroCodez Your welcome bro😎
@@craydev5894 yo did you add the scroll thingy?
Dear Bro Code,
I just wanted to take a moment to thank you for all the hard work and dedication you put into your RUclips channel. Your videos have been a source of inspiration and entertainment for me, and I truly appreciate the time and effort you put into creating them.
Your passion for your craft is evident in every video you produce, and I am grateful to have found your channel. Thank you for sharing your knowledge and expertise with the world, and for making a difference in the lives of so many people.
Sincerely, Trung
ghê
can someone please helpme run nh horha code mingw ki window me pacman wgara likhny k bad y type nhi horha error aajata
@@Anaya-j9qwhat u need help with????
fellow person from the rice field
i can relate
i know this course was posted 1 year ago, but its the best one so far!
at 1:26:09 i started to code my own converter so i can see if i made it the same way you did. instead of using if statements i used switch(toupper(unit)) and it still worked! enjoying this course so far.
what does toupper mean
@@includeiostream-gw2sqConverts a string into all uppercase letters
Personal time stamps (did basic Python things in school and Visual Basic in university (idk why VB either))
Day 1 00:00 - 1:36:00
Day 2 1:36:00 - 2:57:00
Day 3 2:57:00 - 5:29:35 (it got easier as i remembered the bases for programming and also had a lot of time today to study.)
Day 4 5:29:35 - 6:00:00
Thank you so much, Bro Code, as everyone already told you, you re amazing. Good luck everyone else
HOW on earth do you have som much time???
And do you work on any project rn?
@@polar_znow when i did It, i was only doing a part time job as my university was in holiday (i Dont know if this is the right term in English)
and no, im not working in any project, since another uni year started i got really limited in free time
@@troyeer Oh, cool and do you still program?
@@polar_znow not really. The reason i was trying to learn C++ was because i want to do a specialization in Robotics and Automation (im doing a Mechanical Engineering degree). Since im still doing the base degree, i dont have (yet) a lot of opportunities to program neither do i have time to do it extra-uni, but it helped me a lot to understand some programming in Robotics books i ve been reading.
Wow thats actually sick, im doing the course just because i have to much freetime 😂. Anyways i wish you very good luck with your programming and robotics and have a very beautiful life ❤
I have just finished all 6 hours of this course in just a few days and i now feel like i have a decent understanding of c++ and am confident to start creating things with it, cheers for the free course!
Hey, im stuck at the installation in msys, the pacman etc. you usually put in is different, and it doesnt work for me, how did you do it
@@dreicalalang9715bro do exact same things that brocode did i was struggling like you
@@dreicalalang9715 Same. Do you have solution?
?@@dreicalalang9715
maybe run msys as administrator@@dreicalalang9715
i have learnt python from ur videos and it was actually the first time i enjoyed programming, lately I've been trying to learn c++ for so lone but couldn't find someone that have ur ability to deliver concepts easily , am so happy and thankful for ur efforts
I'm midway through the full course on python, and the legend has just released a new one. May the algorithm reward you for the hard work you're providing for us!
My friend, with this course, can I do mobile applications for me because I did not find a specialized course for mobile application programming
pretty sure you need to learn kotlin or swift for mobile applications@@xfaresoox7581
for those who are getting the error "error: conversion to 'unsigned int' from 'time_t {aka long int}' may change the sign of the result [-Werror=sign-conversion]|" in the Random number generator 1:54:34 here's an explanation:
The srand() requires an "unsigned int" as parameter (srand(unsigned int)) but time() returns a "long int" (long int time()) and this is not accepted by the srand() so in order to fix this, the compiler has to simply typecast (convert) the "long int" to "unsigned int".
BUT in your case the compiler warns you about it instead (as the designers of the compiler thought you should be aware that's all).
So a simple
srand( (unsigned int) time(NULL) );
will do the trick!
YES, finally completed the course! took me 6 months to finish, ye ik its slow but i took some time to deeper understand all the parts and did some little projects.
Homework for lesson two:
int batteryPercent = 98;
double pi = 3.14159;
char musicNote = 'C';
bool videoLiked = true;
std::string fact = "std does not mean sex transmitted disease in c++";
Great video Bro!
Can u help me with something? I dont understand what include vector means.
bbut its funny
you are honestly such a good and amazing man for doing this thank you so so so much
Bro. We appreciate you hugely.
Your courses are as good as, or better than anything I have seen.
Man, you are really good at explaining. Most tutorials, and even my classes at school, just tell us to put stuff down. They don't explain what they do and why. This is refreshing.
This is the best introduction to C++ that I've been able to find...thanks!!
honestly this is the best thing i've ever seen uploaded to youtube, dude's a gigachad
This video is pure gold for anyone trying to learn C++! The only and only critique I have is that I wish we had more projects and individual assignment to do but that is our own responsibility, you didn't even have to teach us! I guess you could say I am officially a Bro Coder now!
(01:29:17) Useful string methods in C++ 〰
These functions can be written in a simpler way:
name.length() ---> name.size()
name.clear() ---> name=""
name.append("abc") ---> name+="abc"
name.at(0) ---> name[0]
The rest are all very useful.
Good but yet scince he has added these functions in his video so there will be some purpose to it
I watch a little bit of this everyday. I am currently at 2 hours in. Thank you for this tutorial. C++ is finally starting to stick for me.
3 hours in. Slowly but surely.
@@walt_the_dolt how is it?
You’re a gigachad man, even a terrachad if I say so. A Unity engine course would be amazing because I love the way you teach man! I was really upset when I read you were taking a break from RUclips and I’m so glad you’re back
Hello bro code,
This is Derrick from Uganda,
I don't know how to say this but I thank you alot, you have really changed the world and made programming easy to understand and enjoyable, I don't know what you believe in but may the Almighty keep on blessing you.
I haven't finished your last course, which is 4,5 hours long, and now i found this new 6 hours course. Thank you so much for your hardwork! I'm sure you helped a great amount of people
Thank you so much for this course! From writing everything down and going back to listen again, to simply listening and taking it all in by the end. In 2 days my first day of CS studies will start and I feel like I can enter the programming class with less anxiety. Truly amazing work!
Just a heads up, your class will likely be taught in Python, not C++. That's fine though, as the skills are absolutely transferable, Python just has an easier learning curve. Understanding these sorts of concepts will absolutely help you in your class. It's just that instead of "cout
@@inate2552idk c++ is like the standard in beginner academia
What a gem I found with this channel. What an amazing job, you are doing. Thanks from Spain, Bro
Happy to help!
@@kraken5057 what? thats something the creator is supposed to say, you didnt help with anything
I have officially complete every single one of these. Thank you for being so thorough :)
The "Nuclear Launch Codes" in your dir path is underrated humor. Loved that haha.
timestamp?
time stamp?
@@underlegengaukler its somewhere in the starting 10 minutes
@@underlegengauklerpause the video, and go to 1:06:40
@@saturn5312 I don't find it
Thank you so much, you are a lifesaver. I was struggling in my C++ programming class but your tutorial helped me a lot. Again, thank you.
This is the best coding channel on YT! Thank you for everything you do!
My personal progress:
Day 1: 00:00 - 58:35
Day 2: 58:35 - 2:51:20
Day 3: 2:51:20 - 3:57:43
Day 4: 3:57:43 - 4:46:27
Day 5: 4:46:27 - 6:00:00
Absolutely amazing video and #includes all the main and important aspects of c++ better than any other video I've seen on the topic!
13 minutes in and already very helpful. The humour helps a lot in learning such a serious topic haha. Liked and subbed.
Just finished the whole video, took me days but it was very helpful than any other videos. Thanks!!! I got just the level of basics needed. Stay Awesome!
Bro, thank you for making this tutorial. It is the best tutorial for C++ that I have found by far. Just finished this course after working through it for the past month.
This guy explains very clear and understandable.
I appreiate your hardwork and posting all of your lessons for free, wish You all he best!
Loved your video man. Watched a lot of C++ tutorials..but none got me listening and interested in C++ unlike yours. Thank you for taking the time and effort to create such clear and elaborate tutorial! You have my like! Subscribed
Man I really appreciate the way that this guy broke c++ down to understand more better,I am in school right now and this guy explains it more better than my professor does!
********Timestamp days********
Day 1 = 1:52:31
Day 2 = 3:02:17
Day 3 =5:09:12
Day 4 = 6:00:00 -- finished
*********************************
*Comment*
Nice work Bro Code,
this was the best series
*********************************
Such good timing, I just finished the four hour course. You are a blessing dude! Thank you so much for sacrificing your time
Whats the difference btween 4h and this course?
@@gwihsanz431 2 hour longer
@@tole3590 💀
freecodecamp💀
@@tole3590 best reply of 2022
I watched through the whole video. And before watching I couldn't even install a compiler properly, and now this man has taught me how to make fully fletched programs, he uses such simple vocabulary and makes everything much simpler to understand than other teachers, and he's doing this all for free. This tutorial was really helpful and you deserve a lot more subs and recognition than you have. Thanks for the tutorial, it was awesome.
Well he dose get paid through ad sense of course
@@wsar7669 first: not if you use Adblock
second: so what? I think ads is more allowable than money : )
Thank you for this! Your explanations + examples are fantastic and easy to follow!
I definitely needed this recap after not using C++ for a while...
int height;
std::cout > height;
if (height =180 ){
std::cout
I think you got your greater than and less than symbols mixed up. you meant 165
Just finished and could not be more grateful, this is probably one of the most helpful channels on youtube.
Just finished this course, took about a week and I went from total beginner to intermediate, ty fellow bro 👍
I don't understand much English but this is totally easy to understand even without subtitles. Congratulations and thanks for the quality content.
1:29:17 Useful String Methods in C++, very nice concise video.
super impressive how much you manage to pack into 'just' six hours
and even more impressive that you make this available for free
many thanks for sharing your knowledge
Thank you so much!
I started learning C++ from your Crash Course yesterday and was wondering when you would upload the full one, and today it actually happened! :D
better late than never
@@BroCodez Thanks for doing a redo of your old C++ tutorial in VS Code. It helps :)
@@BroCodez should we do the crash course first or the latest course?
is this really the FULL COURSE? like the whole topic in c++ is here?
@@BroCodez thanks daddy
46:41 for someone who doesn't know that I tried to put (double) before "correct" and the program still runs perfectly
Finally finished the video, took a few weekends. Thanks for posting
if your having issues with getline() identifier not found then do #include and it should solve the issue
thank you saviour
Thanks man.
look in the google or chatgpt or any othere AI
I'm trying to break my way into the game dev scene and this is helping me A LOT. I know it's an older video but this super helpful and educational. I've been using visual scripting in Unreal engine and i actually recommend it to people. Personally it helps me understand these concepts a lot and has made transitioning to c++ a lot easier
Tell me about what else you need to make games
@sIyceth well first you're gonna wanna pick a game engine. I use Unreal engine 5 but they're all good for different things so it just depends what kinda game you want to make. Then you just learn the engine and watch RUclips videos and experiment with it and get used to working in a 2d or 3d space. Then you gotta plan out your game and give the different things functionality then you gotta replace your place holder objects with interesting art and music. It's a lot haha
@@projectgg6730 did this video introduced you tu everything you need to know for game dev?
@@emmanuelcucicea628 it definitely helps with the coding side of it
hey i am also trying to learn c++ for game systems instead of blueprints@@projectgg6730
Thanks a lot for everything dude. Thanks for sharing your knowledge, your practice, your time for helping people being better version of themselves. Simply said, thanks for being the best person you can be and helping others being so. Greeting from France !
Bro code,i'm from Brazil, a portuguese speaker, your content came here!!, and this is awesome,in my opinion this is the better coding channel of the RUclips, congratulatios and all the best to you, i wish you release your plains for your life, you're a legend,thank you very much!!
This guy is the only youtuber I've seen to have the best hour-long C++ tutorial!!! I love the dedication!!! Keep it up!!!
01:03:40 Day 1
02:03:10 Day 2
03:01:34 Day 3
04:17:56 Day 4
06:00:00 Day 5
Finished!!!!
Can you do an Operating System course? I like your style and straight-to-the-point teaching, so please consider it.
Even for an experienced programmer this would be easier to say than do. Either way it is actually interesting
@@camilasmithson5410 Agreed. Operating Systems courses so need a new and fresh approach. I completed the course in undergrad but never really felt engaged in it. The dinosaur books are a dinosaur approach....
Yo i wanna learn everything about coding where should i start
@@Dark._phoenix._ Here
@@Dark._phoenix._ you should start with python its easier
After more than 10 years I started again coding.
Now I´m using your video to fresh up my knowledge.
Thanks a lot! You did a great job!
Personal use:
2024/6/24 ( 4:30 - 6:47 ) 0:00 -> 24:16
2024/6/25( 23:39 - 1:03 ) 24:16 -> 52:36 (take a rest)
2024/6/26(20:02 - 21:14) 52:36 -> 1:09:35
2024/6/30(19:00 - 20:00) 1:09:35 -> 1:46:17
2024/7/1(20:30 - 22:37) 1:46:17 -> 2:19:51
2024/7/2(21:10 - 21:51) 2:19:51 -> 2:38:04 (Sick today , have to rest after medicine)
2024/7/3(22:30 - 00:18) 2:38:04 -> 3:26:28
Bro wheres today update?
Common we have to complete it
@@dracian8859 still watching haha
get back to work!!!
You can do it man, we believe in you!❤ You can achieve all of your dreams, just put in the work! 💪
Having a GIS background and with coding being the new must in the field, I am really enjoying learning from your video. Your work is easy to understand and follow. As a procrastinator who has decided it is now time to learn programming, all I can say is a big thank you.
If you were having issues with the banking program at the end if you input something else than numbers, and the solution in the video did not help, try this:, if the cin failed because we input a string when it only takes our choice (int) it will clear input and ask for new input.
if (std::cin.fail())
{
std::cin.clear();
std::cin.ignore();
}
absolute legend
no this absolutely work of art
Timestamps:
Day 1 00:00 - 37:41
Day 2 37:41 - 52:36
day 3 52:36 - 1:18:56
day 4 1:18:56 - 1:38:54
I know it might not seem like much time, i write lots of notes down. The 30mins of watch time turns into 1-2 hours of writing down notes and rewatching until i fully understand.
same!
Dear Bro Code, I just wanted to thank you for your amazing tutorials. Thanks to you I have been able to pass the entry exams for a re-orientation degree by following your java tutorial, I am now a full time web dev and I wanted to give c++ a try and this tutorial is once again amazing !
THANK YOUUUU
It is for finding the total time taken for a person from starting point to destination. Consider there are some signals in between and it has red light for stop and green light for start. The person can cross only if it was green light otherwise he should wait for green light. Initially all lights are turned on as green light.
Sample Input 1:
Enter the number of signals: 4
Does the signals have same time difference (y or n): y
Enter time difference between each signals including last signal to destination: 7
Does all signals are two ways (y or n): y
Enter the signal time: 5
Sample Input 2:
It takes 47 seconds to reach destination.
Explanation:
There were 4 signal with same time difference. So the person comes on a vehicle from starting point to signal #1 by 7 seconds and he waits for other 3 seconds and at signal #2 he reaches by 17 seconds and waits for 3 seconds and at signal #3 he reaches by 27 seconds and waits for 3 seconds and at signal #4 he reaches by 37 seconds and waits for 3 seconds and he completes his journey by 47 seconds as 7 seconds are left after last signal to destination.
Sample Input 2:
Enter the number of signals: 3
Does the signals have same time difference (y or n): n
Enter time to signal #1:7 Enter time to signal #2: 6
Enter time to signal #3: 7
Enter time to reach destination from signal #3: 8
Does all signals are two ways (y or n): n
Enter number of paths at signal #1 (2-4):3
Enter number of paths at signal #2 (2-4) 4
Enter number of paths at signal #3 (2-4):2
Enter the signal time: 5
Sample Output:
It takes 38 seconds to reach destination.
Explanation:
Here there were 3 signals and each time difference is different between signals. So at 7 seconds the persons reaches first signal as the first signal closes at 5 second and it was 3 way road it opens at 15 second so the person waits 8 seconds so total time to be spent is 15 seconds at signal #1. And he reaches signal #2 at 21 ^ (th) second and it is 4 way road and was opened from 20th second so he can pass through it. At 28th second he reaches signal #3 and it is 2 way road it was closed at 25 ^ (th) second. So he will wait for 2 seconds to open. At 30 ^ (th) second he starts from signal #3 and travels 8 seconds to complete his journey by 38 seconds.
I am eagerly waiting for the solve problem in Java. please help bro
then lot of knowledge will be gain from in your videos
Day 1 00:00 - 2:50:00
Day 2 2:50:00 - 4:15:36
Day 3 4:15:36 - 4:15:36
You did this so fast it took me a week to get to 4hours mark
Really helpful video! It's more fun to learn coding with your examples from real life. I recommend it to everyone, who wants to learn c++ basics! Also congrats on 1 million subs!🎉
I'll leave some timestamps and milestones of how I'm doing through this course!
Hope it helps you to go forward with this journey
come back:(
Anyone from 2024 :)
I am :))
Yeah
Heyo
Can you please stop baiting likes
Wasup
personal timestamps:
Session 1: 00:00 - 27:40
Session 2: 27:40 - 43:20
Session 3 43:20 - 56:05
This is not a C++ full course, but a beginner programming course which happens to be in C++. It's a good course nonetheless.
This video learn you more in 6 hours than school in 2 years
Timestamps:
Day 1 & 2: 2:03:10
Day 3: 3:38:18
Day 4: 3:45:58
Day 5: 3:57:42
Day 6: 4:00:32
Day 7: 4:07:54
Day 8: 4:17:57
Swag
I love these videos of yours. I can read a textbook on the same subject you're covering, let's say arrays, and I will come out with a better understanding of the workings of the array than I would in the textbook in most cases. Great work.
Bro code thank you for opening so much opportunities to learn ! I will come back to this when I start college. I'm currently learning JavaScript.
cool
The first 5 hours covered my entire module which took 30 hours in lectures, plus support sessions.
Yet somehow this felt clearly explained and easy, while my lectures felt rushed and complex.
It took me ages to complete my university work after lectures, but after this it all looks easy.
Thanks for the vid, your crazy good at teaching.
(btw I'm first year uni, so for other first years this is a huge help, defo comming back to learn more, pygames in particular looking good 👀)
Could you add to this course: vectors, sstream , fstreams and exception handeling like try, throw and catch. Thankyou :)
You have no idea how valuable these videos are!! All the best
int main() {
std::string name