This is a discussion on Difference of Structures and Classes within the C and C++ Programming forums, part of the Software Development category; Hi Pals can you explain What is the difference between structures and classes in C++?...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi Pals can you explain What is the difference between structures and classes in C++? |
|
#2
| |||
| |||
| In structure,the default access specifier is public,where in class the default access specifier is private. A structure would be collection of related data, while a class would be collection of data and code which handles that data. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP Control Structures | Falcon | PHP Programming | 12 | 07-02-2008 12:17 AM |
| looping structures in Ruby? | vadivelanvaidyanathan | Ruby | 1 | 08-18-2007 12:53 AM |
| Difference between a file and Random access file Classes | anbuchezhians | Java Programming | 1 | 08-08-2007 01:53 AM |
| How can do test the Pointers & Structures? | sundarraja | Software Testing | 1 | 07-30-2007 09:54 PM |
| What is the difference between structures and enumeration? | anbuchezhians | VB.NET Programming | 1 | 07-28-2007 12:50 AM |
Our Partners |