Click here to Skip to main content
15,899,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHelp!Can anyone mail a copy of 'Photoshop File Format Document'? Pin
WrestSoft3-Jan-10 1:32
WrestSoft3-Jan-10 1:32 
AnswerRe: Help!Can anyone mail a copy of 'Photoshop File Format Document'? Pin
WrestSoft6-Jan-10 3:25
WrestSoft6-Jan-10 3:25 
QuestionRtlCopyMemory() question Pin
Mattzimmerer2-Jan-10 19:25
Mattzimmerer2-Jan-10 19:25 
AnswerRe: RtlCopyMemory() question Pin
«_Superman_»2-Jan-10 19:35
professional«_Superman_»2-Jan-10 19:35 
QuestionAccess CPU register Pin
ludi04232-Jan-10 18:51
ludi04232-Jan-10 18:51 
AnswerRe: Access CPU register Pin
«_Superman_»2-Jan-10 19:28
professional«_Superman_»2-Jan-10 19:28 
GeneralRe: Access CPU register Pin
ludi04232-Jan-10 19:46
ludi04232-Jan-10 19:46 
GeneralRe: Access CPU register Pin
«_Superman_»2-Jan-10 20:07
professional«_Superman_»2-Jan-10 20:07 
GeneralRe: Access CPU register Pin
Rajesh R Subramanian3-Jan-10 6:35
professionalRajesh R Subramanian3-Jan-10 6:35 
QuestionChange all window color Pin
Ruscoff2-Jan-10 11:42
Ruscoff2-Jan-10 11:42 
AnswerRe: Change all window color Pin
Richard MacCutchan2-Jan-10 21:54
mveRichard MacCutchan2-Jan-10 21:54 
Question[Message Deleted] Pin
Mattzimmerer2-Jan-10 3:28
Mattzimmerer2-Jan-10 3:28 
AnswerRe: System::String ^ to LPCVOID conversion? Pin
Chris Losinger2-Jan-10 5:39
professionalChris Losinger2-Jan-10 5:39 
QuestionCombobox in DLL Pin
Anu_Bala1-Jan-10 17:59
Anu_Bala1-Jan-10 17:59 
AnswerRe: Combobox in DLL Pin
Richard MacCutchan1-Jan-10 23:50
mveRichard MacCutchan1-Jan-10 23:50 
GeneralRe: Combobox in DLL Pin
Anu_Bala3-Jan-10 16:43
Anu_Bala3-Jan-10 16:43 
GeneralRe: Combobox in DLL Pin
Richard MacCutchan3-Jan-10 22:05
mveRichard MacCutchan3-Jan-10 22:05 
GeneralRe: Combobox in DLL Pin
Anu_Bala3-Jan-10 23:17
Anu_Bala3-Jan-10 23:17 
GeneralRe: Combobox in DLL Pin
Richard MacCutchan3-Jan-10 23:40
mveRichard MacCutchan3-Jan-10 23:40 
GeneralRe: Combobox in DLL Pin
Anu_Bala4-Jan-10 0:49
Anu_Bala4-Jan-10 0:49 
GeneralRe: Combobox in DLL Pin
Richard MacCutchan4-Jan-10 1:01
mveRichard MacCutchan4-Jan-10 1:01 
AnswerRe: Combobox in DLL Pin
Tim Craig2-Jan-10 13:03
Tim Craig2-Jan-10 13:03 
QuestionRestricting rights to delete a dynamic array ? [modified] Pin
doug251-Jan-10 12:35
doug251-Jan-10 12:35 
AnswerRe: Restricting rights to delete a dynamic array ? Pin
«_Superman_»1-Jan-10 14:33
professional«_Superman_»1-Jan-10 14:33 
GeneralRe: Restricting rights to delete a dynamic array ? Pin
doug251-Jan-10 16:28
doug251-Jan-10 16:28 
that's a good idea.

but unfortunately, I don't think it would be suitable for the case I have.

I've implemented a container class so the array at hand is an array of user defined types.
It would be ok if I could make a template subclass of user class, which was an exact copy and where the delete / operator delete was definately not overloaded by the user's class but so the container is more all round, I'll leave it how it is.

I think there's probably no reason for someone to delete the array when they can see it's declared const. So maybe the best solution is to just add a comment so a user knows not to delete it directly. Or an example of how to use the container.

Now, I have a better idea of what's possible and what's not.

thanks

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.