КОМЕНТАРІ
@AmmarWaleed22
@AmmarWaleed22 6 годин тому
thank you sister for this amazing videos
@noname-ck6ld
@noname-ck6ld 7 годин тому
i'm learning switch case in C# right now! this is perfect. thank you for another awesome tutorial. i learned C++ from your other tutorials. you're a great teacher. :}
@butterflykisses5694
@butterflykisses5694 8 годин тому
Thank you for helping me to understand! Wonderful!
@user-td4pf6rr2t
@user-td4pf6rr2t 9 годин тому
Academia is Hard.
@TaslynSmith-qb7db
@TaslynSmith-qb7db 11 годин тому
Writing a test today and I swear true code beauty made me understand a lot of stuff I didn’t even know I needed to know and learn from campus 😭😭🫶🏽🫶🏽thank you sm
@charanp7963
@charanp7963 12 годин тому
you really are amazing ma'am, keep up the great work, love from INDIA
@joebosah2727
@joebosah2727 14 годин тому
Thanks, SN Shallow Copy and Deep Copy Rule of 3 (and the lesser known Law of the Big Two)
@aichakhir8702
@aichakhir8702 17 годин тому
our camera Can you hide your chest please? We are watching content, not a display of the body
@ismailfaridi
@ismailfaridi 17 годин тому
Good explanation ❤
@AmmarWaleed22
@AmmarWaleed22 18 годин тому
your explanation is really amazing
@mustaphasadok3172
@mustaphasadok3172 20 годин тому
Thank you sister. Very helpful
@sreyamathew327
@sreyamathew327 День тому
Is this the same as static and dynamic scoping?
@k.s.5815
@k.s.5815 День тому
not only the appearance, your way of teaching is beautiful. Thanks a lot!
@CS_lover_911
@CS_lover_911 День тому
Screen not seen clearly please increase resolution of display
@chrishabgood8900
@chrishabgood8900 День тому
do you use either of these in your day job?
@CodeBeauty
@CodeBeauty 16 годин тому
You'll probably not create copy c-tors and assignment operators every day, but you'll definitely use them daily in your work, so if you for example get a bug and you don't understand this in depth, you'll have no idea how to fix the bug and make your code work
@bubble_gum_witch
@bubble_gum_witch День тому
thanks so much❤
@ProgrammerSolver
@ProgrammerSolver 2 дні тому
Great teacher, thank you so much, you have an easy explanation way i understand all what you say, much love for you Saldina, i hope i have enough money to pay for your course
@CodeBeauty
@CodeBeauty 16 годин тому
You are so welcome, and I hope that you'll join us in the course. You'll learn how to build real apps and get experience so that you can start a successful career as a developer 😊🥰
@ProgrammerSolver
@ProgrammerSolver 16 годин тому
I hope that too, but one day I will join I'm sure @@CodeBeauty ❤❤
@samialvi4226
@samialvi4226 2 дні тому
Are we going to build gui apps as well plsss!
@jimpapay2895
@jimpapay2895 2 дні тому
Cool! Thank-you.
@CodeBeauty
@CodeBeauty 16 годин тому
You're welcome!
@user-iy8uf1pp5h
@user-iy8uf1pp5h 2 дні тому
Thank you! You are a great teacher. The method your teaching is outstanding ❤
@MuhammadIddrisu-op4rk
@MuhammadIddrisu-op4rk 2 дні тому
You should have put height*height in brackets.
@milanrai1556
@milanrai1556 2 дні тому
Beautiful video. My question is, what coding do you teach in your paid course ma'am ?
@yawsokpor3061
@yawsokpor3061 2 дні тому
Hi Iike your teaching method, the way you explained the difference between copy constructor and assingment costructor is very interesting
@dwivedys
@dwivedys 2 дні тому
Here's how I implemented queue you asked to implement #include <queue> #include <iostream> #include <string> #include <map> void printQueue(std::queue<std::string>& q) { while(!q.empty()) { std::cout << q.front() << " "; q.pop(); } } int main() { std::queue<std::string> myDailySchedule; std::map<int, std::string> schedule; schedule[1] = "Wake up"; schedule[2] = "Music"; schedule[3] = "Duolingo"; schedule[4] = "C++ Practice"; schedule[5] = "Evening Walk"; schedule[6] = "Dinner"; for(const auto& pair : schedule) { myDailySchedule.push(std::to_string(pair.first) + ": " + pair.second ); } std::cout << "Your daily schedule has " << myDailySchedule.size() << " tasks "; std::cout << "Your day starts out with '" << myDailySchedule.front() << "' and ends with '" << myDailySchedule.back() << "' "; printQueue(myDailySchedule); return 0; }
@naderhumood1199
@naderhumood1199 2 дні тому
Thank you Saldina....vedio is graat and Your gorgeous.
@CodeBeauty
@CodeBeauty 16 годин тому
My pleasure 😊
@marquelamar
@marquelamar 2 дні тому
Nice lesson! You look great today.
@CodeBeauty
@CodeBeauty 16 годин тому
Thanks 😃
@christofzellhofer7504
@christofzellhofer7504 2 дні тому
Vielen Dank für deine Videos, du hast mir im Studium schon sehr geholfen! Beste Grüße aus Wien!👋 Dein Deutsch ist sehr gut! 👌
@muatzdaw8283
@muatzdaw8283 2 дні тому
I great video to a greater teacher 🤍
@CodeBeauty
@CodeBeauty 16 годин тому
Thank you! 😃
@danielkoziarski8488
@danielkoziarski8488 2 дні тому
I do not understand why initializer list has been omitted for the demonstrated constructors. 😢
@CodeBeauty
@CodeBeauty 16 годин тому
I can not put everything in one video. It's already very long 😅😅
@jackschitt7783
@jackschitt7783 2 дні тому
I'm here for clickbait. Nice hat! They say comments help the "algorithym". Done. Redundantly. :)
@CodeBeauty
@CodeBeauty 16 годин тому
Hahah, they do, thanks for the comment 😄 🥰
@jorgetorres1670
@jorgetorres1670 2 дні тому
Thanks.
@CodeBeauty
@CodeBeauty 16 годин тому
You're welcome
@dabbabimarwen7474
@dabbabimarwen7474 2 дні тому
I Like The Way You Insist On Details I'd Like To See The Process Of Writing an object with A String Field In a Binary File : Save Method Good Continuation... ♥
@SZMarcos
@SZMarcos 2 дні тому
Hey, thanks. I was going through Effective C++ by Scott Meyers, and I was wondering about this, coincidentally.
@imanmolaei9278
@imanmolaei9278 2 дні тому
Hi, it's fantastic 🌹
@nicholaskomsa1777
@nicholaskomsa1777 2 дні тому
Here's how I might do that: struct Student { std::string mName; bool mGenderMale{ false }; int mGrade{ 0 }; Student(const std::string& name, bool isGenderMale, int grade) : mName(name), mGenderMale(isGenderMale), mGrade(grade) {} }; std::array<Student, 6> students = { Student{"John", true, 20} , {"Jane", false, 21} , {"Jack", true, 22} , {"jason", true, 23} , {"nick", true, 24} , {"nancy", false, 25} }; std::string studentNameToFind = "Jane"; auto studentFound = std::find_if(std::execution::seq, students.begin(), students.end(), [&](const auto& student) { return student.mName == studentNameToFind; }); if (studentFound != students.end()) { auto& [name, isMale, grade] = *studentFound; std::cout << std::format("student {} found,\tgender: {},\tgrade: {} ", name, isMale ? "male" : "female", grade); } //the front of the array will be the best grades and the back of the array will be the worst grades std::sort(std::execution::par, students.begin(), students.end(), [](const auto& a, const auto& b) { return a.mGrade > b.mGrade; }); auto& bestGrade = students.front(); auto& worstGrade = students.back(); //now sort by gender and grade //females are in the front of the array and males are at the end std::sort(std::execution::par, students.begin(), students.end(), [](const auto& a, const auto& b) { return a.mGenderMale < b.mGenderMale || a.mGenderMale <= b.mGenderMale && a.mGrade > b.mGrade; }); for (auto& student : students) { std::cout << std::format("{} ", student.mName); } auto femaleFound = std::find_if(students.begin(), students.end(), [](const auto& student) { return !student.mGenderMale; }); auto maleFound = std::find_if(students.begin(), students.end(), [](const auto& student) { return student.mGenderMale; }); std::span<Student> males, females; if (maleFound != students.end()) males = { maleFound, students.end() }; if (femaleFound != students.end()) females = { students.begin(), maleFound }; if (males.size()) { auto& bestMale = males.front(); auto& worstMale = males.back(); std::cout << std::format("males: {}, {} ", bestMale.mName, worstMale.mName); } if (females.size()) { auto& bestFemale = females.front(); auto& worstFemale = females.back(); std::cout << std::format("females: {}, {} ", bestFemale.mName, worstFemale.mName); }
@artstechnology7809
@artstechnology7809 2 дні тому
Dont speaks English not understand english. My favorite programming language of computers 😢😢😢
@CodeBeauty
@CodeBeauty 16 годин тому
Your English is not bad 😊😊
@artstechnology7809
@artstechnology7809 14 годин тому
@@CodeBeauty I really don't know English, I'm answering you with google translate. This science of programming attracts me so much that I want to practice it and learn it perfectly. But I don't know, this also prevents me from learning after you. 😥
@nevram0101
@nevram0101 2 дні тому
👍
@CodeBeauty
@CodeBeauty 16 годин тому
👋
@nicholaskomsa1777
@nicholaskomsa1777 2 дні тому
It would make sense to also cover move constructor, move assignment operator, to be complete.
@CodeBeauty
@CodeBeauty 16 годин тому
I have a few more videos about constructors, destructor, copy c-tor on my channel. They should be in C++ OOP playlist, I hope they help to explain more stuff 😄😄👋
@Zulu-xe9zm
@Zulu-xe9zm 2 дні тому
We are waiting
@CodeBeauty
@CodeBeauty 16 годин тому
The video is out now 😊🥰
@snehadey883
@snehadey883 2 дні тому
I am very excited for this video🥰I like your C++ programming tutorials, it helps me very much💝
@CodeBeauty
@CodeBeauty 16 годин тому
Happy to hear that! The video is out, hope you'll enjoy it 🥰
@PritomPaul1920
@PritomPaul1920 2 дні тому
/* Code with get and set methods: (Let me know if there is any issue) */ #include <bits/stdc++.h> using namespace std; class UKposts { private: string Name; string OwnerName; int SubCount; vector<string> VideoList; public: UKposts(string name, string owner) { Name = name; OwnerName = owner; SubCount = 0; } void ShowInfo() { cout << "Channel name: " << Name << endl; cout << "Owner's Name: " << OwnerName << endl; cout << "Subscribers Number: " << SubCount << endl; cout << "Videos: " << endl; for (int i = 0; i < VideoList.size(); i++) { cout << "(" << i + 1 << ") " << VideoList[i] << endl; } cout << endl; } // getter string getName() { return Name; } //setter void setName(string name) { this->Name = name; // Here, using this is no necessary. We can use this only if there is // a variable (in the method scope) with same name that is in class scope. // Name = name; is also valid. } void Subscribe() { SubCount++; } void Unsubscribe() { if (SubCount > 0) SubCount--; } void addVideo(string Vid) { VideoList.push_back(Vid); } }; int main() { UKposts ytCh1("CodeWithPritom", "Pritom"); ytCh1.Subscribe(); ytCh1.Subscribe(); ytCh1.Subscribe(); ytCh1.Unsubscribe(); ytCh1.addVideo("Pritom - Video 1"); ytCh1.addVideo("Pritom - Video 2"); ytCh1.addVideo("Pritom - Video 3"); UKposts ytCh2("Choity's Home", "Choity"); ytCh2.Subscribe(); ytCh2.Subscribe(); ytCh2.Subscribe(); ytCh2.Subscribe(); ytCh2.Unsubscribe(); ytCh2.addVideo("Choity - Video 1"); ytCh2.addVideo("Choity - Video 2"); ytCh2.addVideo("Choity - Video 3"); ytCh2.addVideo("Choity - Video 4"); ytCh1.ShowInfo(); ytCh2.ShowInfo(); ytCh1.setName("Coding With Pritom"); // setter string name = ytCh1.getName(); //getter cout << "Name (from get): " << name << endl; ytCh1.ShowInfo(); return 0; }
@alijan1363
@alijan1363 3 дні тому
for all lessons , you had a great explanation. it was really useful.
@tonistroke
@tonistroke 3 дні тому
brown af
@milanrai1556
@milanrai1556 3 дні тому
your code @5:23 is not running in MacOs, xcode.
@saqibkhan676
@saqibkhan676 3 дні тому
what a teacher
@christopherrice891
@christopherrice891 3 дні тому
I've been waiting patiently for more coding videos in C++ and it looks like my patience is paying off because lookie here! A new C++ coding video🤗!! Thank You very much Saldina✌️!!
@CodeBeauty
@CodeBeauty 16 годин тому
Hahaha, I'm happy to hear that. Welcome back to another C++ lesson 🥰❤️
@reecount8801
@reecount8801 3 дні тому
best teacher
@user-ju8ff2ew8j
@user-ju8ff2ew8j 4 дні тому
شرحكي واضح الغايه شكرا لكي