Re: function -> macro
- From: Mark McIntyre <markmcintyre@xxxxxxxxxxx>
- Date: Sat, 16 Jun 2007 00:10:07 +0100
On Fri, 15 Jun 2007 21:46:47 +0200, in comp.lang.c , "Army1987"
<please.ask@xxxxxx> wrote:
"Mark McIntyre" <markmcintyre@xxxxxxxxxxx> ha scritto nel messaggio
news:ugd57396fd1v8qkce7l85pok5d2ebosoj0@xxxxxxxxxx
Remember, you're callling this via a macro.#include <errno.h>
#define factorial(n) \
(snip macro that could suck bowling balls through a drinking straw)
} while (0) /*I'm not saying that it doesn't suck...*/
*phew*
--
Mark McIntyre
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
.
- Follow-Ups:
- Re: function -> macro
- From: Army1987
- Re: function -> macro
- References:
- Function & header files
- From: Umesh
- Re: Function & header files
- From: Richard Heathfield
- Re: Function & header files
- From: mark_bluemel
- function -> macro
- From: Umesh
- Re: function -> macro
- From: pete
- Re: function -> macro
- From: Umesh
- Re: function -> macro
- From: Richard Heathfield
- Re: function -> macro
- From: Keith Thompson
- Re: function -> macro
- From: Army1987
- Re: function -> macro
- From: Mark McIntyre
- Re: function -> macro
- From: Army1987
- Function & header files
- Prev by Date: Re: [OT] Query:how to use windows api in my c source code?
- Next by Date: Re: structures and alignment issues
- Previous by thread: Re: function -> macro
- Next by thread: Re: function -> macro
- Index(es):
Relevant Pages
|