Difference between struct and class

G

Gina

thanks, mlimber,

for illustrating it for me and other newbies

Gina
( I hope I am answering 'inline' now ?)
 
D

Default User

Howard wrote:


When I first started using C++ (about 1992, I think), the [Borland]
compiler I was using did indeed have those differences between class
and struct which Gina quotes from that book. A struct was strictly a
C struct (POD), while a class was a whole new entity, with member
functions.

That wasn't the case for Turbo C++ 3.0, circa 1992.




Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top