Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.42!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!198.186.194.247.MISMATCH!news-out.readnews.com!transit3.readnews.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: Delete slot in the middle of an array and shift remaining Date: Fri, 25 Nov 2011 09:55:36 -0800 (PST) Organization: http://groups.google.com Lines: 28 Message-ID: <25747787.150.1322243736771.JavaMail.geo-discussion-forums@prfi36> References: <4ecf7078$0$6582$9b4e6d93@newsspool3.arcor-online.net> <20684688.629.1322220072927.JavaMail.geo-discussion-forums@prnh1> Reply-To: comp.lang.java.programmer@googlegroups.com NNTP-Posting-Host: 173.164.137.214 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1322243737 32422 127.0.0.1 (25 Nov 2011 17:55:37 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 25 Nov 2011 17:55:37 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=173.164.137.214; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T User-Agent: G2/1.0 X-Google-Web-Client: true Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:10227 Magnus Warker wrote: > Lew wrote: >> Sven Fischer wrote: >> You should post complete, compilable code in the future. See http://ssc= ce.org/ >=20 > Why? He asked for an algorithm. He posted completely uncompilable code fragments, thus clearly evidencing t= hat his problems were deeper-rooted than simple algorithm advice could help= . The grasp of fundamentals is a prerequisite for any advice to actually h= elp. Preparing an SSCCE would force the OP to confront the manifold proble= ms in their code, problems that would make their code useless no matter how= good the algorithm, and solve them early. This will benefit the OP far mo= re than answering only the question they asked and leaving them hanging wit= h their deeper problems. Tell you what, Magnus, why don't *you* navigate to the link and read it? I= t explains there the usefulness of the SSCCE. You could have saved yoursel= f some time and gotten some good information while you were at it if you'd = gone there first. It's really good, useful stuff, I promise, or I wouldn't= have shared it. You *do* want to help the OP, don't you? --=20 Lew