Exforsys

Online Training

sorting in 2-dimensions (sorting structures)

This is a discussion on sorting in 2-dimensions (sorting structures) within the C and C++ forums, part of the Programming Talk category; I need to sort a structure based on two of the values--what would be the best way to do ...


Go Back   Exforsys > Programming Talk > C and C++

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-06-2006, 06:09 PM
Junior Member
 
Join Date: Jun 2006
Posts: 7
hat123 is on a distinguished road
sorting in 2-dimensions (sorting structures)

I need to sort a structure based on two of the values--what would be the best way to do this? Is there a "recipe" for sorting in 2-dimensions that I can use?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-07-2007, 09:00 AM
Senior Member
 
Join Date: Apr 2006
Posts: 153
cyrus is on a distinguished road
hat123 could you give your query in a more elaborate manner so that I could surely help you to solve the problem.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
C Programming - Structures and Unions lokeshm C and C++ 0 05-26-2006 02:02 AM


All times are GMT -4. The time now is 05:38 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.