How C++ Works

Тәжірибелік нұсқаулар және стиль

Twitter ► / thecherno
Instagram ► / thecherno
Patreon ► / thecherno
Series Playlist ► • C++
How the C++ Compiler Works ► • How the C++ Compiler W...
How the C++ Linker Works ► • How the C++ Linker Works
BEST laptop for programming! ► geni.us/pakTES
My FAVOURITE keyboard for programming! ► geni.us/zNhB
FAVOURITE monitors for programming! ► geni.us/Ig6KBq
MAIN Camera ► geni.us/CYUQ
MAIN Lens ► geni.us/ZM3CmG
Microphone ► geni.us/wqO6g7K
Slack ► slack.thecherno.com
Stream ► / thecherno
Website ► www.thecherno.com
Facebook ► / thecherno

Пікірлер: 1 000

  • @samdavepollard
    @samdavepollard Жыл бұрын

    I was at school when pocket calculators first appeared. Now 65, sitting here on a Saturday morning, learning c++ from a young man who's worked in the games industry. Amazing what is possible on the internet. I remember when the only hope you had of learning this kind of thing was getting hold of a good book (and that was when libraries closed early on Saturday and were closed on Sunday) Many Thanks for sharing your knowledge.

  • @mastershooter64

    @mastershooter64

    Жыл бұрын

    When I was in school smartphones came along, The knowledge of the world in the palm of your hand! I bet when I'm 65 We'll have room temperature quantum computers in our homes

  • @freeman1884
    @freeman18845 жыл бұрын

    I've done C++ for years. And yep, I didn't know how C++ works. Thank you!

  • @mrreflecting4691

    @mrreflecting4691

    3 жыл бұрын

    I said "whhaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat"

  • @z1lla4

    @z1lla4

    3 жыл бұрын

    @@mrreflecting4691 I said "wwwwwwwwhhhhhhhhhhhhhhhhhhhhhhhhhhhhaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaatttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt"

  • @mastershooter64

    @mastershooter64

    3 жыл бұрын

    billions of people use smartphones but they don't know how it works, they don't know the physics behind it

  • @69bruh

    @69bruh

    3 жыл бұрын

    @@mastershooter64 ... physics... mhm

  • @mastershooter64

    @mastershooter64

    3 жыл бұрын

    @@69bruh what?

  • @thedreameater
    @thedreameater5 жыл бұрын

    Udemy ad: "Hi! Would you like to pay for some crappy, inferior class to teach you what you're learning here for free?"

  • @martingaens2073

    @martingaens2073

    4 жыл бұрын

    duuude exactly. I'm getting Udemy ads 9 months later still

  • @unlikelysalmon786

    @unlikelysalmon786

    4 жыл бұрын

    I got one for Python. Fucking python. On a cpp tutorial.

  • @andreidodu5581

    @andreidodu5581

    4 жыл бұрын

    Use Add block dude.

  • @hokhyt

    @hokhyt

    4 жыл бұрын

    @@andreidodu5581 I usually use ads block, but whenever I watch the Cherno video I don't activate it so that he can get ad revenues.

  • @glpinho

    @glpinho

    4 жыл бұрын

    @@hokhyt

  • @daylen577
    @daylen5777 жыл бұрын

    Damn dude, it's insane to see how you've gone from doing some low quality code rambling to neat, organized and well edited professional tutorials, and from a couple hundred to over 50k subscribers! Great job man, you've helped me tons in the past, keep doing what you're doing!

  • @jrippee05

    @jrippee05

    4 жыл бұрын

    What'd you expect, he's not an armature. He's a pro! Don't forget it. And it is Mr. Dude. Get it right! "Respecto, holmes. You have to give it, to get it."

  • @dylanpatel9295

    @dylanpatel9295

    4 жыл бұрын

    150k now!

  • @jscorpio1987

    @jscorpio1987

    4 жыл бұрын

    Douchbag alert! James R, take your own advice, you pretentious asshole! The guy was just giving a compliment. The way you tell people what they should have said, you might as well just write everybody’s comments for them so you approve.

  • @moar-chan1060

    @moar-chan1060

    4 жыл бұрын

    @@jscorpio1987 It's Mr. James R to you sir.

  • @ron3060

    @ron3060

    4 жыл бұрын

    How did he become so good?

  • @rogerasupply942
    @rogerasupply9426 жыл бұрын

    Wow dude... just wow. I was about 12 or 13 when I first heard of C++... I had found out that its used for video games which instantly struck my interest... but it wasnt until I was about 16 or 17 that I started dabbling in it and I thought it was too difficult for me to understand, and I thought you had to be extremely smart.. I am now 19... and have no idea where my life is going, I have always LOVED the idea of writing my own code, because its the closest thing to actual magic.. I’ve recently started trying to understand the concepts of c++ and how it all works.. I have a basic understanding of it all, and I really really wanna learn it. I’m going to go to college to get a BA in computer science. Whether I help make the next AAA title, or the next microsoft... I just want to code.. I’m very entrepreneurial as well so I don’t see myself working for someone This is the first tutorial of yours that I’ve seen, and you made me understand the most basic c++ program even more than before. I’m looking forward to watching the rest of this series and I hope you continue it.

  • @arcticheroh

    @arcticheroh

    5 жыл бұрын

    I personally would have started with Python as the first language. The simplicity of its syntax really helps new developers.

  • @hitlard5305

    @hitlard5305

    5 жыл бұрын

    How's programming going?

  • @TantawyAhmad

    @TantawyAhmad

    5 жыл бұрын

    @@LeeroyFan101😂😂😂

  • @studyagain8701

    @studyagain8701

    4 жыл бұрын

    im 19 too and i feel like we twins because everything you said was like me talking about my life but i actually went for civil engineering but still wanna learn C++

  • @SameerKhan-nd5qb

    @SameerKhan-nd5qb

    4 жыл бұрын

    @@studyagain8701 Me too bro

  • @cryptosecuritytools
    @cryptosecuritytools3 жыл бұрын

    I found Cherno yesterday and coming in, my thinking was that C++ was super hard core and probably beyond me at this point. I have to say, after watching this video, I understood everything. I'm not saying I'm smart, I am saying this dude is a great teacher. Clarity, repetition, efficiency of explanations. I am almost thinking C++ might be a better first language to learn than Java. I've learned the basics of Java already as part of my bachelors degree. At this point I'm on the fence about which way to go. But if the lessons are like this one, I don't see C++ being that scary hard language to learn that everyone says it is. And that would be a testament to the teacher. Great work.

  • @SwagHorse

    @SwagHorse

    3 жыл бұрын

    I learned C++ as my first language and altough it was quite tricky to wrap your head around some of it’s concepts in the beggining, it made it really easy for me to later learn new languages such as Javascript and Python.

  • @hulk6315

    @hulk6315

    2 жыл бұрын

    Hey quite a lot of time passed Update would be awesome

  • @intuit13

    @intuit13

    2 жыл бұрын

    yea, late reply here....but Java as a first language has been considered a pretty bad idea for quite some time now. But don't get me wrong, I'm not one of those folks who thinks if you start off in the "wrong" language that you're RUINED FOREVER (!! -- seriously, some ppl think like this). Java is cool. I think the top2 languages for first timers atm would be Python (by a huge margin) or C (for the "bottom-up" approach).

  • @identitymatrix

    @identitymatrix

    2 жыл бұрын

    Actually I think Python is best to learn first, which I luckily did. I think C++ ist more important than Java so I am actually planning on learning C++

  • @mcbedo6568

    @mcbedo6568

    2 ай бұрын

    @@intuit13 started off with C as part of my bachelor's degree. Makes it way easier to grasp C++ in my opinion. Using Python as a starting point works but the way it's written (and in some cases the way it works) is pretty different to C++. I'd recommend it as a starter but not if your final aim is learning C++.

  • @user-nu2sz2wg3i
    @user-nu2sz2wg3i2 жыл бұрын

    One month of agony with c++ is neatly compacted in 20 min video. thanks Cherno

  • @thelowendstudio
    @thelowendstudio2 жыл бұрын

    "Compiler trusts you.." finally someone who trusts me:')

  • @thelowendstudio

    @thelowendstudio

    2 жыл бұрын

    @Ahmed M :')

  • @kti5682

    @kti5682

    Жыл бұрын

    Just turn on warnings with -Wall -Wextra -Wconversion and you will see how much the compiler really trusts you by showing you how many checks it performs.

  • @nailbomb420
    @nailbomb4207 жыл бұрын

    Liking the quality of this series - you seem to have really upped your game. Love the ambient music, cool touch :)

  • @SimarMannSingh
    @SimarMannSingh5 жыл бұрын

    So, I am a working professional. But I had to teach a friend of mine, the basics of C++. For that, I was looking for some easy videos. Man, This guy explains so well. One thing is for sure when I get married and if I have kids and if they choose to become a Software engineer, this guy is the one I am gonna send my kids for tuitions.

  • @adityasinghaswal4923

    @adityasinghaswal4923

    3 жыл бұрын

    lol

  • @soulninjadev

    @soulninjadev

    3 жыл бұрын

    why tuition when its out here on youtube for free

  • @chaturved_007

    @chaturved_007

    Жыл бұрын

    this was future planning ultra pro max

  • @ezra3457

    @ezra3457

    Жыл бұрын

    Any kids yet?

  • @dread._

    @dread._

    4 ай бұрын

    yeah bro did you get married?

  • @user-qi6fj4gy1j
    @user-qi6fj4gy1j7 жыл бұрын

    This is probably the best programming tutorial I've watched! It explains everything! Keep up the good work.

  • @themodernshoe2466
    @themodernshoe24667 жыл бұрын

    I love that you're going into all the details of IDE shortcuts and structure as well as C++ technicalities. Keep it up!

  • @SlipperyBrick89
    @SlipperyBrick896 жыл бұрын

    Dude this is high quality stuff! I'm studying Computer Games Development at University and have learnt more from your C++ series than I have all year! Really looking forwards to digging into your OpenGL series. Thanks so much for bringing this great content man and please keep it up :D

  • @Jackaldev
    @Jackaldev4 жыл бұрын

    Your videos should have been the first thing that popped up when I searched C++ tutorial. I went through a 100 video course that skimmed over very important concepts I wish I learned sooner. You're doing a great job!

  • @thetutbanana
    @thetutbanana3 жыл бұрын

    I have watched manu C++ tutotials on youtube in my professional career and I have never come across anyone who can do such a great job at breaking down complicated concepts into a very concise and easy to follow short lectures. You helped me to really understand how this stuff works. I wish that my university professors who taught/teach programming had half of teaching talent you have. Thank you!

  • @DigitalAwareness
    @DigitalAwareness5 жыл бұрын

    Just started this series and loving it. You explain things so well, it makes it so much easier to grasp and learn. thank you so much.

  • @ilikeshred
    @ilikeshred7 жыл бұрын

    I really love how you explain things. It's very precise and simple. I really need to thank you for that :)! Keep up the good work.

  • @ultrawelfaredev
    @ultrawelfaredev7 жыл бұрын

    Wow TheChernoProject, I just currently came along this video and I must say it got my attention. Even though I like to code in C# (as a hobby in my free time, I am not any professional or something), after watching this video you really caught my interest in watching how the whole c++ thingie works and how everything in programming ties together to create an executable file. I was so hyped watching on how the linker and the compiler works, but then saw that they are coming soon and this video just came 4 days ago. However I subscribed and turned on notifications so I don't miss the next one. Keep up the good job, you're awesome! :)

  • @jerrylin5089
    @jerrylin50894 жыл бұрын

    I love how your videos contain epic background music. It makes your tutorials and explanations significantly more engaging than anything else I have seen on youtube.

  • @primarycachemusic3237
    @primarycachemusic32376 жыл бұрын

    Thank you so much for this video series! It is helping me connect so many dots in game and general programming - concepts that I couldn’t quite grasp from others’ explanations - much appreciated!

  • @zuhairmehdee
    @zuhairmehdee7 жыл бұрын

    Woah man, you have improved so much from before, its amazing. Keep up the good work.

  • @JFP-Knives
    @JFP-Knives2 жыл бұрын

    After many tries to get into coding, I again started an approach and found your series here. Well done! As you start with the basics, it feels like it gives me the right entry point to finally understand some fundamental layers I didn't have in the past. So my hope now is, to finally get deeper into coding. Good job!

  • @thechosenone729

    @thechosenone729

    9 ай бұрын

    Once you are past tutorial level throw tutorials into trash and start working on your projects tutorials are going to help you with basics but after that you need to start working on your own with help of google maybe but tutorials shouldn't be part of your daily life anymore.

  • @ComplexFailure
    @ComplexFailure6 жыл бұрын

    This video helps me understand all of the stuff my professors just kinda brushed over in their lectures I love it! This is the first time I've seen this channel, but I am already a loyal subscriber! Please continue to output this quality content!

  • @socheddar3709
    @socheddar3709 Жыл бұрын

    Just wanted to say thank you. I tried coding when I was a teen but failed and quit (there was no KZread back then). My son is interested and I thought we could learn together. Your videos are very well explained and I really appreciate the effort that you put into you videos.

  • @alangauld6079
    @alangauld60794 жыл бұрын

    I’ve been using C++ for 35 years but that’s one of the best intros I’ve seen, couldn’t have done it better myself.

  • @jimhalpert9803

    @jimhalpert9803

    2 жыл бұрын

    35 years. Wow.

  • @mirthemw
    @mirthemwАй бұрын

    The way you anticipate the questions is really nice, and I like the way you talk. Very nice quality, looking forward to watching your other videos!

  • @BeatSmokerFactory
    @BeatSmokerFactory7 жыл бұрын

    i have been watching ur Videos for a few years now but you reached a New quality level with this Video. very nice :)

  • @pablovent8059
    @pablovent80597 жыл бұрын

    Thanks for your videos; they're very good. Please continue with the C++ series.

  • @dankusanovic
    @dankusanovic4 жыл бұрын

    Cherno, I haven't seen so far such a great explanation of how C++ works! Thanks for the video. Watching and liking your videos from now on.

  • @mrgetrext297
    @mrgetrext2972 жыл бұрын

    I've watched so many courses on different programming languages, and they're always so boring, they don't engage me and keep my attention, but everyone of your videos have held my attention and I'm so thankful to have you as a resource.

  • @meh1672
    @meh16727 жыл бұрын

    Your tutorials are amazing!!! Thank you so much

  • @aubb7126
    @aubb71265 жыл бұрын

    Why did it take so long to find this course through youtube search?? Thank you so much!

  • @visuallization
    @visuallization Жыл бұрын

    I think this is the first time, I hear someone explaining as simple & understandable as possible, how compiling and linking works in cpp! really great videos!

  • @bluesillybeard
    @bluesillybeard2 жыл бұрын

    This is the best tutorial series for C++ in existence.. No seriously, this guy is the ultimate tutorial master! The way he explains things is extremely easy to follow and understand!

  • @sgtrumbi2265
    @sgtrumbi22657 жыл бұрын

    Excellent video. I know C++, but I love the way you teach this -> I watch it. Can't wait to see more and getting into more advanced topics (maybe some topics like engine design, optimization or targeting multiple platforms...). When can I expect some of these topics to come (if you plan on making a video about them)? (take your time, I fully understand that you want to teach C++ from the very basics, I am just interested... ^^) Thank you for this video and keep up the good work, looking forward to the next episode. :)

  • @sommarbee6101
    @sommarbee61013 жыл бұрын

    this is series is great so far. I have zero experience in programming, and you've explained everything so well so far. I dont feel lost. thank you!

  • @soulninjadev

    @soulninjadev

    3 жыл бұрын

    Good luck buddy

  • @NeoKailthas
    @NeoKailthas3 жыл бұрын

    This is so amazing. I wasn't looking to learn about how C++ works right now but this was so engaging and informative. I was hooked the whole time. well done.

  • @astronime
    @astronime5 жыл бұрын

    the background music made the error's and their resolutions really intense

  • @qazawatzirak5048

    @qazawatzirak5048

    4 жыл бұрын

    Do you know what music is that ?

  • @dmaster20ify
    @dmaster20ify6 жыл бұрын

    The man said that the compiler will trust us! Classic.

  • @voze1905
    @voze19057 жыл бұрын

    I DONT WANT TO WAIT FOR THE NEXT VIDEO PLEASE.

  • @timizzard4317
    @timizzard43174 жыл бұрын

    I appreciate your videos, very thorough, concise and organized! ive been learning alot about c++ because of you and these videos

  • @krisitak
    @krisitak5 жыл бұрын

    What a great channel... I'm in awe. The quality of editing is great! You deserve even more subscribers!

  • @loryon
    @loryon7 жыл бұрын

    Excellent video ! That was extremely helpful. This basics stuff is so poorly taught in most tutorials.

  • @juleswinnfield1437
    @juleswinnfield14374 жыл бұрын

    Damn man, starting to learn C++ this week - what an exceptional video! Can’t wait to binge your entire series.

  • @TeeHeeWinning

    @TeeHeeWinning

    3 жыл бұрын

    did you learn c++???

  • @juleswinnfield1437

    @juleswinnfield1437

    3 жыл бұрын

    @@TeeHeeWinning I didn't... However please don't let this put you off. I didn't because I was a Python programmer and was learning C++ for the wrong reasons, and so my motivation failed me, or itself. I'm waiting until I get a project idea and then I'll learn around that. If you know one programming language well, the rest fall in line. Good luck :)

  • @juleswinnfield1437

    @juleswinnfield1437

    3 жыл бұрын

    @axedow Sorry I didn't see this notification. I always wish people replied to these comments, looks like it's a KZread problem. See my other reply if you're still interested :). Hope you're well.

  • @TeeHeeWinning

    @TeeHeeWinning

    3 жыл бұрын

    @@juleswinnfield1437 The only programming language I’m decent at is the lua version of roblox. My motivation for learning c++ is to learn how to make ESP in other games. Cuz I don’t really know what else I would do with c++. Anyways good luck with learning more languages.

  • @juleswinnfield1437

    @juleswinnfield1437

    3 жыл бұрын

    @@TeeHeeWinning Funny you should say that, because I was originally learning C++ to make cheats for CS:GO. It didn't work out for me, as understanding the tricky aspects of C++ is hard, especially for a kid tryna make CS:GO cheats. People learn differently though!

  • @miguelbarroso_
    @miguelbarroso_3 жыл бұрын

    3 years later and this still being the best C++ course! Thanks you!

  • @naughtrussel5787
    @naughtrussel57876 жыл бұрын

    This video left me speechless. Very, VERY useful, brief and qualitative. One of rare treasures on KZread. It's a big luck for us to have such vids, so we can learn complicated stuff in such pleasant way (remember those old youtube screencasts made on mobile camera and that murmuring). Good-looking guy with nice recording stuff and speech together with laconic information mixed with really suitable background music. It seems I have no way not to learn c++ :-)

  • @kelticvibe
    @kelticvibe4 жыл бұрын

    Love the background music - is this a playlist you have. could you drop artist in here?

  • @mrclucky1516
    @mrclucky15164 жыл бұрын

    Dude, I just have to say THANK YOU!! I've been struggling to learn C++ on my own for a length of time which I'd rather not admit lol and sometimes books and forums just don't cut it. I've been looking for something exactly like this for so long, and here it finally is. So far I've only watched this and your video on templates, but you have a knack for explaining things in such a way that it's all finally starting to make sense to me. So again, thank you for the awesome content.

  • @gamejochie5204

    @gamejochie5204

    4 жыл бұрын

    Bro just download solarlearn :/ or run of on youre browser.

  • @shikharmishra1
    @shikharmishra14 жыл бұрын

    The explaination is so neat! Really helped me understand what compilers and linkers do. I am definitely going to check out the in depth videos !

  • @bencraig638
    @bencraig6385 жыл бұрын

    I'm taking an online intro to programming class, and you are so much more helpful than my professor! Thanks for your uploads!

  • @sanjacobs6261
    @sanjacobs62612 жыл бұрын

    The music here makes me feel like I'm planning to sneak into a top secret military base

  • @doctor60fps43
    @doctor60fps437 жыл бұрын

    Great explanation. Thank you. What is the name of music in background?

  • @tntzx6311
    @tntzx6311 Жыл бұрын

    Background music and your voice made this explanation truly incredible! Thanks ☺

  • @PneumaLights
    @PneumaLights2 жыл бұрын

    dayum, you are a life saver! providing such background music was very ingenious touch - puts you in a state of productive trance

  • @stevewagner5036
    @stevewagner50364 жыл бұрын

    Thank you for this great video! I have a question: instead of a declaration of a function in another file, can you use #include and then the file name? What if you had a file with ten functions, do you need to declare each function, or can you just #include the file containing the ten functions?

  • @user-xc5xf8gp8n
    @user-xc5xf8gp8n4 жыл бұрын

    summary: Our code gets translated into a binary, and the binary can be either a library or an executable file. x86 = win32 There are 2 main options that we can choose when building our code in visual studio. One is the platform, and one is the mode of building. Platform refers to the operating system that we are targeting our app for. It can be either android, windows, mac(?) and so on. Mode of building refers to whether we are building the executable file in debug mode or release mode. Building on release mode runs much faster than debug mode, but is less helpful when debugging. For devlopers until the release of the game, they will be using debug mode untill the project is complete. For each building mode, we can see the micro settings when we right click the project and go to settings. We also take a look at the linker settings in the same window. The output window shows all the errors, and we are expected to debug using the information provided there. We do not want to rely on the error list, since they just display what the machine can understand from the output screen, which is too superficial for actual developers. #include is something that is called a pre-processed statement, meaning that it is being compiled before our main body of code. In this case, #include means that copy and paste everything in a file named to this file. //I believe #include command is something similar to the 'import' command that is used in python to call for modules. Cherno explains that #include is copy and pasting the file into the current file, which is exactly how a module is imported in python through *import library* command. Python also runs the whole code that is in the stated library before running our main code, if we import something from a library! In a project, it is very likely that we will have multiple cpp files. Those cpp files will be converted in to an object file. These have their file extensions as obj, and can be found at certain directories. Those obj files can then be stitched together using the linker. Cherno demonstrates how to use this kind of system. He uses the common 'hello world' code. He then chooses to define a function that prints out hello world, instead of using the common cout

  • @karanmehta5753

    @karanmehta5753

    4 жыл бұрын

    thank you

  • @bluezz5002

    @bluezz5002

    3 жыл бұрын

    why couldn't they have combined the simplicity of python with the power of c++

  • @claudedu2114

    @claudedu2114

    3 жыл бұрын

    Salute!

  • @johntony366

    @johntony366

    2 жыл бұрын

    Thank you very much! This was very useful.

  • @tttmarcel2777
    @tttmarcel27774 жыл бұрын

    Cherno you deserve more subscribers, this stuff is crazy good. The style is actually pretty cool too.

  • @AntonKimS
    @AntonKimS2 жыл бұрын

    Just amazingly well explained! The lowkey background music is so relaxing, thus enabling better earning.

  • @mohammadfathi5205
    @mohammadfathi52057 жыл бұрын

    that was nice. just like always.

  • @rdwells
    @rdwells2 жыл бұрын

    Finally, a C++ tutorial I can recommend to my students. Very well done. One minor nit: stop using std::endl. Just use ' '. ' ' does the same thing as std::endl, and doesn't have the side effect of flushing the output buffer. Normally this won't matter, but if you're writing a large file over, say, a very slow VPN, it can take forever. Besides, it's less to type.

  • @XDrumble3
    @XDrumble33 жыл бұрын

    Thank you so much for the video! Never knew coding could actually be simplified in a way I understand, will be checking out more of your videos!

  • @furqansial6975
    @furqansial69755 жыл бұрын

    Amazing Work ! this is the best tutorial I've ever seen on youtube.

  • @lukenukem8028
    @lukenukem80287 жыл бұрын

    Hail, Cherno! Woo! I now have VS 2017. I certainly have been enjoying VS 2015. VS 2017 looks way better and is way cooler. I love your video style, the quick short talks with cuts and the music. (5/5)

  • @exoticcoder5365
    @exoticcoder53653 жыл бұрын

    Your background music is saving my life, thanks for making "easy to swallow" videos for average audience like me 🙏🏻 the music is making me more focused on the content, other channels without music is boring and easy to be distracted

  • @soulninjadev

    @soulninjadev

    3 жыл бұрын

    omg exactly, the music blends in with the tension of the explanation sooo well

  • @sve560
    @sve5607 жыл бұрын

    Hi, keep up the great work. I have found your videos extremely useful, but I was recently on your game programming series, but I have seen that you haven't finished it. I was wondering if you had any intentions to resume that series because I love how you explain everything in detail in that series. You have gone so far, so don't quit now.

  • @12thy4
    @12thy43 жыл бұрын

    You've covered the topic brilliantly! It addresses the title of the video perfectly. Nothing more, nothing less! Keep it up!

  • @FaizaanDatoo
    @FaizaanDatoo6 жыл бұрын

    4:35 I wasn't paying attention and heard "Pedophiles" instead of "header files"

  • @camranh_royal

    @camranh_royal

    6 жыл бұрын

    same here.. been spending way too much time on pizzagate and qanon vids

  • @ChucksSEADnDEAD

    @ChucksSEADnDEAD

    5 жыл бұрын

    Do pedos keep their CP in a folder named Pedo Files? It's 3AM and this is keeping me up.

  • @Gizego

    @Gizego

    5 жыл бұрын

    Polluted mind test

  • @OddStare

    @OddStare

    4 жыл бұрын

    Ah yes the famous Pedophiles subject of the C++ language, every developers goes through it

  • @DheerajAeshdj

    @DheerajAeshdj

    4 жыл бұрын

    will talk about "pedophiles" in more depth. :)

  • @alixaprodev
    @alixaprodev5 жыл бұрын

    *cin.get()* For entering any character not only enter button.

  • @Dannnneh

    @Dannnneh

    4 жыл бұрын

    Thank you, was wondering how the enter button was specified.

  • @Deservetobedead

    @Deservetobedead

    3 жыл бұрын

    Cool channel C 4 Code I subed

  • @juancornejo1476
    @juancornejo14764 жыл бұрын

    Great job! I was completely lost before watching this video, even though I am attending C++ classes. Thank you and continue doing what are you doing

  • @Cynokine
    @Cynokine7 жыл бұрын

    Really like this new series, I can see all the work you put into it so that it becomes a reference in the future. Good plan imo. Looking forward to learn things though :P

  • @ZombieAssassin7777
    @ZombieAssassin77777 жыл бұрын

    Great background music choice.

  • @ThinkingPenguin
    @ThinkingPenguin7 жыл бұрын

    MORE MORE MORE!

  • @AZOHA
    @AZOHA6 жыл бұрын

    Wonderful and neat tutorial. I liked the music in background. Keep going man

  • @MuhammadAwais-rp8po
    @MuhammadAwais-rp8po4 жыл бұрын

    i'm so amazed that i found this you tube channel, you are such a brilliant mentor! God bless you!

  • @FcSteezey
    @FcSteezey7 жыл бұрын

    For larger projects, do you still use forward declaration?

  • @MsJavaWolf

    @MsJavaWolf

    5 жыл бұрын

    You wouldn't do it this way normally. You declare the function in something called a header file, so you still use a declaration but in this case it's usually not called a forward declaration. You would have a file called Log.h and there you would write the declaration, then you would have a file called Log.cpp where you write the actual code of the log function. Then you include Log.h in all the .cpp file that use that function. Actually when you include iostream, you basically include all the declarations of the iostream header file, which is not that different from including header files that you have written yourself.

  • @thx4nothing
    @thx4nothing7 жыл бұрын

    What happens if you have another cpp file with another "Log" function that has a different body? Which function will be executed?

  • @zeejenkins

    @zeejenkins

    7 жыл бұрын

    hululu36 it will throw an error about redeclaration of a function.

  • @Plasticcaz

    @Plasticcaz

    7 жыл бұрын

    If you need two different log functions that have the same parameters, you need to either rename the function, or use a namespace (like the std:: thing in front of cout). Another thing that C++ has is function overloading, which enables you to have multiple functions named "Log" as long as they have different parameters to the function. (ie. Log(int i); or Log(char *str);) I'm sure Yan will cover this eventually.

  • @AgentM124

    @AgentM124

    7 жыл бұрын

    ^ ^ ^ CLIFFHANGER COMMENT ^ ^ ^

  • @Freelancerk1bbles

    @Freelancerk1bbles

    7 жыл бұрын

    there are ways to make that work, but I don't think it's important just yet.

  • @sgtrumbi2265

    @sgtrumbi2265

    7 жыл бұрын

    Maybe the linker complains about an ambiguous reference? sry, idk.

  • @ryanfarrell153
    @ryanfarrell1535 жыл бұрын

    Where was this tutorial when I needed it haha. Great video! Gonna watch the entire series I think

  • @saikirangattu2924
    @saikirangattu29246 жыл бұрын

    the energy you show is incredible other videos make you lose interest and make you sleep, your videos are engaging and the content is amazing, great job cherno :) I can watch these videos all day long... good stuff

  • @cat47
    @cat473 жыл бұрын

    I feel like with a big c++ project you should just put "using namespace std;" line in the top of your code.

  • @reiter2148

    @reiter2148

    3 жыл бұрын

    He made a video explaining why it might actually be _worse_ to use "using namespace std;".

  • @ScotHenderson

    @ScotHenderson

    3 жыл бұрын

    i cant implement the solution here once i add the void function and debug .. it throws Compiler Error C2882 .. our code is exactly the same. i am wondering if things have changed since he made the video set?

  • @ScotHenderson

    @ScotHenderson

    3 жыл бұрын

    @@reiter2148 link?

  • @creativity4395
    @creativity43955 жыл бұрын

    int main(){ court } is it true or false

  • @thomaszito3019
    @thomaszito30195 жыл бұрын

    Wow. I found this very informative and well done, I learned a lot. The music in the background was a nice touch too.

  • @17reason
    @17reason3 жыл бұрын

    You have no idea how much this helps people man. Thank you so much. I'll hope my determination won't die in few weeks later on.

  • @666CoDFREAK
    @666CoDFREAK7 жыл бұрын

    where did you learn all of this?

  • @davidmella1174

    @davidmella1174

    3 жыл бұрын

    @math im curious too

  • @tezza48
    @tezza487 жыл бұрын

    I had no idea you could do cout.print(). Makes sense but woah.

  • @namanmehta5243

    @namanmehta5243

    6 жыл бұрын

    LOL

  • @nacl3470

    @nacl3470

    6 жыл бұрын

    In actually std::cout makes use of something called operator overloading. But in essence, somewhere in the iostream library is a function that does the printing. And so, writing std::cout

  • @aliterawi8427

    @aliterawi8427

    5 жыл бұрын

    Me too LOL .i was shocked ,i always hated these two arrows

  • @aliterawi8427

    @aliterawi8427

    5 жыл бұрын

    But we can't use print instead :(

  • @MsJavaWolf

    @MsJavaWolf

    5 жыл бұрын

    It's not code that will actually work, it's more like a mental model that can help with understanding it.

  • @markovujanic
    @markovujanic11 ай бұрын

    wow, this is very well explained. Music in the background is also to the point. Hats down. Thanks

  • @unpaired-electron
    @unpaired-electron2 жыл бұрын

    This Cpp series is awesome. I got to know many things. Thank you for your effort.

  • @911bbw
    @911bbw5 жыл бұрын

    music is kinda distracting.. I feel like I'm in a mission impossible movie bahaha

  • @TonyBai
    @TonyBai4 жыл бұрын

    Small correction: 1:33 cout is an object, not a function

  • @kuriatsu
    @kuriatsu3 жыл бұрын

    I've been trying to learn a coding language for years. This stuff is actually making sense and I can actually make decent notes. Thank you for explaining this stuff simply.

  • @RandomGuyyy
    @RandomGuyyy7 жыл бұрын

    Loving the detailed pace

  • @gabrieljohn5823
    @gabrieljohn58236 жыл бұрын

    c++ is the hardest language when you do it youll find c# java easier atleast i did

  • @mikevasiljevs412

    @mikevasiljevs412

    5 жыл бұрын

    Pulsxr, not really. You can do faster with C++, but you can do just as much in Python, Haskell or Lisp

  • @MsJavaWolf

    @MsJavaWolf

    5 жыл бұрын

    There are some things that you can not do in Python, like custom memory management. Now you can say that is not really something that the user will be aware of, but then there are also some OS functions and access to hardware, that can not be done directly in Python. You can always write a C library and load it into Python, but that is no longer pure Python.

  • @mikevasiljevs412

    @mikevasiljevs412

    5 жыл бұрын

    MsJavaWof, you do not really need to access memory directly, unless you are confident enough you will do a better job than the GC, again trying to make things faster! Also, I am talking about working on a hypothetical problem rather than extending or interfacing with an existing solution... how many Linux kernel driver writers have you actually met in person so far? ;)

  • @gregorytippett9692
    @gregorytippett96925 жыл бұрын

    Terrific tutorials, except for the distracting background music...

  • @unrealdevop
    @unrealdevop2 ай бұрын

    All I can say is that these are hands down the best C++ videos I have came across. Nobody else even comes close.

  • @James-ys2dd
    @James-ys2dd3 жыл бұрын

    Only finding this series today and its brilliant, so simple the way you explain the concepts which shows how well you know C++. Looking forward to catching up on the other 90+ videos 😂

  • @niralivaghela8510

    @niralivaghela8510

    3 жыл бұрын

    Me too 4 years late😐 and I'm gonna complete this 90+ videos🙆

  • @awesomeman710
    @awesomeman7107 жыл бұрын

    Please come into frame differently every time. Please. For me.

  • @Matyniov
    @Matyniov6 жыл бұрын

    why dont you blink

  • @seladai
    @seladai4 жыл бұрын

    Great toturial! Very efficient and orginaized. backgriund music is a bit to loud but it is still one one the best I've seen. Thanks!

  • @jhonycash6119
    @jhonycash61193 жыл бұрын

    Man, you really good at theaching, love this course!

  • @ThaRSGeek
    @ThaRSGeek7 жыл бұрын

    I'm on Linux, I will be using CLion instead of CodeLite

  • @spartacuspro88

    @spartacuspro88

    7 жыл бұрын

    CodeLite works with Linux. I would recommend using a text editor on Linux though; like vim, emacs, atom or visual studio code

  • @spartacuspro88

    @spartacuspro88

    7 жыл бұрын

    @alexboz why would you want MSVC

  • @spartacuspro88

    @spartacuspro88

    7 жыл бұрын

    @alexboz I don't see how MinGW is any harder to use though

  • @OGBhyve

    @OGBhyve

    7 жыл бұрын

    I've tested many IDEs and text editors. I think CodeLite sucks. I'd probably go the CLion, Netbeans, or VS Code route.

  • @BlackJar72

    @BlackJar72

    7 жыл бұрын

    For C++ I've been using Code::Blocks, it seems pretty good. (Exception, if Qt is involved I use QtCreator, but not for non-Qt stuff).

  • @Murderface666
    @Murderface6667 жыл бұрын

    So pretty much we are going to have to wait another year to get into something interesting at this pace...

  • @needlessoptions

    @needlessoptions

    7 жыл бұрын

    rip

  • @Mitroiul

    @Mitroiul

    7 жыл бұрын

    Exactly. If he does one video per week then he doesn't have the luxury of taking his time and post so little content

  • @Plasticcaz

    @Plasticcaz

    7 жыл бұрын

    He's a busy man. He works a full time job, and does this in his spare time... He was upfront about the fact that it would only be 1 video week. I'd rather he put out one video a week of this quality (which I think is pretty good), than try to churn out a bunch a week, and eventually decide it's infeasible for him to do so. I knew most of the information in this video, but I think he's solidified a few subtleties I was not aware of.

  • @MagnoVJ10

    @MagnoVJ10

    7 жыл бұрын

    +Raise the B.A.R. What do you mean with "something interesting"? This video looked very interesting to me...

  • @Tomto000

    @Tomto000

    7 жыл бұрын

    By taking time to introduce each beginning process, he can then with more ease and pace introduce more complex processes plus this series is about going into the full depth of C++, not how to learn it as fast as possible

Келесі