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


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

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

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 <svenfischer2@email.com>
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> (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> <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<OcfhCO[OSceCG?gWKQIM9M0L66@3ZOERQ<XVjYNX5SOg34kabkV
X-Complaints-To usenet-abuse@arcor.de
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:10266

Show key headers only | View raw


Thank you Arne. This is my opinion as well.

I have sometimes a problem which is in reality a complex problem and a
code of many ,many lines.
In order to offer users only the core problem I simplify heavily the
code.

So mistake could occur.

Accordingly I expect as solution no runnable code but an idea.
This is sufficient.
Thank you for your other suggestions.
Sven

On Fri, 25 Nov 2011 21:22:37 -0500, Arne Vajhøj <arne@vajhoej.dk>
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

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