Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
sort
- Page 1
Re: Compatibility Issues with SAS Controllers and Host Bus Adapters (HBA) in My
Hardware and Software
4 Weeks Ago
by rproffitt
…. What a mess. Had to get the drives tested and
sort
out the bad from good. Lesson learned: Any drive past…
Re: Do you participate in any other communities?
Community Center
Geeks' Lounge
1 Week Ago
by Mr.M
Is it really going down? In few days back I visited it and it said there's some
sort
of a company that is busy upgrading it and it will be up soon. This is very terrible to see such groups going down, worse thing they have so much information we find on the internet they are playing a very big part on the internet.
Sort random
Programming
Software Development
9 Years Ago
by andreas.petrou.967
Sort
numbers random in array import java.util.*; class FillAndSort…i = i + 1; } print( nums ); //** print array Arrays.
sort
( nums ); //**
sort
array print( nums ); //** print again } static void print( double[ ]…
Re: Sort function in javascript
Programming
Web Development
12 Years Ago
by pritaeas
… string comparison by default. You can specify a
sort
function as parameter to the function. The compare function takes … smaller. function compare(x, y) { return x - y; } println(drinks1.
sort
(compare));
Re: sort on field names; refresh page?
Programming
Web Development
20 Years Ago
by PoA
Sort
by LastName [PHP]$result = mysql_query("SELECT * FROM contacts ORDERBY LastName");[/PHP]
Sort
by State [PHP]$result = mysql_query("SELECT * FROM contacts ORDERBY State");[/PHP]
Re: sort
Programming
Software Development
16 Years Ago
by Sa_FF
… } . . . printf("end of game!\n");
sort
(players, n_players); printf("classification:\n\n"); for(i…PLAYER data; data = players[i_player]; return data; } /*selection
sort
- decreasing*/ void
sort
(PLAYER *players, int n_players) { int i, j, k, …
sort?
Programming
Software Development
15 Years Ago
by nope3d
… run it the output is correct but i need to
sort
it to feel much better...... here is my program....…(ms.getElementAt(i))) { mySet.addElement(ms.getElementAt(i)); } } //MySet.
sort
(mySet); return mySet; } public MySet difference(MySet ms) { MySet set…
sort()
Programming
Software Development
12 Years Ago
by sofia85
Hi, I have a file containing one column with values: 3.258 1.345 5.769 1.00 etc... I want to
sort
this data. I tried to use
sort
() directly on my raw data but I get error message saying 'str' object has no attribute '
sort
'. I now it's basic, but I'm a beginner at Python and now I don't know how to proceed.
sort
Programming
Software Development
16 Years Ago
by emilio
…, arrP3, arrP4 , NULL};[/CODE] what is the best way to
sort
all strings in arrPP in lexicographical order so i can… them all in this order. if it helps i can
sort
each *arr[] seperatly
sort
Programming
Software Development
16 Years Ago
by Trckst3
Hey guys i'm still having trouble with my bubble
sort
in else if(choice==2). Where am i going wrong ….Display original data.\n"; cout<<"2.
Sort
the data into descending order\n"; cout<<…
Re: sort
Programming
Software Development
16 Years Ago
by VernonDozier
….Display original data.\n"; cout<<"2.
Sort
the data into descending order\n"; cout<<… the sorting code is perfect. Display the numbers AFTER the
sort
is over. Lines 40, 43 and 44: You are going…
Re: sort
Programming
Software Development
16 Years Ago
by Sky Diploma
… <algorithm>[/CODE] In your program. 2) The Bubble
Sort
Function in your program is faulty. I will give you… other numbers in the array. Then you will have the
Sort
. Hint: You can do this by using 2 "For…
Re: sort
Programming
Software Development
16 Years Ago
by dougy83
… whole lot more iterations. you could use your immediate neighbour
sort
if you change the loops to the order of:[code…] Consider the array [5 4 3 2 1] for ascending
sort
. How many swaps will it take to get the rightmost…
Re: sort
Programming
Software Development
16 Years Ago
by VernonDozier
[QUOTE=Trckst3;578217]Ok i tried using the immediate neighbor
sort
like you suggested and it works fine as long as … you put your cout statements in the middle of the
sort
like you have, you are not going to get a…
sort
Programming
Software Development
16 Years Ago
by Sa_FF
… decreasing order? i did the
sort
is in increasing order [CODE=c] typedef struct{ char name[…
Re: SORT
Programming
Software Development
14 Years Ago
by Doughnuts
… an input/output function. Otherwise, your
sort
function is fine. Here is my
sort
function: [CODE]void
Sort
(int Array[], int NumUsed) { int…
Re: sort
Programming
Software Development
16 Years Ago
by Ancient Dragon
>>what is the best way to
sort
all strings in arrPP Declare them all in one big array and in sorted order then you won't have to worry about that.
Re: sort
Programming
Software Development
16 Years Ago
by dougy83
I thought bubble
sort
was more often done using the loop structure: [code] for(int i = 1; i < N; i++){ for(int j = 0; j < i; j++){ if(x[i] < x[j]){ swap(x[i], x[j]); } } } [/code]
Re: sort
Programming
Software Development
16 Years Ago
by Trckst3
Ok i tried using the immediate neighbor
sort
like you suggested and it works fine as long as you input the numbers in order from 1-20 it'll assign them fine but if you mix the numbers up and use larger numbers it lists them like 50 times and doesn't put them in any order is it because of the way i have lines 42-46 setup?
Re: sort
Programming
Software Development
16 Years Ago
by Trckst3
….Display original data.\n"; cout<<"2.
Sort
the data into descending order\n"; cout<<…
Re: sort
Programming
Software Development
16 Years Ago
by VernonDozier
….Display original data.\n"; cout<<"2.
Sort
the data into descending order\n"; cout<<…
Re: sort
Programming
Software Development
16 Years Ago
by Sky Diploma
….Display original data.\n"; cout<<"2.
Sort
the data into Ascending order\n"; cout<<…
Re: SORT
Programming
Software Development
14 Years Ago
by mrnutty
For bubble
sort
all you have to do is blindly swap : [code] int A[5] = {5,3,1,7}; //bubble
sort
for(int i = 0; i < 5; i++){ for(int j = i+1; j < 5; j++) if(A[i] > A[j] ) std::swap(A[i],A[j]); } [/code]
SORT
Programming
Software Development
14 Years Ago
by mymyzzz
… help sorting my array. please don't suggest me std::
sort
because i don't really know how to use those…
Re: SORT
Programming
Software Development
14 Years Ago
by mymyzzz
thanks, but how to do bubble
sort
this? also, i am keep getting 0 for my highest number, why?
sort
Programming
Software Development
14 Years Ago
by gedaahmed
hello guys!!!!!!!!!!! please,i have tried as much as i can to
sort
a given name alphabetically.but,i couldn't get it.please, help me.
Re: sort
Programming
Software Development
14 Years Ago
by daviddoria
…::string>? If so, you should be able to use
sort
() from [icode]#include <algorithm>[/icode] Good luck! Dave
sort
Programming
Software Development
10 Years Ago
by sourjya
how to
sort
nos from a list! and print in another list?
Re: Sort random
Programming
Software Development
9 Years Ago
by andreas.petrou.967
No,i have the above code. How to compile the above code to output the results with
sort
?
sort code & write exchange increment line
Programming
Software Development
14 Years Ago
by rookanga
… 1005231, 6545231, 3852085, 7576651, 7881200, 4581002 }; //
Sort
accounts1 with bubble
sort
. The function // returns the number of exchanges made. exchanges…quot; exchanges were made by Bubble
Sort
." << endl; //
Sort
accounts2 with selection
sort
. The function // returns the …
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC