realbasic-nug
[Top] [All Lists]

Re: "You're not going to learn how to program in BASIC any more"

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: "You're not going to learn how to program in BASIC any more"
From: Will Leshner <will at haranbanjo dot com>
Date: Fri, 30 Sep 2005 10:37:05 -0700
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=hXpho1INwGXzn8yk35ZnAwNju3e/BXPkFzcRMig2accRws0QCIFr+Aa38wq9+LaIvE5V0l2CawakqdezBq7XMP6WPZ4RuRlyNXCeepkZs+gzi4c9R7FURmPkXlaNyMUsO+GB4vq1BFGE8kv5Dhsg5ayVWye+VVpxZcRQ3OsOdWo=
References: <20050930142614 dot C65A0DDD465 at lists dot realsoftware dot com> <433D5E28 dot 1090302 at wanadoo dot fr> <70af859d6b5bbb44e39f618e4646a05a at mac dot com> <D12CC48E-26B5-454F-9882-482ECC9BF037 at haranbanjo dot com> <76d2aeb6e418df81da555049b0f028dc at mac dot com>

On Sep 30, 2005, at 10:01 AM, Alex Lindsay wrote:

The point is now the two items are logically different, a pointer to an int or an array of ints


Ok, again this is for the benefit of our listeners, but (and this is more a general C thing than anything specific to C++) pointers and arrays are really just two ways to say the same thing in C. In fact, I'd go so far as to say that array notation is just syntactic sugar for pointers. I would expect that most compilers would generate the same code for both.

--
REALbasic news and tips: http://rbgazette.com
KidzMail & KidzLog: http://haranbanjo.com


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>