Uh...can anybody tell me where I can find the names and header files
for K&R C functions and libraries? I have my reasons.
|
|
0
|
|
|
|
Reply
|
maspethrose7 (119)
|
3/12/2010 4:44:35 PM |
|
In article <df3a1aac-ea58-45d9-bd57-76b633211816@g26g2000yqn.googlegroups.com>,
Harry Potter <maspethrose7@aol.com> wrote:
>Uh...can anybody tell me where I can find the names and header files
>for K&R C functions and libraries? I have my reasons.
The first edition of K&R should have the standard library functions
described within; the second edition does, but the second edition describes
C89 (aka ANSI C).
I don't know where you'd find header files, but it shouldn't be too
difficult to reconstruct them from the book.
_/_
/ v \ Scott Alfter (remove the obvious to send mail)
(IIGS( http://alfter.us/ Top-posting!
\_^_/ rm -rf /bin/laden >What's the most annoying thing on Usenet?
--- news://freenews.netfront.net/ - complaints: news@netfront.net ---
|
|
0
|
|
|
|
Reply
|
scott6 (352)
|
3/12/2010 5:08:48 PM
|
|
Scott Alfter wrote:
>
> The first edition of K&R should have the standard library functions
> described within; the second edition does, but the second edition
describes
> C89 (aka ANSI C).
>
> I don't know where you'd find header files, but it shouldn't be too
> difficult to reconstruct them from the book.
>
I have the 1st ed K&R C manual, and trying to reconstruct those libraries
based on the descriptions provided within would be absolutely heroic, to say
the least.
--
Mac GUI Vault - A source for retro Apple II and Macintosh
computing.
http://macgui.com/vault/
|
|
0
|
|
|
|
Reply
|
dog_cow (952)
|
3/12/2010 6:52:04 PM
|
|
On Mar 12, 11:44=A0am, Harry Potter <maspethro...@aol.com> wrote:
> Uh...can anybody tell me where I can find the names and header files
> for K&R C functions and libraries? =A0I have my reasons.
No, but you can start with a K&R C compiler, such as Manx Aztec.
It has header files included with the compiler.
--
Paul Santa-Maria
Maumee, Ohio USA
|
|
0
|
|
|
|
Reply
|
paulrsm
|
3/21/2010 11:55:53 PM
|
|
On Mar 21, 6:55=A0pm, paulrsm <paul....@att.net> wrote:
> On Mar 12, 11:44=A0am, Harry Potter <maspethro...@aol.com> wrote:
>
> > Uh...can anybody tell me where I can find the names and header files
> > for K&R C functions and libraries? =A0I have my reasons.
>
> No, but you can start with a K&R C compiler, such as Manx Aztec.
> It has header files included with the compiler.
>
> --
> Paul Santa-Maria
> Maumee, Ohio USA
Hi Paul,
FWIW the reasons I didn't suggest Aztec C to Joseph Rose are
several... the main one being that he diddled with Aztec C for Apple
II years back at my suggestion and never did much of anything with it
so I wasn't inclined to waste his valuable time further.
One other reason is because Aztec C 3.2b (assuming you didn't mean the
really old versions) and any other K & R compliant compiler will
generally offer much more than the minimum and so will its header
files which will also be implementation specific.
All of these extras could be quite confusing and might require many
more pointless questions before the thread fizzled into nowhere... not
that I'm being a pessimist... and of course people change every day so
perhaps Mr. Rose's behaviour will too this time around.
Also his question should have probably been asked in
comp.sys.apple2.programmer and should have been apple2 specific, but
that doesn't really matter at this point, unless he actually bothers
to read this thread after starting it...
Anyway,
Good Luck in Doing The Lord's Work:)
Bill
|
|
0
|
|
|
|
Reply
|
Bill
|
3/23/2010 12:34:22 AM
|
|
|
4 Replies
34 Views
(page loaded in 0.097 seconds)
Similiar Articles: run-time error with libCsup on HP-UX 11 - comp.sys.hp.hpux ...Hi, I'm working on a program which is linked against a third party library. My program is coded in C, and the third party library is in C++ (I think ... Random walk across array - comp.lang.cSo I'm going through K.N. King's C Programming: A Modern Approach, a book with which ... Include the time library */ > #include<time.h> > /* Include the standard C library ... itoa() in Linux - comp.unix.programmerI thought itoa is part of the standard C library, but on doing a "man itoa" it tells me no such man entry exists. But I could find atoi as part of the library. is programming becoming a low salary(low status) profession ...... and programming languages becoming easier, with ready made class libraries to use ... C FAQ: http://www.eskimo.com/~scs/C-faq/top.html K&R answers, C books, etc: http ... How do I show all compiler warnings with Sun Studio? - comp.unix ...... warning messages -xtransition Emit warnings for differences between K&R C and ... Hi All, When I try to link libraries built using gcc to an application being built ... Where did Fortran go? - comp.lang.fortran(While no one presents a K&R C code of 1978.) One problem is that ... not interoperate well with some of the commonly used standard libraries which are based on f77/C ... Neatest way to get the end pointer? - comp.lang.c... IN_ALPHABET]; .... or it might even be: int my_array[] = {b,c,d,f,g,h,j,k,l,m,n,p,q,r,s ... program that invokes printf() must be linked with the floating point library ... Getting rid of libstdc++? - comp.unix.programmerI had this crazy dream the other day... Imagine a static library written in C++ beeing deployed and used by many users who would have no problem linki... Matlab code for BICM - comp.soft-sys.matlab... K=Kk/k; M=(K-1)*k;mx=2^M; [n,l]=size(lambda1_1); c=ones(1,l); if flag==0; Ld_out=zeros(k,l ... DVB-S2) - comp.soft-sys.matlab I wrote a code using matlab library ... Awk Script with multiple condition... - comp.lang.awk... whose first record is between 50 and 375 and >second record starts with e-k or r-z. ... or one if test that has a long string of >> conditions ... Isn't including the ``library ... C (programming language) - Wikipedia, the free encyclopediaThe second edition of the book covers the later ANSI C standard. K&R introduced several language features: standard I/O library; long int data type; unsigned int data type The C Programming Language - Wikipedia, the free encyclopediaThe version of C described in this book is sometimes referred to as K&R C (after the ... Appendix B is a summary of the facilities of the standard library. It too is meant for ... 7/23/2012 1:41:35 AM
|