Structures in C++ Programming - Theory & Program example

  Рет қаралды 206,270

Simple Snippets

Simple Snippets

Күн бұрын

Пікірлер: 160
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌
@hurairakhan5757
@hurairakhan5757 4 жыл бұрын
Love you brother
@hurairakhan5757
@hurairakhan5757 4 жыл бұрын
All of my doubts are clear after watching jsut your one videos keep it up thanks🌷
@saniaaimen8170
@saniaaimen8170 2 жыл бұрын
Talk slowly can't understand what you are saying.
@amesramengistu4438
@amesramengistu4438 Жыл бұрын
hey tanmay, why didn't we use the [ ] sign for ages and salaries?
@lookatmepleasesir
@lookatmepleasesir 5 жыл бұрын
I don't know why but programming seems more interesting when its explained in an indian accent
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Heheh well this is the first time i'm hearing such feedback 😇 Thank you so much ✌
@AlaaAreesPhoenix
@AlaaAreesPhoenix Жыл бұрын
Kinda hard to catch up usually but still ok *Edit Ok i changed my mind his explanation is awesome!!
@DipanjanBasu14
@DipanjanBasu14 5 жыл бұрын
The cleanest explanation ever on the internet! Thank you so much! :)
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Thank you my friend! Very happy to hear this from you 😇 Please do share this video with your friends too & definitely subscribe to this channel 😇
@dreamerlps3654
@dreamerlps3654 4 жыл бұрын
Thank you! My teacher speaks my language ( Hungarian ), but I didn’t understood a word from what she was trying to say. Now it’s clear ! ☀️
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Thank you buddy, Please do share the video and channel with your friends too. Thats the biggest help and support you can provide 😇
@selvavigneshr9621
@selvavigneshr9621 4 жыл бұрын
Thank You so much Tanmay ! In 2020 im learning c++ from basics through ur c++ playlist . Your teaching is simple and great , at the end of each video i can grab the concept easily.
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Most welcome Vignesh, I am really glad to hear this comment from you bro. Thank you for the positive feedback. I request you to please share our channel and videos with your friends too & ask them to subscribe and join our community as well 😇 That is the biggest help and support you can provide ✌
@momentswithjireh3921
@momentswithjireh3921 4 жыл бұрын
Thank you very much sir for making these videos! You have become my resources center, I just started OOP course, structures, and watching your video gave a clear, practical and better understanding of structures. I will definitely share this with my friends! Peace!
@priyanshsingh7104
@priyanshsingh7104 4 жыл бұрын
You made these videos 3 years ago and they are a gift to me now as well...Thanks Bro
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Thank you so much buddy. It would mean a lot if you could please share our channel and videos with your friends too ✌
@mshega_sa9911
@mshega_sa9911 Жыл бұрын
Lol i'm guessing it's been 5 years now.
@amberehjere4062
@amberehjere4062 Жыл бұрын
wow your amazing the code is just so clear i just watched it once and understood everything
@samiullah-bn4cc
@samiullah-bn4cc 5 жыл бұрын
"String is more better than char" Similarly "extraction brackets are more better then getline"
@mhcomputeracademy
@mhcomputeracademy 4 жыл бұрын
Absolutely right
@jamesnash9675
@jamesnash9675 2 жыл бұрын
you are the best......masum
@fitnetwork7350
@fitnetwork7350 5 жыл бұрын
this was the vedio i have been searching for an hour ,, best vedio.
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Hehe thank you so much my friend 😊✌️ Subscribe to the channel and you never have to search for it again 😉✌️ Also I would request you to please share the video with your friends too 😊
@JO-ct6dl
@JO-ct6dl 2 жыл бұрын
Thank you for the clear explanation and great video. Explaining a real-life situation and writing the code is very helpful to understand the concept.
@anniepauline3365
@anniepauline3365 3 жыл бұрын
Your doing a great work of making things so elementary and uncomplicated that we users can understand. I reckon that it would be better if you used some animation or images while explaining examples, like in this case - a person with name age and salary....blah..blah.. blah... Writing down the explanation of the example in a paragraph makes it look like some big concept to the ones who are watching. It would make the work easier on both ends. Just a feedback
@rasikashinde2776
@rasikashinde2776 4 жыл бұрын
as I have always said .....you are so clear ...thanku
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Thank you so much Rasika 😇🙏
@shreyasingh542
@shreyasingh542 4 жыл бұрын
Such a clear explanation!
@01_abhijeet49
@01_abhijeet49 5 жыл бұрын
Omg, thankyou soo much for this video. Probably the best channel ever. Thank god you have a good accent. Not the TypICaL InDiaN aCSenT
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
That's so great to know Abhijeet. Really happy to hear this from you. I would request you to please share these videos with your friends too ✌️ that's the biggest help & support you can provide 😇
@01_abhijeet49
@01_abhijeet49 5 жыл бұрын
@@SimpleSnippets i just did In my class group❤❤
@ivelintsanev9380
@ivelintsanev9380 4 жыл бұрын
Nice explanation man, simple yet i can understand all of it, keep up the good work, you helped me a lot!
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Thank you buddy, glad to hear this from you. Please do share the videos with your friends too 😇
@ivelintsanev9380
@ivelintsanev9380 4 жыл бұрын
@@SimpleSnippets Already did
@whod
@whod 7 жыл бұрын
Nice! Very simply and clearly explained.
@SimpleSnippets
@SimpleSnippets 7 жыл бұрын
+Whod thank you very much 😇 do share the video with your friends and contacts 😇✌
@Manishkumar-wt9tf
@Manishkumar-wt9tf 2 жыл бұрын
new subscriber bro..you teach very effective and in easy language. Thank for helping me and others.
@saravanajogan1221
@saravanajogan1221 4 жыл бұрын
Hey Tanmay, Great job. I want you to do some videos for differentiating concepts like struct Vs. Class, polymorphism Vs inheritance, etc.. Coz these questions are asked in interviews. And it will be really helpful. Just a request.Thank you
@amanjeetsingh8092
@amanjeetsingh8092 6 жыл бұрын
Very nice video easy chapter after watching your video......thumbs up
@SimpleSnippets
@SimpleSnippets 6 жыл бұрын
Thank you so much bro 😇 I would request you to please share the video with your friends and keep sharing the knowledge ✌️😊
@ankit_redhu
@ankit_redhu 6 жыл бұрын
Thanks, Bhai You are explaining things clearly Keep it up
@SimpleSnippets
@SimpleSnippets 6 жыл бұрын
Thank you so much Ankit🙏 this positive feedback from the means a lot to me 😇 Keep up the support and please do share the videos with your friends too 🙏✌️
@firdoushemani5966
@firdoushemani5966 4 жыл бұрын
These videos are really helpful and very easy to learn. Good teaching skills. please make a video on how to make an open weather app using api.
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Thank you Firdous, glad to hear this from you. And yes the weather app idea is pretty good ✌
@firdoushemani5966
@firdoushemani5966 4 жыл бұрын
@@SimpleSnippets thank you.
@shaderone07
@shaderone07 4 жыл бұрын
awesome explanation sir
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Thanks for liking. Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
@saiashwin9930
@saiashwin9930 6 жыл бұрын
awesome bro tanmay sakpal!! nice explanation, nice way of teaching.... hope you make much more videos...
@SimpleSnippets
@SimpleSnippets 6 жыл бұрын
+Sai Ashwin hey hi buddy, thank you so much for such a wonderful response. Really means a lot to me 😇 Do share the videos with your friends and contacts and keep up the support ✌️✌️
@tusharmagar2189
@tusharmagar2189 6 жыл бұрын
Your video are simple to understand and explained well. Keep up the good work!
@SimpleSnippets
@SimpleSnippets 6 жыл бұрын
Thank you so much Tushar 😇 means a lot to me. I would request you to please share the videos with your friends and contacts ✌️😊 Also I'm a fan of marvel too 😉
@samikshapatade2822
@samikshapatade2822 3 жыл бұрын
Using structures,If we want to pass default parameter in salary like if person will not enter then it automatically print default then how can we do this?
@anuppai2326
@anuppai2326 5 жыл бұрын
Thank you so much sir your videos are the best keep on making more and more videos☺☺☺
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Thank you so much Anup, really glad to hear this from you. Please do subscribe to this channel & share the content with your friends too. That will be the biggest help & support 😇
@abhishekmukherjee7371
@abhishekmukherjee7371 6 жыл бұрын
Thankx man.................u really saved me before my final exams.
@SimpleSnippets
@SimpleSnippets 6 жыл бұрын
Hey buddy, you're welcome. I'm so glad that these videos helped you in your studies. Do share them with your friends and Juniors so that even they get help from them. That will be the best thing you could do ✌️😇
@anime-rsd1781
@anime-rsd1781 6 жыл бұрын
bhai ketna marks aye
@moellersworkshop2116
@moellersworkshop2116 5 жыл бұрын
Yes, this is video that is good to listen to. I have good mind now to place the struct command in my sketches now. yes?
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Sure buddy ✌️😎
@hdhhd7414
@hdhhd7414 5 жыл бұрын
Sir plz make small error in coding and correct it so we student can also know where we gonna know how to correct or debug
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
That's a great idea ✌️ will surely work on this 😊
@hdhhd7414
@hdhhd7414 5 жыл бұрын
@@SimpleSnippets thanks sir😁
@shauryavardhan880
@shauryavardhan880 5 жыл бұрын
It is the best explanation about structure..... Thanku for the video.. But plzz make a separate video on how to run theses program in notepad++ using command prompt ...plzz🙏🙏
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Thank you so much 😊. Will see if possible ✌️
@shauryavardhan880
@shauryavardhan880 5 жыл бұрын
Okk ...thanku😊
@llll-qz9kr
@llll-qz9kr 3 жыл бұрын
is the definition in the beginning any different from a class group of data elements, different types, user defined... i dunno edit: can a struct have functions? ifno: is that the main difference between class and struct? google edit: Contrary to what younger developers, or people coming from C believe at first, a struct can have constructors, methods (even virtual ones), public, private and protected members, use inheritance, be templated… just like a class .. ... damit
@tanner545
@tanner545 5 жыл бұрын
Nice video 👍.. thanks for the tutorial
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Most welcome Tanner 😊 glad you liked it. I would request you to please share the video with your friends too 🤟
@parishigupta5265
@parishigupta5265 5 жыл бұрын
Why there is need to create the char name [100] array?? Why can't we use just char name?
@fahadabdullah510
@fahadabdullah510 4 жыл бұрын
Why did we use getline for name input??
@neffexlover3584
@neffexlover3584 4 жыл бұрын
Thanku sir unlike other you tubers you, don't teach programming in black boards rather than in a computer
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Most welcome buddy, Glad to hear this from you. Please do share the videos with your friends too. Thats the biggest help and support you can provide 😇
@unknownvulture6189
@unknownvulture6189 4 жыл бұрын
@@SimpleSnippets sure bro......don't lose hope....we are there😉
@krishnaleela7626
@krishnaleela7626 5 жыл бұрын
Super bro continue it u have a brighter Future
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Most welcome my friend 😊 Thanks for the feedback ✌️
@calebncube828
@calebncube828 6 жыл бұрын
Nice i like the way you present your work please keep it up
@SimpleSnippets
@SimpleSnippets 6 жыл бұрын
Thank you so much buddy. Glad to hear this from you 😇 do share the video with your friends too. that'll be even more helpful 😇
@calebncube828
@calebncube828 6 жыл бұрын
Sure i will
@SimpleSnippets
@SimpleSnippets 6 жыл бұрын
Thanks Caleb, means a lot to me 😇✌️
@wumpini
@wumpini 2 жыл бұрын
Why did you use the getline operator
@nishantsarangdhar
@nishantsarangdhar 5 жыл бұрын
What is the difference between structure and class?
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Good question. The only difference between a structure and a class is that structure members have public access by default and class members have private access by default, you can use the keywords class or struct to define equivalent classes.
@rollingrocky3608
@rollingrocky3608 5 жыл бұрын
very well explained! but i suggest u explain few more examples...
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Okay I'll surely try to cover a few more in future ✌️😊
@zenricclarete8732
@zenricclarete8732 5 жыл бұрын
can i ask what is the meaning of that 100 and is the purpose of that? and also why i cant type name on p2 under person variable
@AkP88865
@AkP88865 2 жыл бұрын
Nice , need more practice on this
@akari3695
@akari3695 5 жыл бұрын
How to choose the number persons we need to store data of at the run time?
@birdybleep4162
@birdybleep4162 3 жыл бұрын
Love your explanations! Thank you :)
@nasali5116
@nasali5116 5 жыл бұрын
Let say i got 20 people, do i have to make p1 - p20 manually?
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Instead you can make an array of structures. Person p[20]
@abdullahwaqar3024
@abdullahwaqar3024 3 жыл бұрын
can we make data members private in structure ? if yes then how ?
@SimpleSnippets
@SimpleSnippets 3 жыл бұрын
no
@amitbhalerao728
@amitbhalerao728 4 жыл бұрын
Very Good Tanmay post more programmes
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Thansk Amit, I sure will. Currently working on DSA course and Pattern Printing programs. Do check it
@mshega_sa9911
@mshega_sa9911 Жыл бұрын
😂😂I saw him forget the 'l' and kept quiet
@venumullempally7598
@venumullempally7598 5 жыл бұрын
Thanks Sir
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Most welcome my friend 😊 Please do share the video with your friends too ✌️
@aayush5474
@aayush5474 5 жыл бұрын
What is diffrence between defining structure as struct and type def struct?
@fasihrajpoot6519
@fasihrajpoot6519 4 жыл бұрын
Bhai aik bat kee smaj nai aai k aap ne name wale integer kee array q bnai aur getline q istamal kia hai??
@yugamkamboj1413
@yugamkamboj1413 3 жыл бұрын
sir will my program compile if i dont use endl escape sequence
@kk4hunter
@kk4hunter 4 жыл бұрын
man, why do people use cout and cin, instead of scanf and printf...
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
What difference does it make?
@wizardcoding7595
@wizardcoding7595 4 жыл бұрын
Why you used getline ?
@rahuljena5754
@rahuljena5754 3 жыл бұрын
Thank you so much 😊
@nithishkumarv134
@nithishkumarv134 5 жыл бұрын
Nice explaination
@Sandhyajamakhandi
@Sandhyajamakhandi Жыл бұрын
If c progamming is alao there please share link..
@dhruvpandey2547
@dhruvpandey2547 5 жыл бұрын
Can we use something else of getline
@argjendsejfullai8541
@argjendsejfullai8541 4 жыл бұрын
thanks a lot
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Happy to help
@abdulhannanmasood3784
@abdulhannanmasood3784 4 жыл бұрын
Bhai love you from pakistan you saved my life in ITC examination long live brother love you salute you man.
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Most welcome Bhai ✌️ I'm very happy to hear such a wonderful and warm comment from you. Lots of love from India 🇮🇳 keep growing ✌️ Please do share our channel and videos with your friends too ✌️ that's the biggest help and support 😊
@calebncube828
@calebncube828 6 жыл бұрын
Do you have anything on c++ Classes
@SimpleSnippets
@SimpleSnippets 6 жыл бұрын
Sure Caleb, I've got the full playlist of C++ programming. Check this - kzbin.info/aero/PLIY8eNdw5tW_o8gsLqNBu8gmScCAqKm2Q
@AnjaliSingh-kq6vz
@AnjaliSingh-kq6vz 6 жыл бұрын
Amazing and thanks
@SimpleSnippets
@SimpleSnippets 6 жыл бұрын
Thank you so much 😇. Please do share the videos with your friends and contacts and keep sharing the knowledge 😇
@RaniSharma-en3ib
@RaniSharma-en3ib 6 жыл бұрын
plz add object oriented programming also
@SimpleSnippets
@SimpleSnippets 6 жыл бұрын
Hello, I have added almost all videos on object oriented programming too in this playlist itself 😇✌️
@TechieAhmadYT
@TechieAhmadYT 3 жыл бұрын
Y u used getline function
@nepalifly__8985
@nepalifly__8985 5 жыл бұрын
I just wanted to say thank you
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Thank you bro 😊 I'm glad to hear this from you. I would request you to please share the video with your friends too ✌️
@jainarayanojha1480
@jainarayanojha1480 6 жыл бұрын
sir your videos is very good to explain but sir plz use images to explain more to easy
@SimpleSnippets
@SimpleSnippets 6 жыл бұрын
Hello Jai, Thank you for the positive feedback and yes I really liked your suggestion about using more images. I will try to use them whenever possible to make th videos more easy and interesting. Do share the videos with your friends and contacts ✌😇
@anabildebnath2590
@anabildebnath2590 3 жыл бұрын
This was good
@aswathymohanan6985
@aswathymohanan6985 5 жыл бұрын
Thanks bro...
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Most welcome buddy 😇
@AbhinavPrasad
@AbhinavPrasad 5 жыл бұрын
what is get line function?
@farisshexo4876
@farisshexo4876 10 ай бұрын
thanks
@noobdaplayer7593
@noobdaplayer7593 6 жыл бұрын
Sir very nice . Sir plz make video on string. e.g how to concatenate string ,how to compare string using array
@sathyav7299
@sathyav7299 5 жыл бұрын
Good bro
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Most welcome buddy. Please share the video ✌️
@genalphalyrics8729
@genalphalyrics8729 2 жыл бұрын
Too bad the next tutorial was never made
@muhammadhuzaifa8570
@muhammadhuzaifa8570 5 жыл бұрын
y r v using getline
@niravparekh8337
@niravparekh8337 6 жыл бұрын
Thnx bro. It helped a lot.. I was afraid for my exams. But now I'm tension free
@SimpleSnippets
@SimpleSnippets 6 жыл бұрын
Hey Nirav, I'm so happy to hear that this video helped you. Do share this video with your friends and contacts and help them too. Keep sharing the knowledge 😇✌
@kishanitiger5743
@kishanitiger5743 5 жыл бұрын
nice
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Thank you so much Kishani 😊🤟 please do share the video with your friends
@muhammadhuzaifa8570
@muhammadhuzaifa8570 5 жыл бұрын
great jani
@forhadrh
@forhadrh 3 жыл бұрын
Nice! :)
@Pc-qf6tu
@Pc-qf6tu 4 жыл бұрын
can u plz speak in hindi
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Nope this is an international channel. I have explained why I will not talk in hindi on this channel in a separate video.
@oriabnu1
@oriabnu1 3 жыл бұрын
bro i am student plz in indian lauguage if you explained
@RaiMuhammadArslan786
@RaiMuhammadArslan786 5 жыл бұрын
thanks !!!!!!!!!!!!from Pakistan!!!!!!!!!!
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Most welcome buddy 😊 thank you very much for your positive feedback ✌️
@samanahmed856
@samanahmed856 5 жыл бұрын
Good expline I too student in computer science I need ur help and i want to talk with u in whatsup
@AmanSingh-ly4cz
@AmanSingh-ly4cz Жыл бұрын
god komedi with the typing blud
@defafa9249
@defafa9249 2 жыл бұрын
Slow down jeez
@hershpathak6997
@hershpathak6997 5 жыл бұрын
hi ahan
@alanbchen
@alanbchen 2 жыл бұрын
goat
@hadharam
@hadharam 5 жыл бұрын
trys to learn c++ open yt find vdieo indian accent fuck my life XD
@jacobblack2544
@jacobblack2544 5 жыл бұрын
Qkk
@akshatabirajdar4148
@akshatabirajdar4148 4 жыл бұрын
Bhoot fast kr diya 😠😠
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Sorry for the speed. Will keep that in mind ✌️
@akshatabirajdar4148
@akshatabirajdar4148 4 жыл бұрын
@@SimpleSnippets han ji sir...🤗🤗 sorry for that.. comment
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
@@akshatabirajdar4148 koi baat nahi. Ye video bohot time purani hai jab main khud video editing seekh raha tha. Toh thoda speed high hojata tha. ✌️If you see my latest videos I'm sure you'll like them better 😊
@akshatabirajdar4148
@akshatabirajdar4148 4 жыл бұрын
@@SimpleSnippets it's okey sir..👍I will see ur all video s surely
@rajdeep1252
@rajdeep1252 4 жыл бұрын
Speak in hindii
@albertd.bangura3794
@albertd.bangura3794 4 жыл бұрын
Thank you very much sir for making these videos! You have become my resources center, I just started OOP course, structures, and watching your video gave a clear, practical and better understanding of structures. I will definitely share this with my friends! Peace!
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Thank you Albert for this wonderful comment! Keep sharing please!
@yashaswinin.r3293
@yashaswinin.r3293 11 ай бұрын
When do we use endl
Array of Structures & Pointer to Array Program example | C++ Programming
14:24
Colorful Pasta Painting for Fun Times! 🍝 🎨
00:29
La La Learn
Рет қаралды 308 МЛН
the balloon deflated while it was flying #tiktok
00:19
Анастасия Тарасова
Рет қаралды 36 МЛН
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 131 МЛН
Operator Overloading in C++ Programming | C++ Programming for Beginners
13:32
File Handling in C++ Programming
16:06
Simple Snippets
Рет қаралды 361 М.
you will never ask about pointers again after watching this video
8:03
Friend Functions in C++ Programming | Object Oriented Programming in C++
10:03
Pass by Value | Pass by Reference | Pass by Address in C++ Programming
19:14
Structures in C++ ( Urdu/Hindi)
20:31
IT Series
Рет қаралды 41 М.
Object Oriented Programming in C++ for beginners | Introduction
18:33
Simple Snippets
Рет қаралды 248 М.
Makefiles: 95% of what you need to know
1:01:53
Gabriel Parmer
Рет қаралды 128 М.
Colorful Pasta Painting for Fun Times! 🍝 🎨
00:29
La La Learn
Рет қаралды 308 МЛН