Click here to Skip to main content
16,014,589 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalspeed up Pin
pnpfriend1-Jun-02 6:48
pnpfriend1-Jun-02 6:48 
GeneralRe: speed up Pin
Joaquín M López Muñoz1-Jun-02 6:56
Joaquín M López Muñoz1-Jun-02 6:56 
GeneralRe: speed up Pin
Brian Delahunty1-Jun-02 7:11
Brian Delahunty1-Jun-02 7:11 
GeneralRe: speed up Pin
pnpfriend1-Jun-02 7:52
pnpfriend1-Jun-02 7:52 
GeneralRe: speed up Pin
Brian Delahunty1-Jun-02 9:33
Brian Delahunty1-Jun-02 9:33 
GeneralRe: speed up Pin
pnpfriend1-Jun-02 9:47
pnpfriend1-Jun-02 9:47 
GeneralRe: speed up Pin
Brian Delahunty1-Jun-02 10:05
Brian Delahunty1-Jun-02 10:05 
GeneralRe: speed up Pin
pnpfriend1-Jun-02 10:39
pnpfriend1-Jun-02 10:39 
wow!!!
i use cstringarray to store files types and sizes
as follow:
<br />
char info[50];<br />
CStringArray array;<br />
ofstrea filelsit.open("type.txt");<br />
while(!filelist.eof())<br />
{<br />
filelist.getline(info,50,'\n');<br />
CString infoline = (const char*)info;<br />
array.add(infoline)<br />
}<br />


guess what it only tooks 16 sec to read and estimate page to print for all 350000 files.
compare to old function, way way faster. old function took 10 mins and now only 16 sec.
i say WOWWTF | :WTF:

let me try to use vector.. i think vector might be faster because i dont' have to separator type and size again.
GeneralRe: speed up Pin
Brian Delahunty1-Jun-02 10:35
Brian Delahunty1-Jun-02 10:35 
Questiongeting start and end address of a running process? Pin
hwnd1-Jun-02 6:26
hwnd1-Jun-02 6:26 
AnswerRe: geting start and end address of a running process? Pin
Mike Nordell1-Jun-02 7:02
Mike Nordell1-Jun-02 7:02 
GeneralLimiting Characters in Edit Box :: MFC Pin
valikac1-Jun-02 5:30
valikac1-Jun-02 5:30 
GeneralRe: Limiting Characters in Edit Box :: MFC Pin
Joaquín M López Muñoz1-Jun-02 5:38
Joaquín M López Muñoz1-Jun-02 5:38 
GeneralRe: Limiting Characters in Edit Box :: MFC Pin
dlhson1-Jun-02 5:49
dlhson1-Jun-02 5:49 
GeneralRe: Limiting Characters in Edit Box :: MFC Pin
valikac1-Jun-02 6:15
valikac1-Jun-02 6:15 
GeneralRe: Limiting Characters in Edit Box :: MFC Pin
Michael P Butler1-Jun-02 7:22
Michael P Butler1-Jun-02 7:22 
GeneralSolution Pin
valikac1-Jun-02 7:15
valikac1-Jun-02 7:15 
QuestionUsing Unicode in Editbox, ListControl and CString ? Pin
dlhson1-Jun-02 4:09
dlhson1-Jun-02 4:09 
AnswerRe: Using Unicode in Editbox, ListControl and CString ? Pin
Paul M Watt1-Jun-02 18:22
mentorPaul M Watt1-Jun-02 18:22 
QuestionGet char pos of RichEditControl ? Pin
dlhson1-Jun-02 3:58
dlhson1-Jun-02 3:58 
AnswerRe: Get char pos of RichEditControl ? Pin
Ed Gadziemski1-Jun-02 10:56
professionalEd Gadziemski1-Jun-02 10:56 
GeneralRetrieve "Data traffic" Pin
XAlien1-Jun-02 3:16
XAlien1-Jun-02 3:16 
GeneralRe: Retrieve "Data traffic" Pin
Paul M Watt1-Jun-02 8:33
mentorPaul M Watt1-Jun-02 8:33 
GeneralRe: Retrieve "Data traffic" Pin
XAlien1-Jun-02 23:05
XAlien1-Jun-02 23:05 
GeneralListBox controls Pin
1-Jun-02 3:19
suss1-Jun-02 3:19 

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.