Structures in C++ Programming - Theory & Program example

preview_player
Показать описание
Support Simple Snippets by Donations -
--------------------------------------------------------------------------------------------- A Structure in C++ is a group of data elements grouped together under one name. These data elements, known as members, can have different types and different lengths. It is a user defined data type which allows you to combine data items of different kinds.
Structures are user-defined data types
Imagine you want to store details of a person for e.g. his name, age and salary. In a typical scenario you will have to create 3 variables to store these values, but what if you have to store details of 20 people. Then you will have to create 60 variables and that will be very tedious and inefficient. In such scenarios we can create a struct datatype named Person and include all the details as member variables of this datatype to create a custom datatype. We can then simply create 20 variables of this new structure datatype or a single array of size 20.

Simple Snippets Official Website -
Simple Snippets on Facebook-
Simple Snippets on Instagram-
Simple Snippets Google Plus Page-
Simple Snippets email ID-

UpSkill is an Ed-Tech Company / Coaching Centre for Information Technology / Computer Science oriented courses and offer coacing for various Degree courses like BSc.IT, BSc.CS, BCA, MSc.IT, MSc.CS, MCA etc.

Contact via email /call / FB /Whatsapp for more info

We also Provide Certification courses like -
Android Development
Web Development
Java Developer Course
.NET Developer Course
Рекомендации по теме
Комментарии
Автор

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 ✌

SimpleSnippets
Автор

I don't know why but programming seems more interesting when its explained in an indian accent

lookatmepleasesir
Автор

The cleanest explanation ever on the internet! Thank you so much! :)

DipanjanBasu
Автор

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 ! ☀️

dreamerlps
Автор

You made these videos 3 years ago and they are a gift to me now as well...Thanks Bro

priyanshsingh
Автор

"String is more better than char" Similarly "extraction brackets are more better then getline"

samiullah-bncc
Автор

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!

momentswithjireh
Автор

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.

selvavigneshr
Автор

wow your amazing the code is just so clear i just watched it once and understood everything

amberehjere
Автор

this was the vedio i have been searching for an hour, , best vedio.

fitnetwork
Автор

Nice explanation man, simple yet i can understand all of it, keep up the good work, you helped me a lot!

ivelintsanev
Автор

Nice! Very simply and clearly explained.

whod
Автор

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

saravanajogan
Автор

as I have always said are so clear ...thanku

RasGun_Travels_Life_Journey
Автор

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.

JO-ctdl
Автор

Your video are simple to understand and explained well.
Keep up the good work!

tusharmagar
Автор

Thanks, Bhai
You are explaining things clearly
Keep it up

ankit_redhu
Автор

Very nice video easy chapter after watching your up

amanjeetsingh
Автор

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

anniepauline
Автор

awesome bro tanmay sakpal!! nice explanation,  nice way of teaching.... hope you make much more videos...

saiashwin