Re: int pointers & characters !!
- From: TonyMc <afmcc@xxxxxxxxxxxxxx>
- Date: Fri, 13 Mar 2009 16:09:39 +0000
Is the following allowed in C ?
Karthik,
all of your questions in comp.lang.c seem to come down to an attempt to
explore the /terra incognita/ that lies outside the standard. This is
like being given a map of a swamp, complete with safe pathways through
the mire, and then pestering others with questions like "Well, what
would happen if I stepped off the path onto *that* bit of (seemingly
solid) turf?"
If you are really interested in writing standard C, why don't you just
read a good text book and the ISO standard? And if you are not
interested in standard C, why don't you just try it, or perhaps read the
documentation for your particular compiler? As far as possible, try to
program in ISO standard C until you come across a situation that
requires using functions/libraries specific to your platform and
compiler, in which case use them and read their documentation. Forget
about undefined behaviour (except that there is such a thing) and learn
to use what is well defined.
Tony
P.S. Oh, and please go easy on the exclamation marks.
.
- References:
- int pointers & characters !!
- From: karthikbalaguru
- int pointers & characters !!
- Prev by Date: Re: Help on Mistake With Function Pointers
- Next by Date: Re: Help on Mistake With Function Pointers
- Previous by thread: Re: int pointers & characters !!
- Next by thread: Re: int pointers & characters !!
- Index(es):
Relevant Pages
|