Author Topic: QB64SOURCECODE.COM  (Read 14302 times)

0 Members and 1 Guest are viewing this topic.

Offline TerryRitchie

  • Seasoned Forum Regular
  • Posts: 495
  • Semper Fidelis
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #90 on: June 02, 2020, 11:53:21 am »
CodeGuy has done work on many sorting algorithms over the years and I have his library of them. I would be more than happy to get more though. Thank you for taking the time to help with the tutorial :-)
In order to understand recursion, one must first understand recursion.

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: QB64SOURCECODE.COM
« Reply #91 on: June 02, 2020, 12:03:17 pm »
There's all sorts of sorts over at my forums, archived: https://qb64.freeforums.net/thread/97/huge-sort-routine


SUB CountSortedReps (Array() AS DOUBLE, start&, finish&)
SUB FlashSort (Array() AS DOUBLE, start AS LONG, finish AS LONG, order&)
SUB InsertionSort (Array() AS DOUBLE, start&, finish&, order&)
SUB ShellSort (Array() AS DOUBLE, start&, finish&, order&)
SUB ShellSortBidirectional (Array() AS DOUBLE, start&, finish&, order&)
SUB QuickSortRecursive (Array() AS DOUBLE, start&, finish&, order&)
SUB QuickSortIterative (Array() AS DOUBLE, Start&, Finish&, order&)
SUB QuickSortDualPivot (Array() AS DOUBLE, start&, finish&, order&)
SUB mergeSort (Array() AS DOUBLE, start&, finish&, order&)
SUB bubblesort (Array() AS DOUBLE, start&, finish&, order&)
SUB CocktailSort (Array() AS DOUBLE, start&, finish&, order&)
SUB InsertionSortBinary (Array() AS DOUBLE, start&, finish&, order&)
SUB BucketSort (Array() AS DOUBLE, start&, finish&, order&)
SUB InsertionSortx (Array() AS DOUBLE, start&, finish&, order&)
SUB HeapSort (Array() AS DOUBLE, Start&, Finish&, order&)
SUB IntroSort (Array() AS DOUBLE, start&, finish&, order&)
SUB QuickSortIJ (Array() AS DOUBLE, start&, finish&, i&, j&, order&)
SUB flashSORTType (Array() AS FlashRec, start AS LONG, finish AS LONG, order&)
SUB primeGapSort2 (Array() AS DOUBLE, start&, finish&, order&)
SUB CombSort (Array() AS DOUBLE, start&, finish&, order&)
SUB SelectionSort (array() AS DOUBLE, start&, finish&, order&)
SUB cycleSort (array() AS DOUBLE, start&, finish&, order&)
SUB shellSortMetzler (array() AS DOUBLE, start&, finish&, order&)
SUB PrimeGapSort (array() AS DOUBLE, start&, finish&, order&)
SUB PostSort (array() AS DOUBLE, start&, finish&, order&)
SUB HashListSort (array() AS DOUBLE, start AS LONG, Finish AS LONG, order&)
SUB RadixSort (a() AS DOUBLE, start&, finish&, order&)
SUB BatcherOddEvenMergeSort (Array() AS DOUBLE, Start&, Finish&)
SUB SinglePassShellSort (array() AS DOUBLE, start&, finish&, order&)
SUB BitonicSort (a() AS DOUBLE, lo&, n&, dir&)
SUB SnakeSort (Array() AS DOUBLE, start&, finish&, order&)
SUB JoinSort (Array() AS DOUBLE, start&, finish&, order&)
SUB QSortRecursiveSimplified (array() AS DOUBLE, start&, finish&)
SUB SmoothSort (TypedArray() AS DataElement)
SUB QuickSortIterativeMedianOf3 (Array() AS DOUBLE, Start&, Finish&, order&)

And you can find my handy dandy MemSort here: https://www.qb64.org/forum/index.php?topic=1601.msg114392

« Last Edit: June 02, 2020, 12:05:19 pm by SMcNeill »
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline qbkiller101

  • Newbie
  • Posts: 73
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #92 on: June 02, 2020, 12:03:39 pm »
Sup Terry,
:)
I'm nearly finished making a webpage that I'll send you on mail on which users can upload projects they've made using your tutorials and all their projects (or at least their G-Drive links as I'm not so good) will be shown
:)

Offline TerryRitchie

  • Seasoned Forum Regular
  • Posts: 495
  • Semper Fidelis
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #93 on: June 02, 2020, 12:27:18 pm »
There's all sorts of sorts over at my forums, archived: https://qb64.freeforums.net/thread/97/huge-sort-routine


