cvs.gedasymbols.org/archives/browse.cgi | search |
From: | Endlisnis <s257m AT unb DOT ca> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: 2 quick questions |
Date: | Mon, 17 Aug 1998 14:39:07 -0300 |
Organization: | NBTel Internet |
Lines: | 24 |
Message-ID: | <35D86ABB.B54ACD53@unb.ca> |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 980816120202 DOT 6981e-100000 AT is> |
NNTP-Posting-Host: | fctnts11c10.nbnet.nb.ca |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Eli Zaretskii wrote: > On Fri, 14 Aug 1998, Bjorn Hansen wrote: > > > int i; > > int *ip; > > ip=(int *)i; > > You probably mean to say this: > *ip = i; Even that will end up writing to a [effectively] random location in memory. I would think he meant: ip = &i; -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT GeoCities DOT com Endlis AT nbnet DOT nb DOT ca
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |