Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
sort
- Page 1
Dynamic Properties in PHP 8.2
Programming
Web Development
3 Weeks Ago
by Dani
… time (obviously). However, if you prefer not to touch and
sort
through and refactor a lot of old, crusty code that…
Re: Dynamic Properties in PHP 8.2
Programming
Web Development
3 Weeks Ago
by Dani
… or work with a User object or something of that
sort
. However, if your code requires a quick way of creating…
Re: Dynamic Properties in PHP 8.2
Programming
Web Development
3 Weeks Ago
by Dani
… or work with a User object or something of that
sort
. I realize that in my previous post I incorrectly gave…
How Can I Create a Long-Term SEO Strategy for a New Website in 2025?
Digital Media
Digital Marketing
2 Weeks Ago
by Louis Slater
… optimization, backlinks, etc. but I'm finding it difficult to
sort
through outdated advice and focus on what's actually effective…
Re: What are "Other agent type" Googlebot types in GSC crawl stats?
Digital Media
Digital Marketing
Search Engine Strategies
3 Weeks Ago
by bijutoha
… honestly think sometimes Google's little robots are on some
sort
of **secret mission**, checking things out or finding new ways…
Re: Dynamic Properties in PHP 8.2
Programming
Web Development
3 Weeks Ago
by Dani
Oh, and an important bit I forgot to mention: PHP's built-in stdClass has the `#[AllowDynamicProperties]` attribute already added. In fact, you can see in the [PHP docs](https://www.php.net/manual/en/class.stdclass.php) that the definition of the stdClass is "a generic empty class with dynamic properties." That means that you can always …
Re: Dynamic Properties in PHP 8.2
Programming
Web Development
3 Weeks Ago
by jkon
I can't get it , why anyone would want to `$user = new User(); $user->nickname = 'Dani';` if nickname is not a public property of User , or even worse `$user = new stdClass(); $user->nickname = 'Dani';` ? Why ?
Re: Differential Directory, indexing method
Programming
Software Development
2 Months Ago
by xrjf
… a simple method that matches this limit. For example, to
sort
the list {2, 5, 7, 1, 4, 3, 8, 6…}:
Sort
pairs: (2, 5) → [1] (1, 7) → [2] (3, 4) → [3] (…
Re: Lots of new members but no one posts
Community Center
Meta DaniWeb
1 Month Ago
by John_165
Why do spammers want to sign up? What do they gain from programming forums?
Re: Lots of new members but no one posts
Community Center
Meta DaniWeb
1 Month Ago
by trcooke
Profile spam for sweet sweet SEO internet points. Create an account, put a link in the profile, but never post anything thus reducing the likelihood of triggering the spam alarms and getting deleted down by the site moderators. It's the back-link on a public facing web page that they want, and for that there's no difference between a forum post …
Re: Lots of new members but no one posts
Community Center
Meta DaniWeb
1 Month Ago
by Dani
> Why do spammers want to sign up? What do they gain from programming forums? A very common, and dare I say well-respected, SEO technique (that is actually vouched for by Google!) is to post in forums to earn backlinks back to your site. The legitimate way of doing it is to find forums and communities relevant to your site, and personally …
Re: Lots of new members but no one posts
Community Center
Meta DaniWeb
1 Month Ago
by Dani
> Profile spam for sweet sweet SEO internet points. Create an account, put a link in the profile, but never post anything thus reducing the likelihood of triggering the spam alarms and getting deleted down by the site moderators. > > It's the back-link on a public facing web page that they want, and for that there's no difference …
Re: Lots of new members but no one posts
Community Center
Meta DaniWeb
1 Month Ago
by Dani
> It's the back-link on a public facing web page that they want, and for that there's no difference between a forum post and a profile page. From an actual SEO perspective, there's a very strong difference between a forum post and a profile page (not all pages are created equal), but for the purposes of this discussion, I digress.
Sort random
Programming
Software Development
10 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
13 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
17 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
17 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
17 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
17 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
17 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
17 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
15 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
17 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
17 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
17 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?
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
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
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC