Re: how to test this piece of C code
- From: Richard Heathfield <rjh@xxxxxxxxxxxxxxx>
- Date: Sat, 10 Mar 2007 14:29:46 +0000
subramanian100in@xxxxxxxxx, India said:
You have suggested to have MAX_BLOCK_LENGTH as #defined. I have a
question on this. If I declare it as a const size_t and initialize
with SIZE_MAX, won't it help in getting seen by the debugger or is
there any specific reason for using #define here ?
Whatever you think best. I know some people object to the use of the
preprocessor even for the simplest #defines, but I've never been one of
them.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
.
- References:
- how to test this piece of C code
- From: subramanian100in@xxxxxxxxx, India
- Re: how to test this piece of C code
- From: Richard Heathfield
- Re: how to test this piece of C code
- From: subramanian100in@xxxxxxxxx, India
- Re: how to test this piece of C code
- From: Randy Howard
- Re: how to test this piece of C code
- From: subramanian100in@xxxxxxxxx, India
- Re: how to test this piece of C code
- From: Richard Heathfield
- Re: how to test this piece of C code
- From: Randy Howard
- Re: how to test this piece of C code
- From: Richard Heathfield
- Re: how to test this piece of C code
- From: subramanian100in@xxxxxxxxx, India
- how to test this piece of C code
- Prev by Date: Re: Converting Numbers to Words in English by recursion.
- Next by Date: Re: how to test this piece of C code
- Previous by thread: Re: how to test this piece of C code
- Next by thread: Re: how to test this piece of C code
- Index(es):
Relevant Pages
|