C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Struct and inheritance

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
HenryTseung
Guest





PostPosted: Mon Jun 28, 2004 9:22 am    Post subject: Struct and inheritance Reply with quote



Two questions,
1) Is it possible to use struct with inheritance especially in a C
(not C++) program ?
2) What should I do to make some member operations in struct private ?
Thanks in advance for any help
Back to top
Vince Yuan
Guest





PostPosted: Mon Jun 28, 2004 9:47 am    Post subject: Re: Struct and inheritance Reply with quote



1) no
2) private:

Vince

"HenryTseung" <abc_at_abc (AT) yahoo (DOT) co.jp> wrote

Quote:
Two questions,
1) Is it possible to use struct with inheritance especially in a C
(not C++) program ?
2) What should I do to make some member operations in struct private ?
Thanks in advance for any help



Back to top
Howard
Guest





PostPosted: Mon Jun 28, 2004 3:52 pm    Post subject: Re: Struct and inheritance Reply with quote




"HenryTseung" <abc_at_abc (AT) yahoo (DOT) co.jp> wrote

Quote:
Two questions,
1) Is it possible to use struct with inheritance especially in a C
(not C++) program ?
2) What should I do to make some member operations in struct private ?
Thanks in advance for any help

Shouldn't you ask in the comp.lang.c newsgroup, if what you want is an
answer about C???

-Howard



Back to top
Bob Hairgrove
Guest





PostPosted: Mon Jun 28, 2004 3:59 pm    Post subject: Re: Struct and inheritance Reply with quote

On 28 Jun 2004 02:22:18 -0700, [email]abc_at_abc (AT) yahoo (DOT) co.jp[/email] (HenryTseung)
wrote:

Quote:
Two questions,
1) Is it possible to use struct with inheritance especially in a C
(not C++) program ?

There is no inheritance in C.

Quote:
2) What should I do to make some member operations in struct private ?
Thanks in advance for any help

In C or C++?

(For C questions, please post at comp.lang.c and NOT to
comp.lang.c++.)

--
Bob Hairgrove
[email]NoSpamPlease (AT) Home (DOT) com[/email]

Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.