SUB CountSortedReps (Array() AS DOUBLE, start&, finish&)
SUB FlashSort (Array() AS DOUBLE, start AS LONG, finish AS LONG, order&)
SUB InsertionSort (Array() AS DOUBLE, start&, finish&, order&)
SUB ShellSort (Array() AS DOUBLE, start&, finish&, order&)
SUB ShellSortBidirectional (Array() AS DOUBLE, start&, finish&, order&)
SUB QuickSortRecursive (Array() AS DOUBLE, start&, finish&, order&)
SUB QuickSortIterative (Array() AS DOUBLE, Start&, Finish&, order&)
SUB QuickSortDualPivot (Array() AS DOUBLE, start&, finish&, order&)
SUB mergeSort (Array() AS DOUBLE, start&, finish&, order&)
SUB bubblesort (Array() AS DOUBLE, start&, finish&, order&)
SUB CocktailSort (Array() AS DOUBLE, start&, finish&, order&)
SUB InsertionSortBinary (Array() AS DOUBLE, start&, finish&, order&)
SUB BucketSort (Array() AS DOUBLE, start&, finish&, order&)
SUB InsertionSortx (Array() AS DOUBLE, start&, finish&, order&)
SUB HeapSort (Array() AS DOUBLE, Start&, Finish&, order&)
SUB IntroSort (Array() AS DOUBLE, start&, finish&, order&)
SUB QuickSortIJ (Array() AS DOUBLE, start&, finish&, i&, j&, order&)
SUB flashSORTType (Array() AS FlashRec, start AS LONG, finish AS LONG, order&)
SUB primeGapSort2 (Array() AS DOUBLE, start&, finish&, order&)
SUB CombSort (Array() AS DOUBLE, start&, finish&, order&)
SUB SelectionSort (array() AS DOUBLE, start&, finish&, order&)
SUB cycleSort (array() AS DOUBLE, start&, finish&, order&)
SUB shellSortMetzler (array() AS DOUBLE, start&, finish&, order&)
SUB PrimeGapSort (array() AS DOUBLE, start&, finish&, order&)
SUB PostSort (array() AS DOUBLE, start&, finish&, order&)
SUB HashListSort (array() AS DOUBLE, start AS LONG, Finish AS LONG, order&)
SUB RadixSort (a() AS DOUBLE, start&, finish&, order&)
SUB BatcherOddEvenMergeSort (Array() AS DOUBLE, Start&, Finish&)
SUB SinglePassShellSort (array() AS DOUBLE, start&, finish&, order&)
SUB BitonicSort (a() AS DOUBLE, lo&, n&, dir&)
SUB SnakeSort (Array() AS DOUBLE, start&, finish&, order&)
SUB JoinSort (Array() AS DOUBLE, start&, finish&, order&)
SUB QSortRecursiveSimplified (array() AS DOUBLE, start&, finish&)
SUB SmoothSort (TypedArray() AS DataElement)
SUB QuickSortIterativeMedianOf3 (Array() AS DOUBLE, Start&, Finish&, order&)

And you can find my handy dandy MemSort here: https://www.qb64.org/forum/index.php?topic=1601.msg114392

Wow! Thanks!
In order to understand recursion, one must first understand recursion.

Offline TerryRitchie

  • Seasoned Forum Regular
  • Posts: 495
  • Semper Fidelis
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #94 on: June 02, 2020, 12:27:44 pm »
Sup Terry,
:)
I'm nearly finished making a webpage that I'll send you on mail on which users can upload projects they've made using your tutorials and all their projects (or at least their G-Drive links as I'm not so good) will be shown
:)

Looking forward to see what you have. Thank you :-)
In order to understand recursion, one must first understand recursion.

Offline lawsonm1

  • Newbie
  • Posts: 64
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #95 on: June 03, 2020, 10:05:07 am »
Once Terry has completed the Basic and Advanced Tutorials, how about a Certificate of Completion from "The QB64 Institute of Advanced Computer Sciences"? That would be a very coveted and sought after certificate. Mike

Offline qbkiller101

  • Newbie
  • Posts: 73
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #96 on: June 04, 2020, 01:45:20 am »
Awesome! I know what CSS is and how it works, even took a one semester course on it back in 2010 using Dreamweaver. I can't remember squat about it. I would love to have the site dynamically resize for portable devices. Thank you for taking this on. I look forward to seeing the final result. I'm almost finished with Task 17 - Collision Detection. By my estimate I *should* be finished with all tasks by the end of this month.
@TerryRitchie Finally! After near a month of learning SQL and PHP just for making that page i have finished yesterday
But to give it to you I need a few favors, none of which allow me access to anything which you dont want me to access. As u told me in a mail

So by this ill have access to a database which is totally safe :) and access to uploads folder and that's it
no harm done

Offline TerryRitchie

  • Seasoned Forum Regular
  • Posts: 495
  • Semper Fidelis
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #97 on: June 04, 2020, 03:45:22 am »
@TerryRitchie Finally! After near a month of learning SQL and PHP just for making that page i have finished yesterday
But to give it to you I need a few favors, none of which allow me access to anything which you dont want me to access. As u told me in a mail

So by this ill have access to a database which is totally safe :) and access to uploads folder and that's it
no harm done

Awesome :-)  Give me a few days (or a week) to get this set up though. I'm in the process of doing a home improvement project and have to have it completed by Tuesday when they haul the dumpster away.
In order to understand recursion, one must first understand recursion.

Offline qbkiller101

  • Newbie
  • Posts: 73
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #98 on: June 04, 2020, 03:53:28 am »
@TerryRitchie  btw it takes 5 mins I already have it all set up and btw no need for the 1st 2 steps i'll just mail you the files to upload (about 640 kb) just make a database 2 or 3 mins i already have one but it only has a capacity of 30 MB but if you think not so much data will be uploaded as 30 mb is nearly  10 million user uploads
So just tell me here if you want to use your database or mine (I don't have a problem as I don't use) so I can send ou accordingly now or after few days