structures vs classes
If you will, list or explain the nature and-or language rules of both (structures and classes).
In C++ the difference between struct and class is the default accessibility (class is private, while struct is public).
Depending on if you're using the GC or native heap, the meaning of struct/class will be different:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/vcsmpstruct.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/vcsmpstruct.asp
http://msdn2.microsoft.com/library/6w96b5h7(en-us,vs.80).aspx
Thanks,
Kang Su Gatlin
Visual C++ Program Manager
Take look at the links, and let us know if you have any other questions.
Thanks,
Kang Su Gatlin
Visual C++ Program Manager