Click here to Skip to main content
15,922,696 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: another one! Pin
Derek Waters17-Feb-02 15:11
Derek Waters17-Feb-02 15:11 
GeneralRe: another one! Pin
17-Feb-02 16:14
suss17-Feb-02 16:14 
GeneralRe: another one! Pin
Derek Waters17-Feb-02 16:21
Derek Waters17-Feb-02 16:21 
GeneralRe: another one! Pin
17-Feb-02 21:59
suss17-Feb-02 21:59 
GeneralRe: another one! Pin
markkuk17-Feb-02 22:53
markkuk17-Feb-02 22:53 
GeneralRe: another one! Pin
Christian Graus17-Feb-02 23:07
protectorChristian Graus17-Feb-02 23:07 
GeneralRe: another one! Pin
Christian Graus17-Feb-02 15:25
protectorChristian Graus17-Feb-02 15:25 
GeneralRe: this code is driving me crazy! :(( Pin
Christian Graus17-Feb-02 13:54
protectorChristian Graus17-Feb-02 13:54 
This code would be a lot faster if you had a grow policy instead of copying the whole array every time you add 1 element. It would also probably be faster to use memcpy to copy the old array into the new one. Also, you should use the prefix ++ operator whenever you don't actually need the postfix one.

The line 'investorsList = temp' makes both point to the same list, which you then call delete on at the end. So investorsList then points to an array that has been deleted.





Christian

I have come to clean zee pooollll. - Michael Martin Dec 30, 2001

Picture the daffodil. And while you do that, I'll be over here going through your stuff.

GeneralRe: this code is driving me crazy! :(( Pin
Shog917-Feb-02 13:50
sitebuilderShog917-Feb-02 13:50 
GeneralRe: this code is driving me crazy! :(( Pin
Christian Graus17-Feb-02 13:56
protectorChristian Graus17-Feb-02 13:56 
GeneralRe: this code is driving me crazy! :(( Pin
Shog917-Feb-02 13:59
sitebuilderShog917-Feb-02 13:59 
GeneralRe: this code is driving me crazy! :(( Pin
17-Feb-02 14:26
suss17-Feb-02 14:26 
GeneralRe: this code is driving me crazy! :(( Pin
Christian Graus17-Feb-02 15:26
protectorChristian Graus17-Feb-02 15:26 
GeneralRe: this code is driving me crazy! :(( Pin
17-Feb-02 15:59
suss17-Feb-02 15:59 
QuestionHow can I programmatically click the next button on yahoo? Pin
DanYELL17-Feb-02 12:39
DanYELL17-Feb-02 12:39 
AnswerRe: How can I programmatically click the next button on yahoo? Pin
Simon Walton17-Feb-02 12:54
Simon Walton17-Feb-02 12:54 
AnswerRe: How can I programmatically click the next button on yahoo? Pin
17-Feb-02 13:00
suss17-Feb-02 13:00 
GeneralRe CTrayNotifyIcon Pin
17-Feb-02 11:56
suss17-Feb-02 11:56 
GeneralRe: Re CTrayNotifyIcon Pin
Nish Nishant17-Feb-02 13:38
sitebuilderNish Nishant17-Feb-02 13:38 
GeneralRe: Re CTrayNotifyIcon Pin
Jon Hulatt17-Feb-02 22:04
Jon Hulatt17-Feb-02 22:04 
GeneralComboBox width Pin
Stephane Routelous17-Feb-02 11:43
Stephane Routelous17-Feb-02 11:43 
GeneralRe: ComboBox width Pin
Shog917-Feb-02 13:22
sitebuilderShog917-Feb-02 13:22 
GeneralRe: ComboBox width Pin
Jon Hulatt17-Feb-02 22:05
Jon Hulatt17-Feb-02 22:05 
GeneralYour op. about .Net Pin
blink4me17-Feb-02 11:16
blink4me17-Feb-02 11:16 
GeneralRe: Your op. about .Net Pin
Christian Graus17-Feb-02 12:22
protectorChristian Graus17-Feb-02 12: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.