Click here to Skip to main content
15,916,019 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: gzip compression and decompression Pin
ldaoust28-Nov-06 8:07
ldaoust28-Nov-06 8:07 
GeneralRe: gzip compression and decompression Pin
Richard Andrew x6428-Nov-06 8:12
professionalRichard Andrew x6428-Nov-06 8:12 
GeneralRe: gzip compression and decompression Pin
Richard Andrew x6428-Nov-06 9:00
professionalRichard Andrew x6428-Nov-06 9:00 
GeneralRe: gzip compression and decompression Pin
ldaoust28-Nov-06 9:29
ldaoust28-Nov-06 9:29 
GeneralRe: gzip compression and decompression Pin
Richard Andrew x6428-Nov-06 9:33
professionalRichard Andrew x6428-Nov-06 9:33 
GeneralRe: gzip compression and decompression Pin
Steve S28-Nov-06 21:52
Steve S28-Nov-06 21:52 
GeneralRe: gzip compression and decompression Pin
Richard Andrew x6428-Nov-06 21:59
professionalRichard Andrew x6428-Nov-06 21:59 
QuestionVector Sort Multidimensional Array Pin
vinniez_ok28-Nov-06 6:26
vinniez_ok28-Nov-06 6:26 
I'd like to use <vector> to create a multi-dimensional array holding
a string, int, int. . .
something like this

Name Wage Age Ranking
===== ==== === =======
Ben 9 29
Matt 16 38
.
.
Tom 21 50


Then I would like to use std::sort to sort first by age, then by wage. Then I'd like to rank them by wage within their age decade (twenties, thirties, etc.).

Though this is new ground for me (typically i'd hack something using linked list or a bubble sort; but i have seen
single array examples which are more efficient).
After the sort, I would like to rank by the first int ,"wage", creating
a table that can be presented in a Windows GUI app. It should be compatible with .NET (how is that different from what I'm accustomed to Visual C++ 6.0?]

Thanks Smile | :)
AnswerRe: Vector Sort Multidimensional Array Pin
Christian Graus28-Nov-06 12:00
protectorChristian Graus28-Nov-06 12:00 
GeneralRe: Vector Sort Multidimensional Array Pin
vinniez_ok28-Nov-06 19:41
vinniez_ok28-Nov-06 19:41 
GeneralRe: Vector Sort Multidimensional Array Pin
vinniez_ok30-Nov-06 6:19
vinniez_ok30-Nov-06 6:19 
GeneralRe: Vector Sort Multidimensional Array Pin
vinniez_ok30-Nov-06 6:24
vinniez_ok30-Nov-06 6:24 
GeneralRe: Vector Sort Multidimensional Array Pin
Christian Graus30-Nov-06 8:09
protectorChristian Graus30-Nov-06 8:09 
GeneralRe: Vector Sort Multidimensional Array Pin
vinniez_ok30-Nov-06 9:30
vinniez_ok30-Nov-06 9:30 
GeneralRe: Vector Sort Multidimensional Array Pin
Christian Graus30-Nov-06 9:40
protectorChristian Graus30-Nov-06 9:40 
Questionhow to make a normal button toggle and lock until its pressed again? . Pin
Super Hornet28-Nov-06 5:22
Super Hornet28-Nov-06 5:22 
AnswerRe: how to make a normal button toggle and lock until its pressed again? . Pin
toxcct28-Nov-06 5:25
toxcct28-Nov-06 5:25 
GeneralRe: how to make a normal button toggle and lock until its pressed again? . Pin
Super Hornet28-Nov-06 7:00
Super Hornet28-Nov-06 7:00 
GeneralRe: how to make a normal button toggle and lock until its pressed again? . Pin
Bram van Kampen28-Nov-06 14:53
Bram van Kampen28-Nov-06 14:53 
GeneralRe: how to make a normal button toggle and lock until its pressed again? . Pin
toxcct28-Nov-06 22:09
toxcct28-Nov-06 22:09 
AnswerRe: how to make a normal button toggle and lock until its pressed again? . Pin
Maximilien28-Nov-06 6:14
Maximilien28-Nov-06 6:14 
QuestionHow to activate a button strictly through code? Pin
Reagan Conservative28-Nov-06 5:21
Reagan Conservative28-Nov-06 5:21 
AnswerRe: How to activate a button strictly through code? Pin
toxcct28-Nov-06 5:24
toxcct28-Nov-06 5:24 
AnswerRe: How to activate a button strictly through code? Pin
CPallini28-Nov-06 5:29
mveCPallini28-Nov-06 5:29 
GeneralRe: How to activate a button strictly through code? Pin
Bram van Kampen28-Nov-06 15:23
Bram van Kampen28-Nov-06 15:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.