Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #8345

Re: assign string to chr*

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c++
Subject Re: assign string to chr*
Date Sun, 31 Jul 2011 10:35:17 +1200
Lines 10
Message-ID <99jf95F194U1@mid.individual.net> (permalink)
References <f1a1a754-4b33-4c69-9ed4-73ab46c07bb7@d8g2000prf.googlegroups.com> <234c1699-d7b4-4f35-930b-ae6a1790d6ec@glegroupsg2000goo.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net 2ImKzm4FiMckEWnnXdKlmQqkogFtKqcVPsX2BPyrra+3ZqhiMA
Cancel-Lock sha1:HiMh734qUPdQdytL6WKsb5uOz5I=
User-Agent Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.9) Gecko/20101021 Lightning/1.0b2 Thunderbird/3.1.4
In-Reply-To <234c1699-d7b4-4f35-930b-ae6a1790d6ec@glegroupsg2000goo.googlegroups.com>
Xref x330-a1.tempe.blueboxinc.net comp.lang.c++:8345

Show key headers only | View raw


On 07/31/11 10:11 AM, Sasha Daje wrote:

Context?

> test = (char*)"BLABLA";

No you don't want to do that if test is a char*.

-- 
Ian Collins

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

assign string to chr* cerr <ron.eggler@gmail.com> - 2011-07-28 19:50 -0700
  Re: assign string to chr* Ian Collins <ian-news@hotmail.com> - 2011-07-29 15:12 +1200
  Re: assign string to chr* Juha Nieminen <nospam@thanks.invalid> - 2011-07-29 06:09 +0000
  Re: assign string to chr* MJ_India <mail.mohitjain@gmail.com> - 2011-07-29 23:30 -0700
  Re: assign string to chr* Sasha Daje <sasha.daje@gmail.com> - 2011-07-30 15:11 -0700
    Re: assign string to chr* Ian Collins <ian-news@hotmail.com> - 2011-07-31 10:35 +1200
      Re: assign string to chr* James Kanze <james.kanze@gmail.com> - 2011-08-07 10:30 -0700
        Re: assign string to chr* Ian Collins <ian-news@hotmail.com> - 2011-08-08 07:39 +1200
  Re: assign string to chr* "xieyuntian" <xieyuntian1981@sohu.com> - 2011-08-02 17:37 +0800
  Re: assign string to chr* SG <s.gesemann@gmail.invalid> - 2011-08-09 11:36 +0200

csiph-web