C++ Better Explained
C++ Better Explained
  • Видео 107
  • Просмотров 82 184
Saying Goodbye to Teaching C++ after 10 Years
Need help developing an App for Embedded Devices? Subscribe to my new channel:
www.youtube.com/@SahilBora-y2b
Work with me:
start.sahilbora.com/booking
⏩ Get the C++ Better Explained Book:
www.cppbetterexplained.com/tw-sales-page
⏩ Enroll in the C++ Better Explained Online Course:
www.cppbetterexplained.com/master-class
Просмотров: 832

Видео

Writing Clean Code with SOLID Principles in C++
Просмотров 3216 часов назад
⏩ Get the C Better Explained Book: www.cppbetterexplained.com/tw-sales-page ⏩ Enroll in the C Better Explained Online Course: www.cppbetterexplained.com/master-class In this video, we break down the SOLID principles of object-oriented programming and how to apply them in C . These principles, introduced by Robert C. Martin, provide guidelines for writing clean, scalable, and maintainable softwa...
Struggling with Bugs in C++? Here’s How to Fix Them!
Просмотров 10День назад
⏩ Get the C Better Explained Book: www.cppbetterexplained.com/tw-sales-page ⏩ Enroll in the C Better Explained Online Course: www.cppbetterexplained.com/master-class In this video, we explore the best ways to debug your code in C , from using print statements to setting breakpoints and more advanced techniques. We understand how frustrating it can be to run into bugs or crashes that seem imposs...
Null Pointers in C++ - The Key to Cleaner Code!
Просмотров 5721 день назад
⏩ Get the C Better Explained Book: www.cppbetterexplained.com/tw-sales-page ⏩ Enroll in the C Better Explained Online Course: www.cppbetterexplained.com/master-class In this video, we dive into the concept of null pointers in C and explain their significance in programming. A null pointer is a pointer that doesn't point to any memory address or object. Understanding how to use null pointers cor...
Understanding Recursion in C++ Like Never Before!
Просмотров 11Месяц назад
⏩ Get the C Better Explained Book: www.cppbetterexplained.com/tw-sales-page ⏩ Enroll in the C Better Explained Online Course: www.cppbetterexplained.com/master-class In this video, we dive deep into the world of recursion in C and explain this powerful programming technique in a simple and easy-to-follow manner. Recursion allows a function to call itself to break down problems into smaller, man...
Understanding Queue Data Structures in C++
Просмотров 9Месяц назад
⏩ Get the C Better Explained Book: www.cppbetterexplained.com/tw-sales-page ⏩ Enroll in the C Better Explained Online Course: www.cppbetterexplained.com/master-class
Understanding Linked Lists in C++ with Easy Examples
Просмотров 172 месяца назад
⏩ Get the C Better Explained Book: www.cppbetterexplained.com/tw-sales-page ⏩ Enroll in the C Better Explained Online Course: www.cppbetterexplained.com/master-class Welcome to C Better Explained! In today’s video, we're diving into the concept of linked lists in C and how to implement them step by step. A linked list is a fundamental data structure that allows dynamic memory allocation and eff...
Understanding C++ Functions: Pass by Value vs Reference
Просмотров 122 месяца назад
⏩ Get the C Better Explained Book: www.cppbetterexplained.com/tw-sales-page ⏩ Enroll in the C Better Explained Online Course: www.cppbetterexplained.com/master-class Welcome to C Better Explained! In today's video, we're diving into the key differences between pass by value and pass by reference in C . These two concepts might sound similar, but they serve very different purposes in programming...
How to Implement a Class in C++: Step-by-Step Guide
Просмотров 83 месяца назад
⏩ Get the C Better Explained Book: www.cppbetterexplained.com/tw-sales-page ⏩ Enroll in the C Better Explained Online Course: www.cppbetterexplained.com/master-class Welcome to C Better Explained! In today’s video, we'll demystify the concept of classes in C by walking you through a simple yet effective calculator example. Many beginners feel intimidated when they hear about classes, but fear n...
Understanding Scope & Lifetime of C++ Variables in 7 Minutes!
Просмотров 263 месяца назад
⏩ Get the C Better Explained Book: www.cppbetterexplained.com/tw-sales-page ⏩ Enroll in the C Better Explained Online Course: www.cppbetterexplained.com/master-class
Unlock C++ Basics: Constructor & Destructor Explained!
Просмотров 103 месяца назад
⏩ Get the C Better Explained Book: www.cppbetterexplained.com/tw-sales-page ⏩ Enroll in the C Better Explained Online Course: www.cppbetterexplained.com/master-class Understanding C can be challenging, but breaking down complex concepts into simple analogies makes it easier. Imagine you're watching a play in a theater; everything set up for the play is like a Constructor in C , setting up objec...
Learn Singleton Design Pattern in C++: Best Practices & Examples
Просмотров 104 месяца назад
⏩ Get the C Better Explained Book: www.cppbetterexplained.com/tw-sales-page ⏩ Enroll in the C Better Explained Online Course: www.cppbetterexplained.com/master-class In this video, we dive into the Singleton design pattern in C , a powerful concept in object-oriented programming that ensures only one instance of a class is created. I’ll guide you through the basics of the Singleton pattern, how...
C++ String Stream Classes: Easy Examples & Practical Use
Просмотров 1624 месяца назад
C String Stream Classes: Easy Examples & Practical Use
5 Tips to Learn Any Programming Language Faster | Coding Tips for Beginners
Просмотров 235 месяцев назад
5 Tips to Learn Any Programming Language Faster | Coding Tips for Beginners
Why I created C++ Better Explained | My backstory of how I started with C++
Просмотров 2155 месяцев назад
Why I created C Better Explained | My backstory of how I started with C
Class Templates in C++: Easy-to-Follow Tutorial
Просмотров 175 месяцев назад
Class Templates in C : Easy-to-Follow Tutorial
C++ Function Templates Explained: A Beginner’s Guide
Просмотров 126 месяцев назад
C Function Templates Explained: A Beginner’s Guide
Beginner’s Guide to Vectors in C++: Everything You Need to Know
Просмотров 376 месяцев назад
Beginner’s Guide to Vectors in C : Everything You Need to Know
Global Variables in C/C++: The Risks You Need to Know!
Просмотров 446 месяцев назад
Global Variables in C/C : The Risks You Need to Know!
Boost Your C/C++ Coding Efficiency with ‘typedef’
Просмотров 206 месяцев назад
Boost Your C/C Coding Efficiency with ‘typedef’
Master the Ternary Operator in C/C++: Simplify Your Code!
Просмотров 156 месяцев назад
Master the Ternary Operator in C/C : Simplify Your Code!
Rock Paper Scissors Game in C++ Complete Project Tutorial for Beginners | C++ Explained Simply
Просмотров 2427 месяцев назад
Rock Paper Scissors Game in C Complete Project Tutorial for Beginners | C Explained Simply
Reverse an Array in C++ Without Libraries: Full Code Breakdown!
Просмотров 127 месяцев назад
Reverse an Array in C Without Libraries: Full Code Breakdown!
How to Code Casino War in C++: Step-by-Step Tutorial!
Просмотров 1947 месяцев назад
How to Code Casino War in C : Step-by-Step Tutorial!
Beginners Guide to Structure Padding in C/C++
Просмотров 379 месяцев назад
Beginners Guide to Structure Padding in C/C
From University to $120k Jobs: The Impact of Portfolio
Просмотров 3910 месяцев назад
From University to $120k Jobs: The Impact of Portfolio
Cover Letter Tips for Software Engineers: Get Noticed!
Просмотров 2510 месяцев назад
Cover Letter Tips for Software Engineers: Get Noticed!
Land $90k-$120k Jobs: The Perfect Software Engineering Resume
Просмотров 5010 месяцев назад
Land $90k-$120k Jobs: The Perfect Software Engineering Resume
How to Make a BLACKJACK Game In C++
Просмотров 4,2 тыс.Год назад
How to Make a BLACKJACK Game In C
Roulette Game in C++ Explained
Просмотров 2,7 тыс.2 года назад
Roulette Game in C Explained

