From: "Erik Källén" Newsgroups: comp.os.ms-windows.programmer.win32,comp.os.msdos.djgpp Subject: Re: Copying whole arrays Date: Thu, 17 Jun 1999 13:09:49 +0200 Organization: Telenordia Lines: 21 Message-ID: <7kal16$5c6$1@zingo.tninet.se> References: NNTP-Posting-Host: sdu114-232.ppp.algonet.se X-Trace: zingo.tninet.se 929617766 5510 195.163.232.114 (17 Jun 1999 11:09:26 GMT) X-Complaints-To: abuse AT algo DOT net NNTP-Posting-Date: 17 Jun 1999 11:09:26 GMT X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Paul Richards skrev i meddelandet ... >Hi, >I'm moving over from DJGPP to MS VC++ 6 and I came across a small >problem. DJGPP accepts this: > >int a[20]; >int b[20]; >//...Do stuff... >a=b; > >But MSVC coughs up on the last line with this: >"error C2106: '=' : left operand must be l-value" > >Any ideas on how to fix it? For the moment I'm just replacing "a=b" >with a small loop to do the job. If DJGPP accepts this, it's a non-standard extension.