Re: Adding the ability to add functions into structures?
- From: Richard Heathfield <invalid@xxxxxxxxxxxxxxx>
- Date: Sat, 31 Dec 2005 14:26:33 +0000 (UTC)
Chuck F. said:
> Richard Heathfield wrote:
>> Chuck F. said:
>>> The only problem with your
>>> example is that you can't write (in general) that type in C.
>>
>> I must have misunderstood what you mean, because I see no reason
>> whatsoever why one could not write (in general) that type in C.
>
> I meant that to implement FILE you have to access such things as
> ports, disks, etc. that take you out of pure C.
Oh. I thought you meant opaque types were impossible, which they clearly
aren't.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
.
- References:
- Adding the ability to add functions into structures?
- From: Albert
- Re: Adding the ability to add functions into structures?
- From: Jack Klein
- Re: Adding the ability to add functions into structures?
- From: Chuck F.
- Re: Adding the ability to add functions into structures?
- From: Richard Heathfield
- Re: Adding the ability to add functions into structures?
- From: Chuck F.
- Adding the ability to add functions into structures?
- Prev by Date: Re: How to stop reading a file?
- Next by Date: Re: Adding the ability to add functions into structures?
- Previous by thread: Re: Adding the ability to add functions into structures?
- Next by thread: Re: Adding the ability to add functions into structures?
- Index(es):
Relevant Pages
|