structures vs classes

(note: I have previously coded in Java and am now attempting to learn C++)
If you will, list or explain the nature and-or language rules of both (structures and classes).
[175 byte] By [forum389] at [2007-12-16]
# 1

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

KangSuGatlin at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 2
what are the GC and native heap?, I recall reading or seeing hint of such, but I don't know what they are
forum389 at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 3
Hi forum389. I probably made things more confusing than necessary by mentioning the native vs GC heap. The difference between structs and classes in C++ is the default access of members and methods.

Take look at the links, and let us know if you have any other questions.

Thanks,

Kang Su Gatlin
Visual C++ Program Manager

KangSuGatlin at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...