Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 01 Jun 2011 14:16:12 -0500 From: Pete Becker Organization: Roundhouse Consulting, Ltd. Newsgroups: comp.lang.c++ Date: Wed, 1 Jun 2011 09:16:12 -1000 Message-ID: <2011060109161295883-pete@versatilecodingcom> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: Problem with array objects User-Agent: Unison/2.1.4 Lines: 15 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-7wN8ulT6+HEhounw0i0SSM6AoA6jwUXxnPOTJHpN9uaSCGdu1KQBGNOiap1ZFvpTyQ/d/aLt3YHr9VF!a7QbOas1I7aFVsOEAx9dFyWS0NAdJ9EWrHydqjHa7Jw34+b/TA7SsWhXVlNh2hq3IBr2KpQ= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1668 Xref: x330-a1.tempe.blueboxinc.net comp.lang.c++:5991 On 2011-05-31 23:23:15 -1000, Paul said: > If a pointer points-to the first element of an array, it points to the array. > An int* can be null, point to an int or point to an array of ints. No, an int* cannot point to an array of ints. They have different types. An int* points to an int. That int can be an element of an array (or even one past the end of an array). -- Pete Roundhouse Consulting, Ltd. (www.versatilecoding.com) Author of "The Standard C++ Library Extensions: a Tutorial and Reference (www.petebecker.com/tr1book)