Re: OPTION TO OVERWRITE CONSTANT VARIABLE(STRING) IN C (VC++ IDE)
From: Ramaraj M Bijur (rmbijur_at_yahoomail.com)
Date: 04/19/04
- Next message: Alex: "Re: Interval calculation"
- Previous message: berthelot samuel: "Re: memory allocation nightmare"
- In reply to: Joona I Palaste: "Re: OPTION TO OVERWRITE CONSTANT VARIABLE(STRING) IN C (VC++ IDE)"
- Next in thread: Serve Laurijssen: "Re: OPTION TO OVERWRITE CONSTANT VARIABLE(STRING) IN C (VC++ IDE)"
- Reply: Serve Laurijssen: "Re: OPTION TO OVERWRITE CONSTANT VARIABLE(STRING) IN C (VC++ IDE)"
- Reply: Joona I Palaste: "Re: OPTION TO OVERWRITE CONSTANT VARIABLE(STRING) IN C (VC++ IDE)"
- Reply: Christopher Benson-Manica: "Re: OPTION TO OVERWRITE CONSTANT VARIABLE(STRING) IN C (VC++ IDE)"
- Reply: Christian Bau: "Re: OPTION TO OVERWRITE CONSTANT VARIABLE(STRING) IN C (VC++ IDE)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Alex: "Re: Interval calculation"
- Previous message: berthelot samuel: "Re: memory allocation nightmare"
- In reply to: Joona I Palaste: "Re: OPTION TO OVERWRITE CONSTANT VARIABLE(STRING) IN C (VC++ IDE)"
- Next in thread: Serve Laurijssen: "Re: OPTION TO OVERWRITE CONSTANT VARIABLE(STRING) IN C (VC++ IDE)"
- Reply: Serve Laurijssen: "Re: OPTION TO OVERWRITE CONSTANT VARIABLE(STRING) IN C (VC++ IDE)"
- Reply: Joona I Palaste: "Re: OPTION TO OVERWRITE CONSTANT VARIABLE(STRING) IN C (VC++ IDE)"
- Reply: Christopher Benson-Manica: "Re: OPTION TO OVERWRITE CONSTANT VARIABLE(STRING) IN C (VC++ IDE)"
- Reply: Christian Bau: "Re: OPTION TO OVERWRITE CONSTANT VARIABLE(STRING) IN C (VC++ IDE)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|