- Видео 107
- Просмотров 82 184
C++ Better Explained
Австралия
Добавлен 26 фев 2015
The official RUclips channel of C++ Better Explained
Created by Sahil Bora
Created by Sahil Bora
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
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
Ya,go on bro
bro is the only one out of focus
Not sure what you mean?
@@cbetterexplained the camera is not focusing u but the background
Thanks for your effort always 🙏🙏🙏🙏
Thank you for being apart of it :)
You are my favourite online teacher. You will always be missed.
Thanks for watching
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.
Thank you so much. This means a lot to me :)
Bro tu indian hi thik he 😢 (Bohot irritating he)
Exactly bhai
Unka accent unhi ko suit hota hai
@@MCDhanushRao haa Bhai
Hey, can we talk?
Email me at admin@cppbetterexplained.com
@@cbetterexplained kindly Check
Great. But needed update.
Nice. But need some update in your videos. Your room lighting system is not good.
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.
Great Presentation
'Promosm'
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.
Nice.
Thanks!
pase codigo
Please check playlist.
jajajajaja
@@Alemania19454 report
Looking at this 5 years later! Really useful 🤝🏾
Thank you :)
Why are you outside?
It was a nice day that day so I thought lets film some content outside
пленку с камеры сними пжпжпжжпжпжп
Ok. Thanks for suggesting me.
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
Great Video Thanks! Liked commented Belled and Subscribed!
Thank you so much. You're a legend :)
what's "srand(time(0)) for?
It initializes the random number generator
what's the line 40 for?
The actual word variable we are guessing in the game
Thank you very much. It worked perfectly!
How to predict next winer number
How To predict whats random
Check the playlist.
Hey there, really enjoyed the video. would love to get these as audio only, are you on audea?
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 :)
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!
The main focus was generating a DLL file that can be used but thanks for your feedback.
nice
The video was helpful. Thank you!
Thank you watching :)
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..
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 ... .....
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.
you are a legend
Hii; What does [1][0] signify?
This question was asked on stackoverflow, you'll find the explanation here :) stackoverflow.com/questions/11757951/what-is-the-meaning-of-argv10
didnt explain that good
thanks man!
Thanks for watching
I was searching this solution every fucking pages.Every page asked money..But thank you,you helped me a lot...Love from Nepal
No problems man. Thanks for watching and please subscribe for more great videos coming up.
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.
I only speak english. I don't speak hindi.
Improve your English skills @Abcd , he is perfect.
Muchas gracias, me ayudó mucho esta información
thank you very much😃
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.
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...
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.
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
@@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
I like Typewriter more...
Great explanation! Ty!
No problems. Hope you enjoyed the video :)
Just found your channel from your orthogonality in 2018! glad you're still uploading, I'm learning C++ right now. Just subbed!
Thank you so much. More quality videos coming soon :)
Thank you, that made reading the next chapter in my programming concepts textbook much easier
You're very welcome!please share & subscribe my channel for next videos .
what is about clibs
I don't use it.
Thanks, this was somewhat useful for what I was looking for.
thank you for making this video:)
Not a problem, glad you got some value from it :)
What do you think about Atom and Notepad++ IDEs?
If I need to make a quick change or am looking for something I know, I would just open it up with Notepad++.
High cohesion and loose coupling?
??
@@cbetterexplained Sorry, should have worded my question better. This seems to be the same thing as High cohesion and loose coupling. Is that correct?
@@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.
@@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.
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
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 <<