tags:

views:

73

answers:

0

Possible Duplicate:
What are the differences between struct and class in C++

what is the practical difference between class and struct in c++ except the default definition of members to be public (in struct) and private (in class)?

if this is the only difference why do we need both?