Click here to Skip to main content
15,887,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DMC and GCC not compatible with each other! Damn! Pin
Lord Kixdemp12-Feb-06 12:35
Lord Kixdemp12-Feb-06 12:35 
GeneralRe: DMC and GCC not compatible with each other! Damn! Pin
Lord Kixdemp12-Feb-06 12:46
Lord Kixdemp12-Feb-06 12:46 
GeneralRe: DMC and GCC not compatible with each other! Damn! Pin
Ryan Binns12-Feb-06 15:00
Ryan Binns12-Feb-06 15:00 
GeneralRe: DMC and GCC not compatible with each other! Damn! Pin
Lord Kixdemp12-Feb-06 17:17
Lord Kixdemp12-Feb-06 17:17 
GeneralRe: DMC and GCC not compatible with each other! Damn! Pin
Ryan Binns12-Feb-06 17:24
Ryan Binns12-Feb-06 17:24 
GeneralRe: DMC and GCC not compatible with each other! Damn! Pin
Lord Kixdemp12-Feb-06 17:29
Lord Kixdemp12-Feb-06 17:29 
QuestionMFC, CPictureCtrl, IPicture, gd lib Pin
rspielmann12-Feb-06 12:10
rspielmann12-Feb-06 12:10 
QuestionQuestion about 'new' and 'delete' Pin
Richard Andrew x6412-Feb-06 11:52
professionalRichard Andrew x6412-Feb-06 11:52 
Hello,

Is it legal to 'delete' single elements of an array that was allocated all at once with 'new Array[Count]' ??

I want to allocate an array of stuff as in 'pArray = new Type[5];'

But I want to de-allocate each element one at a time as in:

for ( a = 0; a < Count; a ++ )
delete pArray[a];


It is giving me ASSERT failures in the C runtime, so I'm thinking that this may not be allowed.

Thanks,
Rich
AnswerRe: Question about 'new' and 'delete' Pin
rspielmann12-Feb-06 12:12
rspielmann12-Feb-06 12:12 
GeneralRe: Question about 'new' and 'delete' Pin
Richard Andrew x6412-Feb-06 12:39
professionalRichard Andrew x6412-Feb-06 12:39 
AnswerRe: Question about 'new' and 'delete' Pin
Ryan Binns12-Feb-06 12:26
Ryan Binns12-Feb-06 12:26 
GeneralRe: Question about 'new' and 'delete' Pin
Richard Andrew x6412-Feb-06 12:38
professionalRichard Andrew x6412-Feb-06 12:38 
AnswerRe: Question about 'new' and 'delete' Pin
Michael Dunn12-Feb-06 12:56
sitebuilderMichael Dunn12-Feb-06 12:56 
GeneralRe: Question about 'new' and 'delete' Pin
Richard Andrew x6412-Feb-06 13:00
professionalRichard Andrew x6412-Feb-06 13:00 
AnswerRe: Question about 'new' and 'delete' Pin
ThatsAlok14-Feb-06 17:30
ThatsAlok14-Feb-06 17:30 
Questionfopen error (due to string??) Pin
kittymew12-Feb-06 9:38
kittymew12-Feb-06 9:38 
AnswerRe: fopen error (due to string??) Pin
Spykraft13-Feb-06 2:03
Spykraft13-Feb-06 2:03 
QuestionNeed help with HugeInt class program Pin
mattherb18212-Feb-06 8:37
mattherb18212-Feb-06 8:37 
AnswerRe: Need help with HugeInt class program Pin
rspielmann12-Feb-06 12:18
rspielmann12-Feb-06 12:18 
GeneralRe: Need help with HugeInt class program Pin
mattherb18212-Feb-06 15:42
mattherb18212-Feb-06 15:42 
QuestionShell Namespace; Going Async Pin
__int6412-Feb-06 6:52
__int6412-Feb-06 6:52 
QuestionHelp?? How to Fade out text using CStatic Pin
LivingThoughts12-Feb-06 6:45
LivingThoughts12-Feb-06 6:45 
AnswerRe: Help?? How to Fade out text using CStatic Pin
Iain Clarke, Warrior Programmer12-Feb-06 12:33
Iain Clarke, Warrior Programmer12-Feb-06 12:33 
GeneralRe: Help?? How to Fade out text using CStatic Pin
LivingThoughts12-Feb-06 16:24
LivingThoughts12-Feb-06 16:24 
QuestionScrollbar in CFormView does not work,why? Pin
lostangels12-Feb-06 4:46
lostangels12-Feb-06 4:46 

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.