Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #107.70K
~202 People Reached
Favorite Forums
Favorite Tags
c++ x 1

1 Posted Topic

Member Avatar for Saim_5

You might try somthing like this.... struct some_struct { int value; } arr[100]; bool sort_fn(some_struct a, some_struct b) { return (a.value < b.value); } main() { std::sort(arr, arr+len, sort_fn); }

Member Avatar for Jim_532
0
202

The End.