Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!feeder.erje.net!news.internetdienste.de!news.tu-darmstadt.de!news.belwue.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: Sven Fischer Newsgroups: comp.lang.java.programmer Subject: Re: Delete slot in the middle of an array and shift remaining Date: Sat, 26 Nov 2011 13:48:17 +0100 Message-ID: <1pn1d7tkruj39ii166cuce2r4qli1oolnk@4ax.com> References: <4ecf7078$0$6582$9b4e6d93@newsspool3.arcor-online.net> <20684688.629.1322220072927.JavaMail.geo-discussion-forums@prnh1> <25747787.150.1322243736771.JavaMail.geo-discussion-forums@prfi36> <4ed04d71$0$289$14726298@news.sunsite.dk> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Lines: 58 Organization: Arcor NNTP-Posting-Date: 26 Nov 2011 13:48:18 CET NNTP-Posting-Host: 5849994d.newsspool2.arcor-online.net X-Trace: DXC=4LI0QYi5^d^V0Pe9PRnbJ\A9EHlD;3YcR4Fo<]lROoRQ8kF wrote: >On 11/25/2011 12:55 PM, Lew wrote: >> Magnus Warker wrote: >>> Lew wrote: >>>> Sven Fischer wrote: >>>> You should post complete, compilable code in the future. See http://sscce.org/ >>> >>> Why? He asked for an algorithm. >> >> He posted completely uncompilable code fragments, thus clearly >> evidencing that his problems were deeper-rooted than simple algorithm >> advice could help. The grasp of fundamentals is a prerequisite for any >> advice to actually help. Preparing an SSCCE would force the OP to >> confront the manifold problems 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 more than answering only the >> question they asked and leaving them hanging with their deeper problems. > >There are no indications of OP having any fundamental problems. > >He posted a clear question. > >If you want to answer it, then feel free to do so. > >If you by principle don't want to answer questions if the post >contains uncompilable code, then feel free to no answer it. > >But please don't spam the group with SSCCE replies, if the question >is clear (or should be for any programmer). > >> Tell you what, Magnus, why don't *you* navigate to the link and read >> it? It explains there the usefulness of the SSCCE. You could have saved >> yourself 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. > >Why should he? > >He seems to be able to understand the question asked. > >Arne