Article View: pl.comp.lang.c
Article #591Re: Lvalue required
From: Yossarian
Date: Thu, 08 Jan 1998 15:56
Date: Thu, 08 Jan 1998 15:56
17 lines
950 bytes
950 bytes
On Wed, 7 Jan 1998 17:41:18 +0100, "Tomasz Cichacki"
<hermes@venus.wmid.edu.pl> wrote:
>void main(void)
>{
> char x[5] = "abcd"; // - Lvalue required
> d1.ind = x;
^^^^^^^^^^^
uzyj strcpy(d1.ind,x)
albo memcpy, jezeli chcesz kopiowac znaki o kodzie ASCII 0
Jarek Woloszyn
ysr@kki.net.pl
http://free.polbox.pl/w/woljar
UIN: 1922941
Technical Details
Message-ID:
<34b3b72e.765680@news.ict.pwr.wroc.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!ict.pwr.wroc.pl!not-for-mailReferences:
<690be3$rs8$3@sunsite.icm.edu.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!ict.pwr.wroc.pl!not-for-mail From: ysr@kki.net.pl (Yossarian) Newsgroups: pl.comp.lang.c Subject: Re: Lvalue required Date: Thu, 08 Jan 1998 15:56:23 GMT Organization: Technical University of Wroclaw, Poland Lines: 17 Message-ID: <34b3b72e.765680@news.ict.pwr.wroc.pl> References: <690be3$rs8$3@sunsite.icm.edu.pl> Reply-To: ysr@kki.net.pl NNTP-Posting-Host: rap-cen207.opole.tpnet.pl Mime-Version: 1.0 X-Newsreader: Forte Agent 1.5/32.452 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit