recursive sorting -
I need help with some ideas about recursion please. I have been asked to create a football league program. someone said that because of the leagues, team positions, goal differences, scores etc they said that repeated sorting would be needed, like recursion.
It is fairly easy to handle sorting the teams by the "points", based upon the games won, lost etc but I am not quite sure how to handle successive sorting ie
sorting on points AND goal diff
then by
points AND goals for
etc etc
can anyone please suggest a technique for this type of successive sorting based upon multiple data columns etc
recursive sorting -
I need help with some ideas about recursion please. I have been asked to create a football league program. someone said that because of the leagues, team positions, goal differences, scores etc they said that repeated sorting would be needed, like recursion.
It is fairly easy to han
Non-recursive into recursive -
I am going to start to wrok on a project that converts a non-recursive procedure into a recursive one and the opposite.
Any ideas, links ,books ref, anything that would help ?
I could use either pseudocode,vb,c++, or any other stuff .
Thanx in advance
sorting small lists --- for speed! -
Hi,
I've read a bunch on sorting large lists, but what about small lists. Of course usually if you have a small list it doesnt matter what type of sort you use, but in my case it is extremely important. I am sorting a list of legal moves in my checkers program inside of a recursi
how to get out of recursive methods -
okay:
public int foo() {
bar();
return something;
}
public void bar(){
bar();
...some base case to end the recursive method...
}
is there any way to end bar() (and all recursive bar()s that were called) without reaching the base case, and get back to foo()?
Recursive sub dirs using Dir() -
hello all.
ive done a search on this one and come up with various results but nothing solid. most of them are using the api, i just want to write a simple recursive function to retrieve all subdirs and their subdirs etc and return their paths in a string array, thats all....
only
- [2008] - Recursion Question -
I know a recursive method is something that calls itself with different arguments. But I'm slightly confused on how a recursive method would be written (the syntax). If anyone can think up a simple example of a recursive method, that would help me understand recursion much better.
Recursive Filesearch -
Anyone know of a good recursive filesearching module thats free? I'd like to grab one for future apps...
-C
Recursive Descent Parser For expression evaluation -
I need to evaluate a mathematical expression. Probably a recursive descent Parser implementation would be appropriate for this. Can I get some idea on how a recursive Parser be implemented in such case?
Sorting RTB 2nd array -
Sorting RTB, I have two columns of numbers. I am focusing on the 2nd column to be sorted
but must be written as the bottom windows shows, in this particular sorted order.
Alignment of the digits is not important to me, that I can solve it later, sorting is.
From the list of “
need recursive function -
I need a recursive function written in C that adds a Link list node on top of the previous. Can anyone help?
Debugging a recursive function -
Is it just me or is trying to debug a recursive function that calls itself a TON seemingly impossible and annoying.
Recursive serach -
How can i search recursive through directories for files with a specified extention ?
VB - Sorting methods (sorts and searches) -
This prog contains a couple simplified sorting algrithms
- basic bubble
- basic linear
- basic shell
- basic merge
- basic quick
- pretty fast insert sort
- count sort (fastest sort with ints and longs. can be used with floats if they are small and rounded to a couple decimal
Recursive Relation -
How i can make Recursive Relation between tow fields in the same table
recursive lists -
can you only have 1 recursive lists with 2 locations/file names? is there a way to get more?
GridView Sorting -
Will the built in sorting for a GirdView work if the DataSource is a DataTable. And if so, how do I set it up? Or will I have to handle the sorting event myself and add my own code to sort the datatable?
Recursive loop -
I have written a program which runs a recursive loop. I have used sleep to let it sleep for 5 minutes. What it does is it checks another program state and changes it if it is not in the desired state. It does this every 5 minutes. Program works fine except when the computer goes into s
Sorting numbers -
I'm wandering if someone can give me the pseaudo code for sorting a range of numbers.Easiest sorting method if possible.
[2005] Track a recursive file search -
Hi everyone,
I've been looking around the forums trying to find a solution to my problem but have been so far unsuccessful. I have a recursive file search method (called "FileSearch") in a seperate class. The method is called from the main form (another class) to perform r
Natural Sorting in VB6 -
Is there a way to provide Natural Sort to a VB6 app instead of Asciibetical sorting?
IE sorting 11 after 8 instead of before in an AlphaNumeric field?
c++ recursive dir file scanner -
any one have a recursive file scanner that can accept wild cards and search all directories below it and return file name and path, for windows.? i tried looking for one but i have not founld one.
[2005] DataGridView Column sorting -
I have a datagridview in which the header columns are not sorting when clicked on. I thought this control does this by default. Am I wrong? If so, what property needs to be set in order to allow for Column Sorting?
Thanks,
Column sorting in ListView -
ello.
i'm using a ListView control and i've pretty much got it sussed apart from the sorting bit. i've got the sorting working no problem, but in a lot of programs the sort buttons (columnHeaders) have these little embedded arrows on them indicating which way the column is sorted i
Best way to do ListView sorting -
I've been trying to figure out the Sorting for on the fly sorting by column. In a lot of programs you can just click the top of the list and boom it sorts first ascending, then descending if you click it again.
My boss cannot live without this feature as she's been so used to Outlo
DataGridView Date Sort Problem -
Hi guys.
Creating an application for system schedules.
Problem is when it comes to sorting.
When I FormatDateTime to DateFormat.ShortDate, the sorting is not correct.
If the values are converted to CDate, the sorting works, but I have the trailing time after it.
Anyway t
12th grade stuff... -
I'm from New Zealand and not from America, so I'm not sure if I am 12th Grade (in NZ we say Year 12). But anyway, my school is rather slack, so if you think this is like 9th Grade stuff, say so.
Anyway, I am having some problems with number sequences. I can do Arithmetic and Geome
Sorting MsFlexGrid -
Hi!
When using MsFlexGrid.Sort = 1
Only current column is re-arranged based on sorting conditions.
I want to hold the rows together so that all cells in a row follows the sorted column.
Just like when sorting a bunch o cells in Excel.
Any tips are welcome!
Recursive Deleting -
Can any one post a code sample of recursive deleting a folder, like the rm -r [folder] in linux???
Currently, the Rmdir API onli supports removing of empty folders, i need to delete all the folders' contents, the subdirectories, files and all, thanx
API function for recursive search -
Hi, is there any API function that can perform recursive search in filesystem. Just similar to the command "Dir xxx.exe /s"
Thx a lot
Sorting a MSFlexGrid -
I remember sorting a MSFlexgrid by this code...
MSFlexGrid1.Sort = flexSortGenericAscending
however this only make column 1 as the base for sorting...
how can i make it sort using the other columns...thanks...
How to write a recursive function -
Hi,
I'm trying to write a recursive function but in vain... thus i sincerely hope you could help me... Actually my purpose of this recursive search is to search for all children, grandchildren, great grandchildren...etc of a particular record. Suppose in my table, I have two
Sorting a MSFlexGrid -
I want to sort a MSFlexGrid by clicking on the the first (fixed) row. It works except when I click on the top row for the leftmost (fixed) column. In that case, the sorting is done according to the contents of the next (non-fixed) column to the right.
In other words, the sorting shoul
What is wrong with my recursive program -
it works fine but my teacher says that it is not recursive?
IS he wrong?
It works fine for me.
Can u help fix my problem?
Once again, sorting pb -
Hi all.
I've searched the past threads about sorting and even though there are many existing resolved threads, none address my problem. So let me explain:
Hi need to sort strings in an array. Nothing to fancy yet. But my problem is that some of the values I need to sort are ac
sorting with listview control -
how can I sort a list using the second or third item in the listview
for example
number value
--------- -------
I want to use value for sorting but I didn't find how could i do that.
In visual basic we can choose a key for sorting. does C# includes a key like visual basic.
FileListBox - sorting -
Is it possible to stop a File List Box sorting its files alphabetically?
Thanks in advance, Bob.
Search file in folder an recursive folder with dir function -
Hi,
I want to search ActiveX .dll in a expecific folder and in all his recursive folders.
I´ve made a recursive function using dir statement. But dir returns error when it finish in one folder and I want that dir function search in the recursive folders too.
This is my code:
Sorting Recordsets -
Can anyone tell me the best way to sort a record collection ?
I retrieve 16,000+ records and could do with sorting them to make things a bit quicker, but don't know the best way to do this.
Recursive filling -
Making good progress with my map editor, but I've hit a bit of a hurdle.
I want to include a tool that will fill an area of the map with a particular tile (ie. as in arrays, not bitmaps). I already have a recursive function for doing so, which works with small areas and maps. Howeve
No one can help in sorting data in MS Flex Grid -
I want to do sorting on single coulumn data in MsFlexgrid.
I don't bother whether it is numeric,character or string .
But by using sort property of MSFlex grid control all other columns having data got unordered means , my selected column
is sorted but other coulumns get unordere