Re: ordinate a sequences of number



....I want to organize all my numbers so that the first is the
smallest one and the last is the bigger one.
why do you say that I haven't yet read the elements from 2 to n?
I thought: I read n-1 elements and I compare the first elements with
successive one (j=2,n) and so on the second one with j=3,n, etc....
But the problem is that the program doesn't save the ordinate numbers
in the array pos(i).

.



Relevant Pages

  • Re: speeding up adjust-array?
    ... - Why does adjust-array take so long? ... For the ones that are bigger just how much bigger are they? ... Set a reasonable starting size that avoids the need for reallocation ... A good scheme in many cases is to double the size of the array each time. ...
    (comp.lang.lisp)
  • Re: divide and conquer
    ... > Please help me regarding a problem in Divide and conquer approach ... > in that array first N numbers are in sorted order.... ... Take a bigger step. ... Twice as big. ...
    (comp.programming)
  • Re: array notation
    ... bigger and better idiot-proof programs, and the Universe trying to produce ... bigger and better idiots. ... So far, the Universe is winning. ... > array with three elements. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: How to allocate memory in c#
    ... use a generic collection such as List. ... private BMyArray; ... I guess my code is wrong here, anyhow this is the functionality that I want.(being able to let the array grow bigger, define exactly how much bigger, and not to "lose" what I had before). ...
    (microsoft.public.dotnet.framework.windowsforms)
  • date query
    ... What i want to do is create a query that returns the lastest ... revision date + 90if that date is bigger than present date ... Prev by Date: ...
    (comp.databases.ms-access)