Комментарии

  • @Arshadkhan-dr6bb
    @Arshadkhan-dr6bb 18 часов назад

    Ya,go on bro

  • @DeconstructedLearningOfficial
    @DeconstructedLearningOfficial День назад

    bro is the only one out of focus

    • @cbetterexplained
      @cbetterexplained День назад

      Not sure what you mean?

    • @XeroCoding
      @XeroCoding День назад

      @@cbetterexplained the camera is not focusing u but the background

  • @azadsingh1390
    @azadsingh1390 2 дня назад

    Thanks for your effort always 🙏🙏🙏🙏

  • @seru1190
    @seru1190 2 дня назад

    You are my favourite online teacher. You will always be missed.

  • @vitruvius1202
    @vitruvius1202 3 дня назад

    You'll be missed! Thank you for your videos. I've been quietly enjoying this channel, and I just wanted to let you know I've consistently gotten value from these videos.

  • @indoregamers8625
    @indoregamers8625 Месяц назад

    Bro tu indian hi thik he 😢 (Bohot irritating he)

  • @sazel2.0
    @sazel2.0 4 месяца назад

    Hey, can we talk?

    • @cbetterexplained
      @cbetterexplained 4 месяца назад

      Email me at admin@cppbetterexplained.com

    • @sazel2.0
      @sazel2.0 4 месяца назад

      @@cbetterexplained kindly Check

  • @gaming-channel814
    @gaming-channel814 5 месяцев назад

    Great. But needed update.

  • @gaming-channel814
    @gaming-channel814 6 месяцев назад

    Nice. But need some update in your videos. Your room lighting system is not good.

  • @gaming-channel814
    @gaming-channel814 6 месяцев назад

    You should make some changes in the video like: Shadows on your eyes and shoulders while videoing should be ticked. And when you're recording video, put a video on whatever monitor you're behind on the subject you're making the video on. And make the video thumbnail attractive. Best of luck to you.

  • @shemantosah
    @shemantosah 6 месяцев назад

    Great Presentation

  • @stallard5772
    @stallard5772 6 месяцев назад

    'Promosm'

  • @mejoe444
    @mejoe444 6 месяцев назад

    Ohh man good but why dont you show entire IDE? I dont get where did you save the header files ect. The most important thing about the visual studio and dll is missing.

  • @realstates.northcarolina-usa
    @realstates.northcarolina-usa 6 месяцев назад

    Nice.

  • @XesarxD1
    @XesarxD1 8 месяцев назад

    pase codigo

  • @ruffkyd467
    @ruffkyd467 8 месяцев назад

    Looking at this 5 years later! Really useful 🤝🏾

  • @harisahmad7871
    @harisahmad7871 8 месяцев назад

    Why are you outside?

    • @cbetterexplained
      @cbetterexplained 8 месяцев назад

      It was a nice day that day so I thought lets film some content outside

  • @titan4ik511
    @titan4ik511 9 месяцев назад

    пленку с камеры сними пжпжпжжпжпжп

  • @bbl7546
    @bbl7546 Год назад

    It's works!! I tried with this code. Thanks! (User is a class than I created) auto get_users(){ static User* arr[4]; arr[0] = new User; arr[1] = new User; arr[2] = new User; arr[3] = new User; arr[4] = new User; arr[0]->set_data("Naomi", 29); arr[1]->set_data("Tina", 21); arr[2]->set_data("Yoshino", 25); arr[3]->set_data("Kurumi", 18); arr[4]->set_data("Kotori", 19); return arr; } int main() { // User * user1 = new User; auto database = get_users(); cout << database[0]->name << endl; } console => Naomi

  • @robomanrobo6777
    @robomanrobo6777 Год назад

    Great Video Thanks! Liked commented Belled and Subscribed!

  • @sydiciouspanoy7766
    @sydiciouspanoy7766 Год назад

    what's "srand(time(0)) for?

  • @sydiciouspanoy7766
    @sydiciouspanoy7766 Год назад

    what's the line 40 for?

    • @cbetterexplained
      @cbetterexplained Год назад

      The actual word variable we are guessing in the game

  • @mohamedbayoumi7811
    @mohamedbayoumi7811 Год назад

    Thank you very much. It worked perfectly!

  • @dayesomaliyoutube7108
    @dayesomaliyoutube7108 2 года назад

    How to predict next winer number

  • @jamaicaigot9335
    @jamaicaigot9335 2 года назад

    Hey there, really enjoyed the video. would love to get these as audio only, are you on audea?

    • @cbetterexplained
      @cbetterexplained 2 года назад

      Thanks heaps for watching. Unfortunately I'm not on audea but feel free to download the video into an mp3 format for you to listen :)

  • @starriet
    @starriet 2 года назад

    Some stuff in this vid can be confusing to beginners... Here are some of them I remember,.. 1) '#pragma once' has nothing to do with dll. 2) we don't need both __declspec(dllexport) and __declspec(dllimport) all the times. 3) we don't need extern "C" just for calling a function... 4) header files don't call those functions... it's just a copy and paste. Also those are 'declarations', not 'definitions' in the headers. ......, etc. Experienced devs will be fine, but for beginners these tiny things can be important. But please keep going making nice videos!

    • @cbetterexplained
      @cbetterexplained 2 года назад

      The main focus was generating a DLL file that can be used but thanks for your feedback.

  • @awaisonlinework1035
    @awaisonlinework1035 2 года назад

    nice

  • @vedantjoshi1273
    @vedantjoshi1273 2 года назад

    The video was helpful. Thank you!

  • @ihateyou8006
    @ihateyou8006 2 года назад

    Ive done some reading, and to create a vst Rompler, I need to create a dynamic link library. But what code or language should I try to learn to create a vst that can host my presets..

  • @amine4423
    @amine4423 2 года назад

    Sorry , but your explaination and your presentation aren't that good! Why don't you show your entire screen ? we need to sell all your screen to be able to see all what we need , like nale of projet, confiuration, organisation of the project why don't you just go strike to the goal, you arewasting much time on useless explainations ... .....

    • @cbetterexplained
      @cbetterexplained 2 года назад

      Sorry it didn't help you. Maybe you can make a better video and show your face online without explaning the whole thing in arabic.

  • @SurgeX798
    @SurgeX798 2 года назад

    you are a legend

  • @oseikwatengjunior7480
    @oseikwatengjunior7480 2 года назад

    Hii; What does [1][0] signify?

    • @cbetterexplained
      @cbetterexplained 2 года назад

      This question was asked on stackoverflow, you'll find the explanation here :) stackoverflow.com/questions/11757951/what-is-the-meaning-of-argv10

  • @timeaverage
    @timeaverage 2 года назад

    didnt explain that good

  • @chefatchangs4837
    @chefatchangs4837 2 года назад

    thanks man!

  • @aalokyadav9787
    @aalokyadav9787 2 года назад

    I was searching this solution every fucking pages.Every page asked money..But thank you,you helped me a lot...Love from Nepal

    • @cbetterexplained
      @cbetterexplained 2 года назад

      No problems man. Thanks for watching and please subscribe for more great videos coming up.

  • @abcdefg6934
    @abcdefg6934 2 года назад

    Bhai jan english ki q ly rahy ho yar. Aisa bolo jo tora samaj to aye naa. Moun aap ka kuch aor kehta hy aor words kuch aor nikal rahy hy. Sorry for criticism but you need to work on your english speach. You are making things too much complicated with the way you speak it. Hope you wouldn't mind.

    • @cbetterexplained
      @cbetterexplained 2 года назад

      I only speak english. I don't speak hindi.

    • @kartikenbarnwal
      @kartikenbarnwal 2 года назад

      Improve your English skills @Abcd , he is perfect.

  • @pilm18
    @pilm18 2 года назад

    Muchas gracias, me ayudó mucho esta información

  • @rosasworld1368
    @rosasworld1368 3 года назад

    thank you very much😃

  • @diconicabastion5790
    @diconicabastion5790 3 года назад

    I'll give you a hint. I don't hire people that use else or elif type statements in code. In fact I'll fire an employee if they make the mistake of turning in code with it in it. There is always a better solution than using them. Most are also easier to read and maintain. That counts in C,C++, Java, js, python, PHP, ... This could have been solved better with 2 ifs and a ternary operator or just use 3 ternary operators.

    • @cbetterexplained
      @cbetterexplained 3 года назад

      I use if-else statements in production code that's shipped out all over the world as well as a senior firmware engineer I work with 20+ years experience. If you fire someone just because he wrote code in a way you didn't like, you are brutally losing someone's livelihood. That I don't agree with and it sounds like you are a horrible manager/recruiter that I would stay well away from. If I knew someone that you fired just because you didn't like the way he wrote his code, you would deserve to be roasted publicly and exposed for being a terrible person. This is why we have code reviews...

  • @dudley810
    @dudley810 3 года назад

    no lib file created only on a Static library (.lib) it is created. How you do all this with config type Dynamic Library (.dll)? I would think this would just work in visual studio 2019 but I guess not which is why I am looking at this video. C# you add to the references and your good to go.

    • @cbetterexplained
      @cbetterexplained 3 года назад

      Not sure about a config type dynamic library off the top of my head it's likely something that could be configured in the Build settings of a dll project in Visual Studio

    • @dudley810
      @dudley810 3 года назад

      @@cbetterexplained I believe I figured it out I will get back to you once I do some more studying on C++. I know for sure it has to do with the #ifdef DATAMODELS_EXPORTS -- but was not sure if I needed this on every header I need to export. I know our production code is static dll's

  • @_rtdp_
    @_rtdp_ 3 года назад

    I like Typewriter more...

  • @-fish-3316
    @-fish-3316 3 года назад

    Great explanation! Ty!

  • @comscinerd2070
    @comscinerd2070 3 года назад

    Just found your channel from your orthogonality in 2018! glad you're still uploading, I'm learning C++ right now. Just subbed!

    • @cbetterexplained
      @cbetterexplained 3 года назад

      Thank you so much. More quality videos coming soon :)

  • @emmafox7022
    @emmafox7022 3 года назад

    Thank you, that made reading the next chapter in my programming concepts textbook much easier

    • @cbetterexplained
      @cbetterexplained 3 года назад

      You're very welcome!please share & subscribe my channel for next videos .

  • @whitenets4386
    @whitenets4386 3 года назад

    what is about clibs

  • @dannylaza1326
    @dannylaza1326 4 года назад

    Thanks, this was somewhat useful for what I was looking for.

  • @krystacassidy5684
    @krystacassidy5684 4 года назад

    thank you for making this video:)

    • @cbetterexplained
      @cbetterexplained 4 года назад

      Not a problem, glad you got some value from it :)

  • @werdna45
    @werdna45 4 года назад

    What do you think about Atom and Notepad++ IDEs?

    • @cbetterexplained
      @cbetterexplained 4 года назад

      If I need to make a quick change or am looking for something I know, I would just open it up with Notepad++.

  • @babarakus250
    @babarakus250 5 лет назад

    High cohesion and loose coupling?

    • @cbetterexplained
      @cbetterexplained 5 лет назад

      ??

    • @babarakus250
      @babarakus250 5 лет назад

      @@cbetterexplained Sorry, should have worded my question better. This seems to be the same thing as High cohesion and loose coupling. Is that correct?

    • @cbetterexplained
      @cbetterexplained 5 лет назад

      @@babarakus250 Coupling refers to when the different modules depend on each other. Orthagonality refers to when two or more things don't make changes in each other.

    • @brycejohansen7114
      @brycejohansen7114 3 года назад

      @@babarakus250 Yeah you're basically right. High cohesion: A clearly defined module that only does one task well means there's only one thing to change about it. Loose coupling: The changes of a module will only affects a small selection of other modules dependent on that particular module.

  • @josse3471
    @josse3471 6 лет назад

    Hi Sahil, I noticed that in your solution you probably used the `switch` statement approach. What I am not familiar with is the use of << ...<< ... print statement. How do you get that? Thanks

    • @cbetterexplained
      @cbetterexplained 6 лет назад

      This solution is in C++ hence I'm using cout << "FizzBuzz" << endl to print out the solution for the problem. Hope that clears up why I'm using <<