We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

full solution available on attachment

I use structures only when I need to hold some data without any member functions associated to it (to operate on the member data) and to access the data variables directly.

For example:

1. Reading/Writing data from files and socket streams etc.

2. Passing function arguments in a structure where the function arguments are too many and function syntax looks too lengthy.

Technically there is no big difference between classes and strutures except default accessibility. More over it depends on programming style how we use it.



 

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 811

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Attachments:

Replies to This Discussion

Bhai Jan Yeh Attachment To MTH202 Discrete Mathematics Ke GDB Ka Sirf Sawal Hai.

Dimaghi Tor Par Out Hein Kia?

Sahih File Attach Karein.

@ Shafiq File to sahi hai sheyd app nay thek say dekha nahi
The only difference between a classes and a structures in C++ is that structures have default public members and bases and classes have default private members and bases. Both classes and structures can have a mixture of public and private members, can use inheritance, and can have member functions.
I would recommend using structures as plain-old-data structures without any class-like features, and using classes as aggregate data structures with private data and member functions.
shafiq nice sharing

You are welcome.

Thank you.

dear friend ye cs201 ka group hy

Mein Bhi Yehi Samjhane Ki Koshish Kar Raha Hon.

Wesay Meinay Idea Solution De Dia Hai?

Yes Dear this is cs201 group

I use structures only when I need to hold some data without any member functions associated to it (to operate on the member data) and to access the data variables directly.

For example:

1. Reading/Writing data from files and socket streams etc.

2. Passing function arguments in a structure where the function arguments are too many and function syntax looks too lengthy.

Technically there is no big difference between classes and strutures except default accessibility. More over it depends on programming style how we use it.

Thanks M.Shafiq for idea solution.
Thnx Shafiq
This is good idea solution.keep it up

RSS

© 2020   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.