Article View: pl.comp.lang.c
Article #309786Re: Standardy języka C
From: Mateusz Viste
Date: Tue, 01 Jan 2019 08:50
Date: Tue, 01 Jan 2019 08:50
18 lines
1415 bytes
1415 bytes
On Tue, 01 Jan 2019 04:53:46 +0100, Borneq wrote:
> Krótko, gwoli przypomnienia:
> jak nazywał się standard C, w którym dla parametrów nie podawano typów
> od razu, tylko potem:
> Static int readrc(rcname, need)
> char *rcname;
> int need;
> {
> ...
> }
> a jak nazywa się Static int readrc(char *rcname, int need){...}
>
> czy pierwszy to AnsiC a drugi C99?
To było "K&R" C, tj. pierwotna forma języka, którą wymyślili Kernighan i
Ritchie. Standard ANSI C (czyli C89) już miał normalne parametry funkcji.
Mateusz
Technical Details
Message-ID:
<5c2b29d3$0$11070$426a74cc@news.free.fr>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!weretis.net!feeder7.news.weretis.net!proxad.net!feeder1-2.proxad.net!cleanfeed2-a.proxad.net!nnrp4-2.free.fr!not-for-mailReferences:
<q0eo8b$4ja$1@node1.news.atman.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!weretis.net!feeder7.news.weretis.net!proxad.net!feeder1-2.proxad.net!cleanfeed2-a.proxad.net!nnrp4-2.free.fr!not-for-mail From: Mateusz Viste <mateusz@wont.tell> Subject: Re: Standardy języka C Newsgroups: pl.comp.lang.c References: <q0eo8b$4ja$1@node1.news.atman.pl> User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) MIME-Version: 1.0 Date: 01 Jan 2019 08:50:27 GMT Lines: 18 Message-ID: <5c2b29d3$0$11070$426a74cc@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 01 Jan 2019 09:50:27 CET NNTP-Posting-Host: 82.64.0.151 X-Trace: 1546332627 news-1.free.fr 11070 82.64.0.151:44504 X-Complaints-To: abuse@proxad.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit