cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Struct
Struct
Aug 18, 2012 at 12:03am UTC
Amil Patel
(44)
When using struct is it only good for creating a database or can it do more?
What the differences between struct and class when programming?
Are data structure more complex?
Aug 18, 2012 at 12:23am UTC
Moschops
(7244)
When using struct is it only good for creating a database or can it do more?
It can do more.
What the differences between struct and class when programming?
Class members are private by default, struct public by default (likewise inheritance). Otherwise they're identical.
Are data structure more complex?
Depends on the data structure. Some are simple, some are complex.
Last edited on
Aug 18, 2012 at 12:23am UTC
Topic archived. No new replies allowed.