Click here to Skip to main content
15,918,976 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Capture Webcam Image Pin
Chintan18-Feb-03 18:23
Chintan18-Feb-03 18:23 
GeneralMs Word Automation - How to center a Table Pin
Rafoloman11-Feb-03 1:16
Rafoloman11-Feb-03 1:16 
GeneralQuestion about delete a char* pointer Pin
George211-Feb-03 0:48
George211-Feb-03 0:48 
GeneralRe: Question about delete a char* pointer Pin
karl_w11-Feb-03 1:05
karl_w11-Feb-03 1:05 
GeneralRe: Question about delete a char* pointer Pin
George211-Feb-03 1:14
George211-Feb-03 1:14 
GeneralRe: Question about delete a char* pointer Pin
jhwurmbach11-Feb-03 1:07
jhwurmbach11-Feb-03 1:07 
GeneralRe: Question about delete a char* pointer Pin
George211-Feb-03 1:15
George211-Feb-03 1:15 
GeneralRe: Question about delete a char* pointer Pin
peterchen11-Feb-03 2:05
peterchen11-Feb-03 2:05 
jhwurmbach wrote:
But this is one of the cases where it does not matter, since char is an integral type and as such has no constructor or destructor.

This is true on most, but not all compilers. According to the standard, new must be deleted, and new[] delete[]'d.

There is no guarantee that the compiler implements new[] "on top of" new. It could even use different heaps for that!


Nur wer feige ist tötet Liebe durch das Wort allein
[sighist] | [Agile Programming] [doxygen]
If you look for evil in me you will find it whether it's there or not.

GeneralRe: Question about delete a char* pointer Pin
George211-Feb-03 13:07
George211-Feb-03 13:07 
Questionhelp please??? Pin
xxhimanshu11-Feb-03 0:02
xxhimanshu11-Feb-03 0:02 
AnswerRe: help please??? Pin
Mike Eriksson11-Feb-03 4:04
Mike Eriksson11-Feb-03 4:04 
GeneralCListCtrl - stop headers from being resized Pin
Tre K Renegade11-Feb-03 0:01
Tre K Renegade11-Feb-03 0:01 
GeneralRe: CListCtrl - stop headers from being resized Pin
Roger Allen11-Feb-03 2:06
Roger Allen11-Feb-03 2:06 
GeneralRe: CListCtrl - stop headers from being resized Pin
Mike Upton11-Feb-03 2:08
Mike Upton11-Feb-03 2:08 
GeneralRe: CListCtrl - stop headers from being resized Pin
OBRon11-Feb-03 2:34
OBRon11-Feb-03 2:34 
GeneralRe: CListCtrl - stop headers from being resized Pin
Tre K Renegade11-Feb-03 2:52
Tre K Renegade11-Feb-03 2:52 
GeneralRe: CListCtrl - stop headers from being resized Pin
Mike Upton11-Feb-03 5:18
Mike Upton11-Feb-03 5:18 
GeneralRe: CListCtrl - stop headers from being resized Pin
Tre K Renegade11-Feb-03 6:58
Tre K Renegade11-Feb-03 6:58 
GeneralRe: CListCtrl - stop headers from being resized Pin
Chris Richardson11-Feb-03 9:02
Chris Richardson11-Feb-03 9:02 
GeneralProblem solved - here's a report Pin
Tre K Renegade12-Feb-03 1:00
Tre K Renegade12-Feb-03 1:00 
GeneralSet Registry access denied Pin
rohit.dhamija10-Feb-03 23:03
rohit.dhamija10-Feb-03 23:03 
General#iclude problems Pin
mehere10-Feb-03 22:52
mehere10-Feb-03 22:52 
GeneralRe: #iclude problems Pin
jhwurmbach10-Feb-03 23:51
jhwurmbach10-Feb-03 23:51 
GeneralRe: #iclude problems Pin
karl_w11-Feb-03 1:11
karl_w11-Feb-03 1:11 
GeneralRe: #iclude problems Pin
mehere11-Feb-03 12:55
mehere11-Feb-03 12:55 

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.