🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.objects
Article #15255

Re: Projekt obiektowy do napisania w C

#15255
From: A.L.
Date: Tue, 29 Aug 2006 17:14
36 lines
2090 bytes
On Tue, 29 Aug 2006 18:13:06 +0200, "Kurciok"
<kurciok@poczta.BEZSPAMUonet.pl> wrote:

>Mam projekt obiektowy z mnustwem dziedziczeń klas abstrakcyjnych itd. I 
>musze to napisać w C w dodatku pod mikrokontroler. Jak się do tego zabrać? 
>Jak narazie myślę aby każdą klase zawrzeć w osobnym pliku. I tam umieścić 
>strukturę i funkcję ktore na niej operują. Jak jednak zrobić coś takiego jak 
>dziedziczenie itd? 
>


http://www.accu.org/acornsig/public/articles/oop_c.html

Do you think that to program in an object-oriented style you need an
object-oriented language? Well, you're wrong. It seems to be a
common myth that you need an object-oriented language to implement
an object-oriented design and, although languages such as C++ and
Smalltalk provide many features that encourage this style of design,
you can benefit equally well from the use of objects in imperative
languages such as C. 

Tutaj jest ksiazka "Object Oriented programming in ANSI C"

http://www.planetpdf.com/codecuts/pdfs/ooc.pdf#search=%22object%20programming%20C%22

ta sama ksiazka jest tutaj (na stronei autora), w dziale "books". W
dziale "papers" sa publikacje

http://www.cs.rit.edu/~ats/

Technika bazuje na preprocesorze napisanym w Awku; kod mozna
sciagnac stad

http://www.cs.rit.edu/~ats/oop-2001-2/code/ooc/awk/

A.L.
Technical Details
Message-ID: <59s8f2t3n9tsmj43a4qkotqpucsm0t8odp@4ax.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!newspeer.tds.net!216.168.1.163.MISMATCH!sn-xt-sjc-03!sn-xt-sjc-01!sn-post-sjc-02!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail
References: <ed1p3b$ohb$1@atlantis.news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!newspeer.tds.net!216.168.1.163.MISMATCH!sn-xt-sjc-03!sn-xt-sjc-01!sn-post-sjc-02!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail
From: A.L. <alewando@fala2005.com>
Newsgroups: pl.comp.objects
Subject: Re: Projekt obiektowy do napisania w C
Date: Tue, 29 Aug 2006 12:14:00 -0500
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <59s8f2t3n9tsmj43a4qkotqpucsm0t8odp@4ax.com>
References: <ed1p3b$ohb$1@atlantis.news.tpi.pl>
X-Newsreader: Forte Agent 3.1/32.783
MIME-Version: 1.0
X-Complaints-To: abuse@supernews.com
Lines: 38
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit