Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #10227

Re: Delete slot in the middle of an array and shift remaining

From Lew <lewbloch@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Delete slot in the middle of an array and shift remaining
Date 2011-11-25 09:55 -0800
Organization http://groups.google.com
Message-ID <25747787.150.1322243736771.JavaMail.geo-discussion-forums@prfi36> (permalink)
References <4ecf7078$0$6582$9b4e6d93@newsspool3.arcor-online.net> <20684688.629.1322220072927.JavaMail.geo-discussion-forums@prnh1> <jaok2t$vrs$1@news.m-online.net>

Show all headers | View raw


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.

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.

You *do* want to help the OP, don't you?

-- 
Lew

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Delete slot in the middle of an array and shift remaining Svenfischer2@email.com (Sven Fischer) - 2011-11-25 10:39 +0000
  Re: Delete slot in the middle of an array and shift remaining Lew <lewbloch@gmail.com> - 2011-11-25 03:21 -0800
    Re: Delete slot in the middle of an array and shift remaining Magnus Warker <magnux@mailinator.com> - 2011-11-25 18:44 +0100
      Re: Delete slot in the middle of an array and shift remaining Lew <lewbloch@gmail.com> - 2011-11-25 09:55 -0800
        Re: Delete slot in the middle of an array and shift remaining Arne Vajhøj <arne@vajhoej.dk> - 2011-11-25 21:22 -0500
          Re: Delete slot in the middle of an array and shift remaining Sven Fischer <svenfischer2@email.com> - 2011-11-26 13:48 +0100
            Re: Delete slot in the middle of an array and shift remaining Gene Wirchenko <genew@ocis.net> - 2011-11-26 21:25 -0800
      Re: Delete slot in the middle of an array and shift remaining Patricia Shanahan <pats@acm.org> - 2011-11-25 10:17 -0800
        Re: Delete slot in the middle of an array and shift remaining markspace <-@.> - 2011-11-25 10:24 -0800
        Re: Delete slot in the middle of an array and shift remaining Lew <lewbloch@gmail.com> - 2011-11-25 11:26 -0800
          Re: Delete slot in the middle of an array and shift remaining Arne Vajhøj <arne@vajhoej.dk> - 2011-11-25 21:17 -0500
        Re: Delete slot in the middle of an array and shift remaining Roedy Green <see_website@mindprod.com.invalid> - 2011-11-25 14:15 -0800
  Re: Delete slot in the middle of an array and shift remaining Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-11-25 08:08 -0500
  Re: Delete slot in the middle of an array and shift remaining markspace <-@.> - 2011-11-25 07:39 -0800
  Re: Delete slot in the middle of an array and shift remaining Roedy Green <see_website@mindprod.com.invalid> - 2011-11-25 13:35 -0800
  Re: Delete slot in the middle of an array and shift remaining Arne Vajhøj <arne@vajhoej.dk> - 2011-11-25 21:16 -0500

csiph-web