Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #163263
| From | Tim Rentsch <tr.17687@z991.linuxsc.com> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: on confusing procedure names with the address of procedures |
| Date | 2021-10-29 18:33 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <86fssje1p7.fsf@linuxsc.com> (permalink) |
| References | <86bl37e49v.fsf@levado.to> |
Meredith Montgomery <mmontgomery@levado.to> writes:
> I wrote
>
> [..various confusions..]
I recommend:
One: get in the habit of running gcc in a conforming mode -
gcc -x c -std=c99 -pedantic-errors <whatever>.c
Two: get a copy of the C standard (or a close approximation thereto)
wget http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf
(This link is for a corrected draft of C99. It isn't the latest
version of C but for starters it is an excellent reference.)
Three: read section 6.3.2.1 paragraphs 1, 3, and 4.
Four: read section 6.5.3.2
Five: after reading the above and looking again at your code,
if you are still confused ask another question here.
Six: in general, if there is ever a question or confusion you
have about C, first try to find the answer yourself in the
document whose link is given above. If you feel you still
need help then ask in the newsgroup here.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
on confusing procedure names with the address of procedures Meredith Montgomery <mmontgomery@levado.to> - 2021-10-29 21:37 -0300
Re: on confusing procedure names with the address of procedures Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2021-10-29 18:29 -0700
Re: on confusing procedure names with the address of procedures Tim Rentsch <tr.17687@z991.linuxsc.com> - 2021-10-29 18:33 -0700
Re: on confusing procedure names with the address of procedures Manfred <noname@add.invalid> - 2021-10-30 05:32 +0200
Re: on confusing procedure names with the address of procedures James Kuyper <jameskuyper@alumni.caltech.edu> - 2021-10-30 01:26 -0400
Re: on confusing procedure names with the address of procedures Manfred <noname@add.invalid> - 2021-10-30 19:05 +0200
Re: on confusing procedure names with the address of procedures James Kuyper <jameskuyper@alumni.caltech.edu> - 2021-10-30 15:17 -0400
Re: on confusing procedure names with the address of procedures Bart <bc@freeuk.com> - 2021-10-30 11:36 +0100
Re: on confusing procedure names with the address of procedures Noob <root@127.0.0.1> - 2021-11-01 13:03 +0100
csiph-web