Click here to Skip to main content
15,915,600 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGood Programming Practice Pin
Peter Liddle30-Apr-02 11:43
Peter Liddle30-Apr-02 11:43 
GeneralRe: Good Programming Practice Pin
Joaquín M López Muñoz30-Apr-02 11:48
Joaquín M López Muñoz30-Apr-02 11:48 
GeneralRe: Good Programming Practice Pin
Chris Losinger30-Apr-02 11:48
professionalChris Losinger30-Apr-02 11:48 
GeneralRe: Good Programming Practice Pin
Peter Liddle30-Apr-02 11:50
Peter Liddle30-Apr-02 11:50 
GeneralRe: Good Programming Practice Pin
Christian Graus30-Apr-02 11:51
protectorChristian Graus30-Apr-02 11:51 
GeneralRe: Good Programming Practice Pin
Chris Losinger30-Apr-02 11:59
professionalChris Losinger30-Apr-02 11:59 
GeneralRe: Good Programming Practice Pin
Christian Graus30-Apr-02 12:17
protectorChristian Graus30-Apr-02 12:17 
GeneralRe: Good Programming Practice Pin
Christian Graus30-Apr-02 11:49
protectorChristian Graus30-Apr-02 11:49 
You can only delete the variables you initialised in pointers. This won't work:

int i;
i = 0;
ExternalFunction(i);
delete i; // WONT WORK !!!

non pointers are deleted for you when they go out of scope.


Christian

The tragedy of cyberspace - that so much can travel so far, and yet mean so little.

And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002
GeneralRe: Good Programming Practice Pin
Peter Liddle30-Apr-02 12:00
Peter Liddle30-Apr-02 12:00 
GeneralRe: Good Programming Practice Pin
Peter Liddle30-Apr-02 12:07
Peter Liddle30-Apr-02 12:07 
GeneralRe: Good Programming Practice Pin
Chris Losinger30-Apr-02 12:09
professionalChris Losinger30-Apr-02 12:09 
GeneralFighting the optimizer Pin
Chris Losinger30-Apr-02 10:58
professionalChris Losinger30-Apr-02 10:58 
GeneralRe: Fighting the optimizer Pin
Michael Dunn30-Apr-02 11:08
sitebuilderMichael Dunn30-Apr-02 11:08 
GeneralRe: Fighting the optimizer Pin
Chris Losinger30-Apr-02 11:22
professionalChris Losinger30-Apr-02 11:22 
GeneralRe: Fighting the optimizer Pin
Joaquín M López Muñoz30-Apr-02 11:31
Joaquín M López Muñoz30-Apr-02 11:31 
GeneralRe: Fighting the optimizer Pin
Chris Losinger30-Apr-02 11:46
professionalChris Losinger30-Apr-02 11:46 
GeneralRe: Fighting the optimizer Pin
Joaquín M López Muñoz30-Apr-02 11:51
Joaquín M López Muñoz30-Apr-02 11:51 
GeneralRe: Fighting the optimizer Pin
Chris Losinger30-Apr-02 12:07
professionalChris Losinger30-Apr-02 12:07 
GeneralRe: Fighting the optimizer Pin
Joaquín M López Muñoz30-Apr-02 12:13
Joaquín M López Muñoz30-Apr-02 12:13 
GeneralRe: Fighting the optimizer Pin
Chris Losinger30-Apr-02 13:32
professionalChris Losinger30-Apr-02 13:32 
GeneralRe: Fighting the optimizer Pin
Mike Nordell1-May-02 8:38
Mike Nordell1-May-02 8:38 
GeneralRe: Fighting the optimizer Pin
Giles1-May-02 9:20
Giles1-May-02 9:20 
GeneralRe: Fighting the optimizer Pin
Chris Losinger1-May-02 9:45
professionalChris Losinger1-May-02 9:45 
QuestionIs there a RAR compression library around? Pin
Li-kai Liu (Angus)30-Apr-02 10:44
Li-kai Liu (Angus)30-Apr-02 10:44 
AnswerRe: Is there a RAR compression library around? Pin
Mike Nordell1-May-02 8:41
Mike Nordell1-May-02 8:41 

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.