MESSAGE
DATE | 2017-02-09 |
FROM | Ruben Safir
|
SUBJECT | Re: [Learn] Does this look like a Euler Path to you?
|
From learn-bounces-at-nylxs.com Thu Feb 9 23:59:03 2017 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www.mrbrklyn.com (www.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id 13D2E161312; Thu, 9 Feb 2017 23:59:03 -0500 (EST) X-Original-To: learn-at-nylxs.com Delivered-To: learn-at-nylxs.com Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mrbrklyn.com (Postfix) with ESMTP id 8A216160E77 for ; Thu, 9 Feb 2017 23:58:59 -0500 (EST) Received: from [10.0.0.62] (www.mrbrklyn.com [96.57.23.82]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4240313AF9 for ; Thu, 9 Feb 2017 23:58:59 -0500 (EST) To: learn-at-nylxs.com References: <28100c8f-84dd-5a9c-a0a7-dfd08d2cec11-at-mrbrklyn.com> From: Ruben Safir Message-ID: <87bef8c1-fe96-01d6-0cf2-d2fdaa95c11e-at-panix.com> Date: Thu, 9 Feb 2017 23:58:58 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Subject: Re: [Learn] Does this look like a Euler Path to you? X-BeenThere: learn-at-nylxs.com X-Mailman-Version: 2.1.17 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: learn-bounces-at-nylxs.com Sender: "Learn"
On 02/09/2017 11:48 PM, Christopher League wrote: > graph[x-1][y-1] ++; //this is undefined all together... > > Nothing wrong with that, certainly not undefined. C supports multi-dimensional arrays, and the syntax for accessing them is multiple pairs of brackets. Like single-dimensional arrays, elements accessed with brackets can be L-values. So you can increment them.
You really didn't think I didn't know you could increment 2d array values ;)
The problem is that it is declared but not defined.
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and and extermination camps, but incompatible with living as a free human being. -RI Safir 2013 _______________________________________________ Learn mailing list Learn-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/learn
|
|