When I see at template, there's word name "Class". and I don't know what different purpose of Class and struct:
for example:
I don't know what different purpose of two type of declare, above. Except that, at "class", there some different points I have known like "Method". (but if something you can use by "Method", you also can use it on struct by another way)Code:class avatar{ public: int City; int address; } struct avatar{ int City; int address; }
So, who can help me please.
thanks