Difference between structure and class in C++ or purpose of class in C++
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/92859/what-are-the-differences-between-struct-and-class-in-c">What are the differences between struct and class in C++</a>  </p>
</blockquote>



<p>Hi,
 Is there any difference between a structure and class in C++ other than the fact that default access specifier for a struct is public and that of a class is private?If not then what is the purpose of having a concept of classes in C++?   </p>
