X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "aveo" Newsgroups: comp.os.msdos.djgpp Subject: Re: pointers in Strucrure assignment problem Date: 7 Jul 2005 03:01:52 -0700 Organization: http://groups.google.com Lines: 11 Message-ID: <1120730512.270559.89950@o13g2000cwo.googlegroups.com> References: <1120713425 DOT 526371 DOT 222910 AT g47g2000cwa DOT googlegroups DOT com> <200507070533 DOT j675XMNZ030942 AT envy DOT delorie DOT com> NNTP-Posting-Host: 59.95.1.229 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1120730517 32336 127.0.0.1 (7 Jul 2005 10:01:57 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Thu, 7 Jul 2005 10:01:57 +0000 (UTC) In-Reply-To: <200507070533.j675XMNZ030942@envy.delorie.com> User-Agent: G2/0.2 Complaints-To: groups-abuse AT google DOT com Injection-Info: o13g2000cwo.googlegroups.com; posting-host=59.95.1.229; posting-account=JJCVog0AAADHxD7cpVHFH_Oih7K2jhME To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk DJ Delorie wrote: > > LD[i].LinePtr=""; > > This does NOT initialize your buffer with the given string. This > points your buffer *to* the given string. Since they all now point to > the same string... Yes, you are right.Please tell me the solution to solve this problem