Re: OPTION TO OVERWRITE CONSTANT VARIABLE(STRING) IN C (VC++ IDE)

From: Ramaraj M Bijur (rmbijur_at_yahoomail.com)
Date: 04/19/04


Date: Mon, 19 Apr 2004 16:10:49 +0530

Hi ,
I don't know ISO C standard so what u said is right accroding to the ISO C
standard but I am working on WINDOWS / VC++ IDE , I know we can change the
charcter in constant string in VC++ by setting the option available in
workplace/project(.dsw/.dsp), alteration of constant string in VC++
environment was allowed and also most of the embbeded C/C++ compiler will
allows becoz I saw in 3 embedded C compiler.

I need one favour ..................where can i get the ISO C standard
preperaly free copy. can u send the link or copy of it.

many thnks
ramaraj

"Joona I Palaste" <palaste@cc.helsinki.fi> wrote in message
news:c6090c$d3m$2@oravannahka.helsinki.fi...
> Ramaraj M Bijur <rmbijur@yahoomail.com> scribbled the following:
> > Hi JIP,
> > Thank u for replying, Waht u said is logically right still we can do
this
> > without any unexpected behavaiour
> > we know the constant thing are storing in readonly section it may be in
code
> > or readonly data segment.
>
> The ISO C standard has no concept of "code segments" or "data segments".
> They are OS-specific concepts.
>
> > Most of the compiler having a option to overwite these data without any
> > crash and unexpected behavoiur.
>
> > GCC compiler having the option -fwrite-strings, u can try for the
> > confirmatiion.
>
> Those options are non-standard features and thus off-topic here.
>
> --
> /-- Joona Palaste (palaste@cc.helsinki.fi) ------------- Finland --------\
> \-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
> "'It can be easily shown that' means 'I saw a proof of this once (which I
didn't
> understand) which I can no longer remember'."
> - A maths teacher



Relevant Pages

  • Re: help me learn C
    ... I have been on here over 14 years but a member of the ISO C panel for ... If you want to discuss ISO C there is Comp.std.c ... OS or a compiler etc there are specific groups for that. ... that is only used in the standard, but virtually no where else, to ...
    (comp.lang.c)
  • Re: PL/I ISO Standard
    ... IBM mainframe Pl/I compiler conforms to the ISO 1992 Standard (referenced ... I fully agree with the fact that IBM had implementations ...
    (comp.lang.pl1)
  • Re: C to Java Byte Code
    ... Can you please provide a reference from the standard for this claim. ... e.g no support for typical doubles as just one example. ... This specific compiler is not 100% ISO C compliant, ...
    (comp.lang.c)
  • Re: Current test version of Chess 0.5
    ... you can pick any other compiler (ISO or not) on a given ... platform, you won't have much problems, when not, then good luck, ... they'd either omit this part of the standard or simply ...
    (comp.lang.pascal.misc)
  • Re: Is C99 the final C? (some suggestions)
    ... > that someone will try compile their stuff on an old compiler. ... > because the ANSI standard obsoleted them, and everyone picked up the ANSI ... fixed by using another language. ... >>are multiplying two expressions of the widest type supported by your ...
    (comp.lang.c)