Different between Class and Struct
When I see at template, there's word name "Class". and I don't know what different purpose of Class and struct:
for example:
Code:
class avatar{
public:
int City;
int address;
}
struct avatar{
int City;
int address;
}
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)
So, who can help me please.
thanks :)