Anonymous user
Talk:Sorting algorithms/Shell sort: Difference between revisions
Talk:Sorting algorithms/Shell sort (view source)
Revision as of 14:52, 6 February 2010
, 14 years agomoved Talk:Shell sort to Talk:Sorting algorithms/Shell sort
(Fortran question) |
m (moved Talk:Shell sort to Talk:Sorting algorithms/Shell sort) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 2:
DO i = increment+1, SIZE(a)
means? Could that be translated into C-style code? --[[User:Mwn3d|Mwn3d]] 08:34, 20 May 2008 (MDT)
Try
for (i=increment; i<=(Number of elements in array)-1; i++)
Note by default fortran arrays are 1 based while C arrays are 0 based
:That did it. Thanks. --[[User:Mwn3d|Mwn3d]] 11:32, 20 May 2008 (MDT)
|