From: George Foot Newsgroups: comp.os.msdos.djgpp Subject: Re: Source Code for memory functions. Date: 3 Nov 1997 05:08:49 GMT Organization: Oxford University, England Lines: 17 Message-ID: <63jm91$b24$2@news.ox.ac.uk> References: <345CA4C4 DOT 6A6F AT bergen DOT mail DOT telia DOT com> <345D471E DOT 5E90 AT cs DOT com> NNTP-Posting-Host: sable.ox.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Mon, 03 Nov 1997 03:38:06 +0000 in comp.os.msdos.djgpp John M. Aldrich wrote: [snip] : int *list1, *list2; [snip] : for ( i = 0; i < size; i++ ) : list1 + i = i; : /* list1[i] = i; */ [snip] I think you meant `*(list1 + i) = i;' :) -- Regards, george DOT foot AT merton DOT oxford DOT ac DOT uk