Click here to Skip to main content
16,011,500 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: creating start menu shortcut... Pin
Ed Gadziemski5-Jun-02 12:26
professionalEd Gadziemski5-Jun-02 12:26 
GeneralRe: creating start menu shortcut... Pin
Nish Nishant5-Jun-02 13:20
sitebuilderNish Nishant5-Jun-02 13:20 
GeneralCListBox & Dialog Box :: MFC Pin
valikac5-Jun-02 9:57
valikac5-Jun-02 9:57 
GeneralRe: CListBox & Dialog Box :: MFC Pin
Chris Losinger5-Jun-02 10:18
professionalChris Losinger5-Jun-02 10:18 
GeneralRe: CListBox & Dialog Box :: MFC Pin
valikac5-Jun-02 12:26
valikac5-Jun-02 12:26 
GeneralFastest Search Technique Pin
Sidney5-Jun-02 9:05
Sidney5-Jun-02 9:05 
GeneralRe: Fastest Search Technique Pin
Mike Nordell5-Jun-02 9:30
Mike Nordell5-Jun-02 9:30 
GeneralRe: Fastest Search Technique Pin
Jason Henderson5-Jun-02 9:31
Jason Henderson5-Jun-02 9:31 
Maybe try this (if your fields are a fixed length):
1) Find the first name in the list
2) Seek to the end of the file and find the last name in the list
3) Guess-timate roughly where your string might be in the list
// psuedo code Smile | :)
StringUpper = String1.Upper();
AvgItemPerLetter = NumItems/26;
NumOfFirstLetter = (int)String1[0] - (int)'A';
StartPosition = NumOfFirstLetter * AvgItemPerLetter;
4) check the string at that position and go forward or backward from there



Like it or not, I'm right.
GeneralRe: Fastest Search Technique Pin
Joel Holdsworth5-Jun-02 10:02
Joel Holdsworth5-Jun-02 10:02 
GeneralRe: Fastest Search Technique Pin
Sidney5-Jun-02 10:10
Sidney5-Jun-02 10:10 
GeneralRe: Fastest Search Technique Pin
Christopher Lord5-Jun-02 10:29
Christopher Lord5-Jun-02 10:29 
GeneralRe: Fastest Search Technique Pin
Paul M Watt5-Jun-02 10:40
mentorPaul M Watt5-Jun-02 10:40 
GeneralRe: Fastest Search Technique Pin
Sidney5-Jun-02 11:09
Sidney5-Jun-02 11:09 
GeneralRe: Fastest Search Technique Pin
Paul M Watt5-Jun-02 12:20
mentorPaul M Watt5-Jun-02 12:20 
GeneralRe: Fastest Search Technique Pin
jan larsen6-Jun-02 0:05
jan larsen6-Jun-02 0:05 
GeneralRe: Fastest Search Technique Pin
Ed Gadziemski5-Jun-02 12:32
professionalEd Gadziemski5-Jun-02 12:32 
GeneralRe: Fastest Search Technique Pin
Paul M Watt5-Jun-02 12:43
mentorPaul M Watt5-Jun-02 12:43 
GeneralIcons in Dialogs Pin
Dov Sherman5-Jun-02 8:35
Dov Sherman5-Jun-02 8:35 
GeneralRe: Icons in Dialogs Pin
Mike Nordell5-Jun-02 9:36
Mike Nordell5-Jun-02 9:36 
GeneralRe: Icons in Dialogs Pin
Ed Gadziemski5-Jun-02 12:33
professionalEd Gadziemski5-Jun-02 12:33 
GeneralMutex problem Pin
Hans Ruck5-Jun-02 8:14
Hans Ruck5-Jun-02 8:14 
GeneralRe: Mutex problem Pin
Mike Nordell5-Jun-02 9:40
Mike Nordell5-Jun-02 9:40 
GeneralRe: Mutex problem Pin
Hans Ruck5-Jun-02 21:07
Hans Ruck5-Jun-02 21:07 
GeneralRe: Mutex problem Pin
Mike Nordell6-Jun-02 9:57
Mike Nordell6-Jun-02 9:57 
GeneralRe: Mutex problem Pin
John M. Drescher6-Jun-02 10:06
John M. Drescher6-Jun-02 10:06 

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.