Re: String reversing problem



tmp123 said:

> Thanks for the explanation.
>
> I do not know any compiler nor OS with problems for this pointer

The backroom boys are working on one right now, for all you know. And it
might just be tomorrow's sensational new toy for other, unrelated reasons.
And your boss might just say, "let's migrate all our code to this new
thing", as bosses often do. And at that point, the guys who stuck to the
rules will have working code, and the guys who didn't, won't.

So it pays to do things properly.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
.



Relevant Pages

  • Re: help w/ vector subscript expressions
    ... So I installed g95, got it working and it gave me the following results ... with previously working code (w/ another compiler) ... ... Inconsistent ranks for operator at and ...
    (comp.lang.fortran)
  • Re: Any way to take a word as input from stdin ?
    ... Fixing those gives working code: ... if(ch!= EOF) ... which gives single pointer and has 2 benefits: ... We can manipulate that single pointer easily without any ambiguous ...
    (comp.lang.c)
  • Re: Nested Casts
    ... >up the old pointer to mean something new, in this case also a pointer. ... term "red flag", too. ... one for wstring items was a little more trouble. ... I have working code, ...
    (alt.comp.lang.learn.c-cpp)
  • Re: GCC 2.96 and "-march=i686"
    ... Reason may be bug in your code, or in compiler, ... JH> Still your extrasensoric abilities seem to work well enough to determine ... as to say compiler can produce working code and have no large problems. ...
    (comp.unix.programmer)
  • Re: Any way to take a word as input from stdin ?
    ... Fixing those gives working code: ... size_t idx = 0; ... int idx; ... space which we will assign to a pointer. ...
    (comp.lang.c)