[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: C programming

the main diff between struct and class is that by default all members of a
class are private and vice versa 4  struct.the access specifier private can
be used in structures also to make some members private because they are not
private by default.
----- Original Message -----
From: "Sumesh A.G" <sumeshag@xxxxxxxxxxx>
To: <linux-india-programmers@xxxxxxxxxxxxxxxxxxxxx>
Sent: Saturday, November 04, 2000 6:04 PM
Subject: [LIP] C programming

> hello Friends,
>          Well, what is the main differences between structure and class in
> terms of access specifiers.i need to know whether ther is any 'private"
> access specifier for structure in struct construct,if so what is it's use?
> thanks in advance
>  sumesh
> ---------------------------------------------
> Find out more about this and other Linux India
> mailing lists at http://lists.linux-india.org/