Array of Objects & Passing Objects as Function Arguments in C++ | C++ Tutorials for Beginners #25

  Рет қаралды 473,233

CodeWithHarry

CodeWithHarry

Күн бұрын

Пікірлер: 362
@shivanshthakur4538
@shivanshthakur4538 4 жыл бұрын
viewers are decreasing from first to this video ,only people who are actually interested are watching now
@sam-bm1fg
@sam-bm1fg 3 жыл бұрын
People lose interest way too early...
@ijnokm7903
@ijnokm7903 3 жыл бұрын
bcz peoples are motivated ... they dont come with there own interests
@roasted_boy6213
@roasted_boy6213 3 жыл бұрын
@@ijnokm7903 wise Line !!!!!!!!!
@sushilasriv19
@sushilasriv19 3 жыл бұрын
yeah I am in 8th grade I can't understand complex numbers but also I am practicing.......
@shubhamprakash8488
@shubhamprakash8488 3 жыл бұрын
@@sushilasriv19 complex numbers aren't a big deal . It's a very simple and moreover you don't need to understand it for this video .
@earnwithknl
@earnwithknl 2 жыл бұрын
Doston haar nhi man ni, datte raho... 💪💪
@harshrathor4704
@harshrathor4704 3 жыл бұрын
Code with harry is the channel who shows the work instead of talking much
@anuragmalviya2397
@anuragmalviya2397 9 ай бұрын
instead of using endl you can use " " Reason: endl flushes the buffer whereas just creates a way for new line and keeps the program fast
@rajangupta732
@rajangupta732 2 жыл бұрын
The part I loved a lot about your tutorials is that, you use extremely good, short, easy and straight forward examples to teach. I actually wonders from where do you bring them haha. Really Really Incredible and well structured. Thank you so much for helping us. - With love :)
@kunalkumar6783
@kunalkumar6783 2 жыл бұрын
Yeah, little bit difficult, but your simplicity of explanation and my dedication of understanding worked.
@boggerly
@boggerly Жыл бұрын
😂❤
@anozatix1022
@anozatix1022 2 жыл бұрын
This method of adding objects is much much simpler than operator overloading 👌👌. But still not a single video in youtube covers operator overloading in detail🙂
@lsdxsaurabh2798
@lsdxsaurabh2798 2 жыл бұрын
Then You should cheack out c++ by saurabh shukla sir...
@saveenkamboj7410
@saveenkamboj7410 3 жыл бұрын
17:08 //We can also use this for(int i = 0 ; i
@TheISP
@TheISP 4 жыл бұрын
Thank you Harry Bhai! I have learnt a lot from your videos and have shared them with my friends as well!! Thank you so much for your help!!!!!!!!!
@AshutoshKumar-fu6qe
@AshutoshKumar-fu6qe 3 жыл бұрын
15:32 , Hard tha guruji, but samajh me aa gaya finally. All the appreciation goes to your explanation.
@learncseasily3385
@learncseasily3385 3 жыл бұрын
Nahi tha hard..it was medium level... Just a and b ka value lia 2 times phir setdatasum ke help se add kr dia a apni jaga and b apni jaga ...kya hard tha isme🙄
@zombiekiller7101
@zombiekiller7101 3 жыл бұрын
Medium bhi nahi easy tha dekhte se hi samajh aa gaya🤣🤣
@vaibhavwatts
@vaibhavwatts 2 жыл бұрын
@@zombiekiller7101 easy bhi nhi tha bina dekhe hi samjh aa gya
@sachinsingh6885
@sachinsingh6885 2 жыл бұрын
@@vaibhavwatts mujhe bin dekhe tumsb ke conversation se hi smjh aa gya
@vinitsharma4787
@vinitsharma4787 2 жыл бұрын
@@sachinsingh6885 muje to tumare comment ke notification ke sound sune pe he smaj aagaya
@animeboii-zv8vo
@animeboii-zv8vo 4 жыл бұрын
Thank You sir .You are the best .thanks really for making such an easy and learnable course
@lifeofdreams2025
@lifeofdreams2025 4 жыл бұрын
Sir, i have forwarded and suggested your videos to all my uni friends
@ritikabali6466
@ritikabali6466 4 жыл бұрын
har video k end me ek satisfaction milti hai concepts clear hone ki .thank u sir :) :)
@prashanttiwari5736
@prashanttiwari5736 3 жыл бұрын
Yes🤘
@anant-strong
@anant-strong 4 жыл бұрын
Please make detailed course on Data Structures and Algorithm those who want this please comment 🙏
@mansoorabbas5386
@mansoorabbas5386 4 жыл бұрын
me
@prashantmajumdar1519
@prashantmajumdar1519 4 жыл бұрын
Yes Harry bhai please
@anmolgirdhar4473
@anmolgirdhar4473 4 жыл бұрын
ye bhott jaroori hai
@syedammarali108
@syedammarali108 4 жыл бұрын
Yes I also want it.
@yashodharpatel6594
@yashodharpatel6594 4 жыл бұрын
yes me too please bhai
@UrmilaDevi-fg1hs
@UrmilaDevi-fg1hs 5 ай бұрын
A lot of thanks Harry sir ...i am watching your all videos of this playlist and hope as soon as possible it 's competed with full understanding... thanks again ❤
@adityapradhan8474
@adityapradhan8474 Жыл бұрын
Thank you so much harry bhai. Apke wajah se hi to programming sikh paate hain zyadatar students india me
@orio69
@orio69 3 жыл бұрын
Harry bhai ne Facebook kharidliya Congrats harry bhai
@YashuKVlogs
@YashuKVlogs 4 жыл бұрын
*Sir mene apka pura tutorial download kiya h python ka and tq so much for this meri Infosys ki exam h 22 of March 2020 ko 3 rounds he mene 1st round clear kr liya h and usme 2 languages thi to mene Python choose ki h I hope ki me sb sikh jau and exam ache se de sku* And sir abhi InfytQ ke sample papers please solve krwa do please
@jaypatel9392
@jaypatel9392 4 жыл бұрын
Bhai round clear Kar liya Apne Infosys ka
@soniyadhakad3707
@soniyadhakad3707 3 жыл бұрын
Thank You sir ,Very useful CPP course ...............!!!!!!!!!!!!!
@SatyamKumar-pd8qy
@SatyamKumar-pd8qy 3 жыл бұрын
Crystal clear the concept of array of objects in c++ . Harry bhai always d only one❤🙏
@maanav_77
@maanav_77 3 жыл бұрын
harry ne object overloading ke uppr video banaya h kya ?
@ss__gaming3392
@ss__gaming3392 10 ай бұрын
In mathematical terms, the `setDataBySum` function computes the sum of two complex numbers represented by `o1` and `o2`, and stores the result in the current object's data members. If we denote the complex numbers as follows: - `o1` = \(a_1 + b_1i\) - `o2` = \(a_2 + b_2i\) Then, the function computes the sum of these complex numbers and stores it in the current object's data members as: - Real part (`a`) = \(a_1 + a_2\) - Imaginary part (`b`) = \(b_1 + b_2\) So, the resulting complex number stored in the object is: \[ (a_1 + a_2) + (b_1 + b_2)i \]
@abrarahmad3897
@abrarahmad3897 Жыл бұрын
// understand the array of objects and passing objects as arguments. #include using namespace std; // making a class complex class complex{ int a,b; public: void setdata(int x, int y); void setbysum(complex o1,complex o2); }; // designing a function setdata to set the inputted data from the user to form our required complex number void complex :: setdata(int x,int y){ a = x; b = y; cout
@palashagrawal2343
@palashagrawal2343 4 жыл бұрын
i made product of 2 C.N after watching this. i didnt copy pasted ur code i just made somewhat alteration. in output i have to enter a and b manually and used operation directly in cout function of void product
@scgaming5305
@scgaming5305 Жыл бұрын
#include using namespace std; int main(){ cout
@jatinmaheriya2343
@jatinmaheriya2343 3 жыл бұрын
it is very good job harry bhai, because after watching your video we don't have to read complicated book !
@muhammadahmadkhan3304
@muhammadahmadkhan3304 Жыл бұрын
Jazakallah 😇😇
@fanimeToon3910
@fanimeToon3910 Жыл бұрын
your videos are not good for problem solving but these are good for understanding the programming language
@sahilpokhriyal5211
@sahilpokhriyal5211 3 жыл бұрын
Bhaiya , agar aap employee ki jagah games se related ki example dete to aur zyada aata poora coarse. But still course is great 🙌
@AyushKumar-vw6jv
@AyushKumar-vw6jv 3 жыл бұрын
Great explained
@AhmedRaza-ty7zq
@AhmedRaza-ty7zq Жыл бұрын
Awesome and heartwarming song.😎😎👍👍
@harshkharwar9352
@harshkharwar9352 4 жыл бұрын
Thnx Harry Sir . But I have some query.
@lostsky7656
@lostsky7656 2 жыл бұрын
Query kya hai ?
@sohankaushik7
@sohankaushik7 Жыл бұрын
@@lostsky7656 been 3 years no answers yet!
@MohitSingh-wx1zd
@MohitSingh-wx1zd Жыл бұрын
​@@lostsky7656ye Raaz bhi unke saath hi chle gya 😂😂
@lostsky7656
@lostsky7656 Жыл бұрын
@@MohitSingh-wx1zd 😂😂😂
@nitinsharma5242
@nitinsharma5242 Жыл бұрын
Hui solve query?
@mafiafiazmafiafiaz3410
@mafiafiazmafiafiaz3410 Жыл бұрын
Sir u r suprub... Thank u so much
@krishnabansal17
@krishnabansal17 2 ай бұрын
Harry sir Zinda baad, actually OOPs ki starting main mujhe kuch samjh nahi aa raha tha, I thought ki aap dhang se nahi padha rhe ho, but I was wrong, video by video Clear ho rhe doubts.
@batboltalk7729
@batboltalk7729 4 жыл бұрын
Thanks bhai bahut achi vedio ha
@aguywholikescoolanimepics5194
@aguywholikescoolanimepics5194 3 жыл бұрын
just completed 25% of c++ course First milestone reached! Aiming for 50% course completion
@transcendence945
@transcendence945 3 жыл бұрын
Yep same. I wanna complete this full course in a week if I can, and move to some practice and then to dsa
@treasurehunter449
@treasurehunter449 3 жыл бұрын
Bro not 25% but more than 35 % Total videos are 74 Are you one of those guys joining college this year(just curious 🧐🥲)
@divyaagarwal6172
@divyaagarwal6172 3 жыл бұрын
Same here guys✌️
@only_for_fun1234r
@only_for_fun1234r 3 жыл бұрын
@@divyaagarwal6172 but still its, classes are confusing 🥲
@piyushraj9749
@piyushraj9749 3 жыл бұрын
@@treasurehunter449 i m from mechanical eng. , will companies allow me in there interviews?
@atharvpatharkar1652
@atharvpatharkar1652 3 жыл бұрын
Thank You 🙏🏻
@altamashsabri8142
@altamashsabri8142 4 жыл бұрын
best tutorial on c++
@Onlymusic4u
@Onlymusic4u 3 жыл бұрын
Congratulations for 2m family ❤️
@adityahiremath1765
@adityahiremath1765 3 жыл бұрын
People praised on the first 5 videos because this whole course is free..If you actually want to praise and thank this guy at make full use of this course for yourself..🙂
@dheerajaggarwal606
@dheerajaggarwal606 3 жыл бұрын
Bhai yar muje opps se kuch samaj nahi aara hai 😭😭 please help
@satyaanand9243
@satyaanand9243 2 жыл бұрын
@@dheerajaggarwal606 2 3 baar dekho
@GOJOANDSUKUNAFAN
@GOJOANDSUKUNAFAN 10 ай бұрын
​@@dheerajaggarwal606 Bhai oops me tujhe kya smj nhi a rha me batata hu
@goyanidhaval8
@goyanidhaval8 2 жыл бұрын
#include using namespace std; class complex { int a,b; public: void set(int v1,int v2) { a = v1; b = v2; } void setsum(complex o1,complex o2) { a = o1.a + o2.a; b = o1.b + o2.b; } void print() { cout
@ankitalone8906
@ankitalone8906 3 жыл бұрын
Thank you very much sirji🙏❤️
@techyaakash2392
@techyaakash2392 3 жыл бұрын
Thanks HarryBhai :)
@usamajaved9145
@usamajaved9145 Ай бұрын
thanks brother.
@ashumishra151
@ashumishra151 3 жыл бұрын
Thank u sir I'm following this playlist from the beginning and everything is clear to me
@nimi5631
@nimi5631 3 жыл бұрын
did u understand why he use complex 01 and 02 and how it change the value of a and b , i mean it is sooo confusing .
@parthmaheshwari613
@parthmaheshwari613 2 жыл бұрын
@@nimi5631 becoz unko ussi class ke objects bnane the esliye!
@parthmaheshwari613
@parthmaheshwari613 2 жыл бұрын
@@nimi5631 aur rhi baat a and b ki value change kese hui toh just remind the concept of structure, with help of (.) we can access that variable
@parthmaheshwari613
@parthmaheshwari613 2 жыл бұрын
@@nimi5631 follow up this code here I asked the user to enter the value of a and b and I also created a function only for output:- by declaring int am, bm;....follow up the below code here you'll get all your question answer and if you got any query then ask me I'll resolve it! #include using namespace std; class imp { int a; int b; int am; int bm; public: void enterdata(void); void showdata(imp o1, imp o2); void printnumber(void); void foryou(void); }; void imp :: enterdata(void) { couta; coutb; } void imp :: showdata(imp o1, imp o2) { am = o1.a + o2.a; bm = o1.b + o2.b; } void imp :: printnumber(void) { cout
@tip7912
@tip7912 Жыл бұрын
I stongly recommend to watch this series after completing c
@jeel7373
@jeel7373 2 жыл бұрын
THANK YOU SIR ❤️❤️❤️🇮🇳🇮🇳🇮🇳
@adityarajvermaa
@adityarajvermaa 2 жыл бұрын
Thanku bhai for making these videos ......helping me a lot😁😁😁
@chandanramteke7001
@chandanramteke7001 2 жыл бұрын
Thanks a lot
@alisanaik6255
@alisanaik6255 Жыл бұрын
Thank you so much sir ❤❤
@goyanidhaval8
@goyanidhaval8 2 жыл бұрын
#include using namespace std; class employee{ int id; int salary; public: void setid(){ salary = 18000; coutid; } void getid(){ cout
@harrygaming8719
@harrygaming8719 2 жыл бұрын
Nice explanation👍👍
@innerspace7732
@innerspace7732 2 жыл бұрын
I am from pakistan and thankyou soo much for the guidance you help alot ❤️❤️
@royfamily9273
@royfamily9273 2 жыл бұрын
Thanks Harry Bhaiya
@tradingkeeda5575
@tradingkeeda5575 4 жыл бұрын
Bhai plzz stocks market ki algo banane ki series bana do plzz plzz plzz bhai🙏🙏🙏
@sanskarmalviya1592
@sanskarmalviya1592 Жыл бұрын
After 13 min :- my mind😵‍💫🤯
@Himanshhhhxu
@Himanshhhhxu 3 жыл бұрын
I wish you were my teacher in my clg
@muhammadareebkazmi9476
@muhammadareebkazmi9476 2 жыл бұрын
Thank you, boss! Love you!
@rahulkesarkar2825
@rahulkesarkar2825 3 жыл бұрын
88,612 `this many people arent teh motivated ones ..this are the disciplined ones towards their goals
@Forever._.curious..
@Forever._.curious.. 3 жыл бұрын
Love you harry ✨💖
@aditirawat6128
@aditirawat6128 2 жыл бұрын
Thank you sir ❤
@KRIShna-rh5hs
@KRIShna-rh5hs 10 ай бұрын
Aur ye ek orr bouncccerrr harry bhai ki or see...😂
@mdfaiz9657
@mdfaiz9657 3 жыл бұрын
Thanks harry bhai , ap bara sahi explain karte ho har chez
@techlearnwithsharmaji3204
@techlearnwithsharmaji3204 3 жыл бұрын
sir aap har video k sath notes available kra dete to kafi accha rehta kuki aap ki kahi sari batein nhi note kr pata hu
@rutujadevkar2583
@rutujadevkar2583 3 жыл бұрын
Open the link given in description and open the website..and read / write the notes from there
@RohitSingh-pl5wi
@RohitSingh-pl5wi 2 жыл бұрын
mai smjh gya 😀
@dark-knightCoder
@dark-knightCoder 2 жыл бұрын
thank sir it really good
@aniket_k720
@aniket_k720 2 жыл бұрын
Set data by sum jo function hai usme complex jo hai wo koi data types hai na int ki trah
@DineshSingh-hx5kw
@DineshSingh-hx5kw 3 жыл бұрын
Nice explanation sir
@devotee9606
@devotee9606 3 жыл бұрын
Can you please make a course on c++ multi threading
@Priya-hr5si
@Priya-hr5si 3 жыл бұрын
Aapki sabi videos suppppppperrrrrrrr se b uppppper
@AniketKumar-bm8gi
@AniketKumar-bm8gi 4 жыл бұрын
Bahut achha video hai.
@IDK-sk2yj
@IDK-sk2yj 2 жыл бұрын
That complex number example wasn't much harder to understand.. Just have to focus on all lines of methods.
@anuraggade4868
@anuraggade4868 2 жыл бұрын
Amezing 😊😊
@Armankhan-dn5vg
@Armankhan-dn5vg 2 жыл бұрын
You are best
@AnEngineerHuman
@AnEngineerHuman 2 жыл бұрын
Day-16 tut_25 ........................done
@nehalsingh785
@nehalsingh785 3 жыл бұрын
awesome tutotrial sir
@codingislit1404
@codingislit1404 3 жыл бұрын
Thanks a lott bhaiya🙏
@strein6502
@strein6502 4 жыл бұрын
you are good vai, ap great ho vai, mera codding ka man apke baje sehi bana,
@dhruvankadavala568
@dhruvankadavala568 3 жыл бұрын
Very useful CPP course Thank you very much
@samirshaikh6806
@samirshaikh6806 4 жыл бұрын
thank you sir for this lovely tutorials
@minakshisharma123
@minakshisharma123 4 жыл бұрын
Java ka Complete tutorial PLZZZZZ.... UR the best...waiting for the next video....
@tiktokindia5745
@tiktokindia5745 4 жыл бұрын
Love you sirji
@somethinggood06
@somethinggood06 2 жыл бұрын
Awesome !!
@apurvasonawane5049
@apurvasonawane5049 3 жыл бұрын
Thank you!!
@zarakib
@zarakib Жыл бұрын
thanks broo
@trading6224
@trading6224 4 жыл бұрын
Can you please make a detailed tutorial on "HOW TO MAKE A BOOK APP IN THE LATEST VERSION ANDROID STUDIO." There are absolutely none videos about that on KZbin right now.
@Random-xj5mj
@Random-xj5mj 4 жыл бұрын
Yes👍
@99Points
@99Points 4 жыл бұрын
I'm excited
@Down2HellBBX
@Down2HellBBX 2 жыл бұрын
0:43 Habits of a python coder part 1 (update) I mean giving the colon after a class
@AshutoshKumar-fu6qe
@AshutoshKumar-fu6qe 3 жыл бұрын
Complex number will really make this program complex for 10th students and below. Me in 12th.
@only_for_fun1234r
@only_for_fun1234r 3 жыл бұрын
Jee padho
@--kakashi
@--kakashi Жыл бұрын
bhai main to commerce background se hu aur abhi 1st year main hu aur mujhe complex number ke baare main koi idea nhi tha but code dekh ke to samajh gaya but jab google kiya to samajh nhi aaya code wala to dekh ke samajh aa gaya but wo actual math wala complex number nhi pata
@AshutoshKumar-fu6qe
@AshutoshKumar-fu6qe Жыл бұрын
@@--kakashi Keep it up bro!
@RohanDasRD
@RohanDasRD 4 жыл бұрын
Ekdum mast bhai
@meetpatel3544
@meetpatel3544 4 жыл бұрын
Bhai app payment gateway ko integrate kase kare in php par vedio bana dho... Full tutorial
@lalantaapshow8359
@lalantaapshow8359 4 жыл бұрын
Unity please
@RahulRai-vw3dw
@RahulRai-vw3dw 2 жыл бұрын
harry bhai your videos getting much harder to understand I watched the videos twice but doesn't able to understand so I skipped those videos. Please make it easy to understand
@Techny
@Techny 4 жыл бұрын
sirr the course is awesomee!!!! can i please know how many tutorials are there in the course????
@treasurehunter449
@treasurehunter449 3 жыл бұрын
74
@csssatyamjadhav7681
@csssatyamjadhav7681 3 жыл бұрын
Thanks for the video sir...you often use rohan and lovish...are they your friends harry bhai
@ssahssah6300
@ssahssah6300 3 жыл бұрын
Plz can any clear the (complex 01,complex02 ) part of the code
@anubishnoi2774
@anubishnoi2774 3 жыл бұрын
Thanks sir
@Sujit_Badgujar
@Sujit_Badgujar 3 жыл бұрын
thank you....
@MuhammadSaqib-f6v
@MuhammadSaqib-f6v 10 ай бұрын
Function me ap setData Ka D capital lekte he agr small d lik le to correct Hoga i.e setdata ...is this correct or not
@UrmilaDevi-fg1hs
@UrmilaDevi-fg1hs 5 ай бұрын
Yess ...You can use small and Capital both but first character should be small or underscore
@tanishqdeep4485
@tanishqdeep4485 3 ай бұрын
u can but keeping the D capital is a good practice in programming since it helps in better code understanding
@ShivamRawat-gw5xv
@ShivamRawat-gw5xv 2 жыл бұрын
This is the code which i have written // to find sum of Complex numbers #include using namespace std; class factory { private: int a; int b; int c; int d; int sum; public: void read() { cout a; cout b; sum = a + b; } void read1() { cout c; cout d; sum = c + d; } void data_by_sum() { cout
@Multaniprince557
@Multaniprince557 2 жыл бұрын
Bro is mein passing objects by function kahan hai?? upr video ka title prho us me kya likha aur tum ne kis method se kiya ... tum ne jo kya wo simple method hai lekin is me Harry bhai ne passing objects as functions smjhaye hain jo k tumhary waly se different hai
@ismartgaming8704
@ismartgaming8704 Күн бұрын
salute to people to think o1.a is 01*a
@engineerbhai7642
@engineerbhai7642 4 жыл бұрын
One million subscribers soon.
Friend Functions in C++ | C++ Tutorials for Beginners #26
20:02
CodeWithHarry
Рет қаралды 676 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
What Do Software Engineers Actually Do? (It’s Not What You Think)
13:07
you will never ask about pointers again after watching this video
8:03
Tech for 2025 | No nonsense guide
17:38
Chai aur Code
Рет қаралды 76 М.
Constructors In C++ | C++ Tutorials for Beginners #29
19:10
CodeWithHarry
Рет қаралды 655 М.
Objects as Function Parameters in C++(Urdu/Hindi)
11:28
IT Series
Рет қаралды 6 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН