Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: multile doModal calls from one InitInstance() fails Pin
ohadp3-Sep-03 1:49
ohadp3-Sep-03 1:49 
GeneralRe: multile doModal calls from one InitInstance() fails Pin
David Crow3-Sep-03 2:44
David Crow3-Sep-03 2:44 
GeneralStoring Data as ASCII format Pin
Shaffiq3-Sep-03 1:33
Shaffiq3-Sep-03 1:33 
GeneralDumbest Question Ever? Pin
dog_spawn3-Sep-03 1:50
dog_spawn3-Sep-03 1:50 
GeneralRe: Storing Data as ASCII format Pin
Ravi Bhavnani3-Sep-03 5:42
professionalRavi Bhavnani3-Sep-03 5:42 
GeneralRe: Storing Data as ASCII format Pin
Navin3-Sep-03 8:01
Navin3-Sep-03 8:01 
Generalremoving duplicates via the <b>stl</b> Pin
RChin3-Sep-03 1:31
RChin3-Sep-03 1:31 
GeneralRe: removing duplicates via the stl Pin
dog_spawn3-Sep-03 1:54
dog_spawn3-Sep-03 1:54 
There is no faster way of doing this because if you think about it you have to check the string does not exist yet. Set is pretty much the fastest way of doing that unless you want to use a hash table. Yes, there is a hash table in some versions of the stl.

If you say the vector will then be sorted, you were right to use set in the first place.
GeneralRe: removing duplicates via the stl Pin
RChin3-Sep-03 1:57
RChin3-Sep-03 1:57 
GeneralRe: removing duplicates via the <b>stl</b> Pin
Andrew Walker3-Sep-03 2:07
Andrew Walker3-Sep-03 2:07 
GeneralRe: removing duplicates via the <b>stl</b> Pin
David Crow3-Sep-03 2:46
David Crow3-Sep-03 2:46 
GeneralRe: removing duplicates via the <b>stl</b> Pin
RChin3-Sep-03 2:51
RChin3-Sep-03 2:51 
GeneralRe: removing duplicates via the <b>stl</b> Pin
dog_spawn3-Sep-03 8:10
dog_spawn3-Sep-03 8:10 
GeneralRe: removing duplicates via the <b>stl</b> Pin
ZoogieZork3-Sep-03 12:42
ZoogieZork3-Sep-03 12:42 
GeneralRe: removing duplicates via the <b>stl</b> Pin
RChin3-Sep-03 22:33
RChin3-Sep-03 22:33 
Generalwriting an ostream& operator<<( - function Pin
petter_e3-Sep-03 1:24
petter_e3-Sep-03 1:24 
General.pdf to .txt conversion Pin
Chintan3-Sep-03 0:35
Chintan3-Sep-03 0:35 
GeneralRe: .pdf to .txt conversion Pin
David Crow3-Sep-03 2:47
David Crow3-Sep-03 2:47 
GeneralC++ related issue Pin
Jamal Jamshed3-Sep-03 0:29
sussJamal Jamshed3-Sep-03 0:29 
GeneralRe: C++ related issue Pin
dog_spawn3-Sep-03 1:56
dog_spawn3-Sep-03 1:56 
GeneralRe: C++ related issue Pin
Jamal Jamshed3-Sep-03 2:23
sussJamal Jamshed3-Sep-03 2:23 
GeneralRe: C++ related issue Pin
David Crow3-Sep-03 2:49
David Crow3-Sep-03 2:49 
GeneralRe: C++ related issue Pin
Scott H. Settlemier3-Sep-03 10:22
Scott H. Settlemier3-Sep-03 10:22 
GeneralRe: C++ related issue Pin
John R. Shaw3-Sep-03 6:47
John R. Shaw3-Sep-03 6:47 
General_crtBreakAlloc Pin
Bernhard2-Sep-03 23:22
Bernhard2-Sep-03 23:22 

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.