zipcode selection sort in MR C
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 17 articles for 0.008 sec
zipcode selection sort in MR&C     

Group: comp.lang.fortran · Group Profile · Search for zipcode selection sort in MR C in comp.lang.fortran
Author: Ron Ford
Date: Aug 19, 2008 17:17

... don't know how to sort using a compiled computer syntax ... in §10 MR&C. I think this is an example of ...Please punish the aggressors. module sort implicit none private public :: selection_sort...This is the exact sort in MR&C. program zippy use...n)) write(3, '(//a)') 'after sorting' do i = 1, n write...10080 Output.txt is: after sorting 99 0 I'm looking...
Show full article (3.17Kb)
Re: zipcode selection sort in MR&C     

Group: comp.lang.fortran · Group Profile · Search for zipcode selection sort in MR C in comp.lang.fortran
Author: Ron Ford
Date: Aug 27, 2008 20:31

... I've had some time now to look at this sort and figure out what it is doing. With integers... end; it decrements the size and true to its "recursive" descriptor, calls itself. Yes, selection sort shouldn't be implemented with recursion, and especially not passing a copy of (part of...Is it as simple as 99 high? I executed the sort with 500,000 instead of 50,000 elements. It ...
Show full article (3.13Kb) · Show article thread
Re: zipcode selection sort in MR&C     

Group: comp.lang.fortran · Group Profile · Search for zipcode selection sort in MR C in comp.lang.fortran
Author: glen herrmannsfeldt
Date: Aug 27, 2008 04:44

...> I've had some time now to look at this sort and figure out what it is doing. With integers ...the end; it decrements the size and true to its "recursive" descriptor, calls itself. Yes, selection sort shouldn't be implemented with recursion, and especially not passing a copy of (part of... Is it as simple as 99 high? I executed the sort with 500,000 instead of 50,000 elements. It went...
Show full article (1.36Kb) · Show article thread
Re: zipcode selection sort in MR&C     

Group: comp.lang.fortran · Group Profile · Search for zipcode selection sort in MR C in comp.lang.fortran
Author: Ron Ford
Date: Aug 23, 2008 18:12

... not to pursue it to it's algorithmic end. I've had some time now to look at this sort and figure out what it is doing. With integers populating the array, it tells maxlox to find the ...it executes, if the fortran implementation uses a stack. Is it as simple as 99 high? I executed the sort with 500,000 instead of 50,000 elements. It went from taking fifteen seconds to taking a half hour...
Show full article (1.75Kb) · Show article thread
Re: zipcode selection sort in MR&C     

Group: comp.lang.fortran · Group Profile · Search for zipcode selection sort in MR C in comp.lang.fortran
Author: e p chandler
Date: Aug 21, 2008 17:13

... charm, Elliot, thanks. I've got one last thing I wanted to try with the zipcode sort for right now.  I thought I might write the city state and zip on one line, as is... .... and learn from them :-).  Please take a look at my integer sort thread now that I'll try to sort something else. OK. I'm not finding it difficult at all to jump back and forth ...
Show full article (2.89Kb) · Show article thread
Re: zipcode selection sort in MR&C     

Group: comp.lang.fortran · Group Profile · Search for zipcode selection sort in MR C in comp.lang.fortran
Author: Ron Ford
Date: Aug 21, 2008 15:44

... a charm, Elliot, thanks. I've got one last thing I wanted to try with the zipcode sort for right now. I thought I might write the city state and zip on one line, as ... a continuing learner, appreciate. Please take a look at my integer sort thread now that I'll try to sort something else. -- When a new source of taxation is found it never means, in practice,...
Show full article (1.60Kb) · Show article thread
Re: zipcode selection sort in MR&C     

Group: comp.lang.fortran · Group Profile · Search for zipcode selection sort in MR C in comp.lang.fortran
Author: e p chandler
Date: Aug 20, 2008 19:19

...85250 Program text: program zippy   use sort   implicit none   integer, parameter  :: array_size = 100...data_array(1:n))   write(3, '(//a)') 'after sorting'   do i = 1, n     write (3,...about something like this? program zippy use sort implicit none integer, parameter :: array_size = ...(1:n)) write(3, '(//a)') 'after sorting' do i = 1, n write (3...
Show full article (2.20Kb) · Show article thread
Re: zipcode selection sort in MR&C     

Group: comp.lang.fortran · Group Profile · Search for zipcode selection sort in MR C in comp.lang.fortran
Author: Ron Ford
Date: Aug 20, 2008 17:58

...state and zip code on the next line. C has a format specifier that will allow reading...100 Trump Plaza New York, NY 10080 after sorting Donald Trump 100 Trump Plaza New York, ...0 If zippy is now: program zippy use sort implicit none integer, parameter :: array_size = 100 ...(data_array(1:n)) write(3, '(//a)') 'after sorting' do i = 1, n write (3, ...
Show full article (2.39Kb) · Show article thread
Re: zipcode selection sort in MR&C     

Group: comp.lang.fortran · Group Profile · Search for zipcode selection sort in MR C in comp.lang.fortran
Author: glen herrmannsfeldt
Date: Aug 19, 2008 22:03

Ron Ford wrote: (snip) Donald Trump 100 Trump Plaza New York, NY 10080 (snip) The read should read: read (2, '(a/a/a/a2,i8)',end=10) data_array(i) and then put the state and zip code on the next line. C has a format specifier that will allow reading up until some set of characters appears to end on the comma. -- glen
Show full article (0.35Kb) · Show article thread
Re: zipcode selection sort in MR&C     

Group: comp.lang.fortran · Group Profile · Search for zipcode selection sort in MR C in comp.lang.fortran
Author: glen herrmannsfeldt
Date: Aug 19, 2008 19:06

... Ev Bayh 1016 Humdity Bath Indianapolis, IN 47250 Cindy McCain 1000 Richie Rich Scottsdale, AZ 85250 Diane Feinstein 250 Harvey Milk Circle San Fransisco, CA 96580 Tim Pawlenty 500 Olson way St. Paul, MN 56674 Donald Trump 100 Trump Plaza New York, NY 10080 Output.txt is: after sorting 99 0 -- glen
Show full article (0.97Kb) · Show article thread
1 · 2 · next