Click here to Skip to main content
15,886,519 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: new and delete Pin
Waldermort26-Mar-06 6:58
Waldermort26-Mar-06 6:58 
GeneralRe: new and delete Pin
RChin26-Mar-06 7:34
RChin26-Mar-06 7:34 
GeneralRe: new and delete Pin
PJ Arends26-Mar-06 10:11
professionalPJ Arends26-Mar-06 10:11 
AnswerRe: new and delete Pin
Stephen Hewitt26-Mar-06 11:33
Stephen Hewitt26-Mar-06 11:33 
AnswerRe: new and delete Pin
Axter26-Mar-06 14:53
professionalAxter26-Mar-06 14:53 
GeneralRe: new and delete Pin
sunit526-Mar-06 17:51
sunit526-Mar-06 17:51 
GeneralRe: new and delete Pin
Eytukan26-Mar-06 21:55
Eytukan26-Mar-06 21:55 
GeneralRe: new and delete Pin
sunit527-Mar-06 0:58
sunit527-Mar-06 0:58 
No doubt memory leak can cause crash.

Axter wrote:
The main reason you're getting the crash is because you're using the wrong deallocator.

but i wanted to highlight the using delete in place of delete[](when using new[])the program will not crash when executing it.

never say die

-- modified at 6:59 Monday 27th March, 2006
GeneralRe: new and delete Pin
Waldermort27-Mar-06 1:59
Waldermort27-Mar-06 1:59 
GeneralRe: new and delete Pin
sunit527-Mar-06 18:28
sunit527-Mar-06 18:28 
QuestionQuick answer would be great Pin
Waldermort26-Mar-06 3:14
Waldermort26-Mar-06 3:14 
AnswerRe: Quick answer would be great Pin
toxcct26-Mar-06 3:44
toxcct26-Mar-06 3:44 
AnswerRe: Quick answer would be great Pin
eli1502197926-Mar-06 3:45
eli1502197926-Mar-06 3:45 
GeneralRe: Quick answer would be great Pin
Waldermort26-Mar-06 3:54
Waldermort26-Mar-06 3:54 
QuestionExporting functions with strings Pin
mosquitooth26-Mar-06 1:49
mosquitooth26-Mar-06 1:49 
AnswerRe: Exporting functions with strings Pin
Giannakakis Kostas26-Mar-06 18:35
professionalGiannakakis Kostas26-Mar-06 18:35 
AnswerRe: Abstract dataype Pin
PJ Arends26-Mar-06 11:31
professionalPJ Arends26-Mar-06 11:31 
QuestionText Formatting Pin
Waldermort26-Mar-06 1:38
Waldermort26-Mar-06 1:38 
QuestionClass Creation Problem Pin
vin36925-Mar-06 23:52
vin36925-Mar-06 23:52 
AnswerRe: Class Creation Problem Pin
Stephen Hewitt26-Mar-06 12:14
Stephen Hewitt26-Mar-06 12:14 
Questionfont of barcode Pin
includeh1025-Mar-06 22:27
includeh1025-Mar-06 22:27 
QuestionBeginner's Guide to DirectX Pin
WhatNameHasn'tBeenTakenYet25-Mar-06 22:10
WhatNameHasn'tBeenTakenYet25-Mar-06 22:10 
AnswerRe: Beginner's Guide to DirectX Pin
CaesarCZ25-Mar-06 23:06
CaesarCZ25-Mar-06 23:06 
GeneralRe: Beginner's Guide to DirectX Pin
WhatNameHasn'tBeenTakenYet25-Mar-06 23:52
WhatNameHasn'tBeenTakenYet25-Mar-06 23:52 
QuestionDisplaying float in MessageBox Pin
Steve Kelly25-Mar-06 20:59
Steve Kelly25-Mar-06 20:59 

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.