Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.sys.apple2.programmer > #6286

Re: malloc with cc65

Path csiph.com!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Bill Chatfield <bill_chatfield@yahoo.com>
Newsgroups comp.sys.apple2.programmer
Subject Re: malloc with cc65
Date Wed, 20 Dec 2023 10:52:00 -0500
Organization A noiseless patient Spider
Lines 11
Message-ID <20231220105200.7f518465@smilodon-gracilis> (permalink)
References <20231214135300.3f65fe0f@smilodon-gracilis> <ulfvsv$2pb5c$1@solani.org> <20231214215955.353cd4e4@smilodon-gracilis> <ulirs5$4fr4$1@solani.org> <20231218005802.24df6e51@smilodon-gracilis> <ulq7su$3g1p$1@solani.org>
MIME-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
Injection-Info dont-email.me; posting-host="9b2880d7e63b2832624c336dc274125a"; logging-data="659386"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18nCJFEWhSDBJlCxoOj7HbConJxuphsDZU="
Cancel-Lock sha1:GiOrpKD7+NnWJYcd54we9gUrh2M=
X-Newsreader Claws Mail 4.1.1 (GTK 3.24.38; x86_64-redhat-linux-gnu)
Xref csiph.com comp.sys.apple2.programmer:6286

Show key headers only | View raw


On Mon, 18 Dec 2023 19:51:58 -0000 (UTC)
Oliver Schmidt <ol.sc@web.de> wrote:

> No, the syntax above isn't for assigning a value to a pointer. It's
> for assigning a value to the address the pointer points to.

OMG, it's been too long since I've written C code. Of, course you're
right and I knew that. The overloading of the * operator in one place
to define a pointer and in another place, the exact opposite, to access
the data pointed to by a pointer, has always perplexed me.

Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

malloc with cc65 Bill Chatfield <bill_chatfield@yahoo.com> - 2023-12-14 13:53 -0500
  Re: malloc with cc65 Oliver Schmidt <ol.sc@web.de> - 2023-12-14 22:34 +0000
    Re: malloc with cc65 Bill Chatfield <bill_chatfield@yahoo.com> - 2023-12-14 21:59 -0500
      Re: malloc with cc65 Oliver Schmidt <ol.sc@web.de> - 2023-12-16 00:43 +0000
        Re: malloc with cc65 Bill Chatfield <bill_chatfield@yahoo.com> - 2023-12-18 00:58 -0500
          Re: malloc with cc65 Oliver Schmidt <ol.sc@web.de> - 2023-12-18 19:51 +0000
            Re: malloc with cc65 Bill Chatfield <bill_chatfield@yahoo.com> - 2023-12-20 10:52 -0500
              Re: malloc with cc65 Peter 'Shaggy' Haywood <phaywood@alphalink.com.au> - 2023-12-27 10:00 +1100
                Re: malloc with cc65 Bill Chatfield <bill_chatfield@yahoo.com> - 2023-12-31 11:58 -0500
                Re: malloc with cc65 Peter 'Shaggy' Haywood <phaywood@alphalink.com.au> - 2024-01-03 19:05 +1100
        Re: malloc with cc65 Colin Leroy-Mira <colin@colino.net> - 2024-02-01 21:54 +0100

csiph-web