delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/03/01:04:02

From: George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
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

On Mon, 03 Nov 1997 03:38:06 +0000 in comp.os.msdos.djgpp John
M. Aldrich <fighteer AT cs DOT com> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019