nfrost@watdcsu.UUCP (10/27/87)
Help! I'm having trouble with declarations in C. I've heard rumours that there is a document that contains a big collection of C declarations which I can use to figure things out. If anyone has it, please send it to STEVE on the node WATCSG (bitnet). Thanks! P.S.: Please do not reply directly to this account.
ftw@datacube.UUCP (10/29/87)
nfrost@watdcsu.UUCP writes: > Help! I'm having trouble with declarations in C. Not surprising. They can be, uh, terse ;-) <sentence deleted> Can you get comp.sources.misc? You might look in there for a program called "cdecl". cdecl is an interactive program that takes command of the form: explain char (*signal())() which would print the result: declare signal as function returning pointer to function returning char You could also type in the above response as a command to cdecl, and it will print out the corresponding C declaration. Some folks would be quick to point out that I have declared signal incorrectly. This is because the version of cdecl that I have doesn't yet understand void types. Cdecl is a wonderful program for learning to understand how to compose and decompose a C declaration. Send me E-mail if you can't get comp.sources.misc Farrell T. Woods Datacube Inc. Systems / Software Group 4 Dearborn Rd. Peabody, Ma 01960 VOICE: 617-535-6644; FAX: (617) 535-5643; TWX: (710) 347-0125 UUCP: ftw@datacube.COM, ihnp4!datacube!ftw {seismo,cbosgd,cuae2,mit-eddie}!mirror!datacube!ftw