Click here to Skip to main content
15,898,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListBox AddString Question/Problem Pin
Antony M Kancidrowski13-Oct-04 8:51
Antony M Kancidrowski13-Oct-04 8:51 
GeneralRe: CListBox AddString Question/Problem Pin
otrcomm13-Oct-04 11:20
otrcomm13-Oct-04 11:20 
GeneralRe: CListBox AddString Question/Problem Pin
Antony M Kancidrowski13-Oct-04 11:37
Antony M Kancidrowski13-Oct-04 11:37 
GeneralImage Editor Pin
Vini Deep12-Oct-04 20:38
Vini Deep12-Oct-04 20:38 
GeneralHelp Needed (Toolbar) Pin
Avinash Gupta12-Oct-04 20:28
Avinash Gupta12-Oct-04 20:28 
GeneralRe: Help Needed (Toolbar) Pin
Cedric Moonen12-Oct-04 20:49
Cedric Moonen12-Oct-04 20:49 
Generalhelp needed....Creating a 3D graph at the end of execution... Pin
Kiran Satish12-Oct-04 19:25
Kiran Satish12-Oct-04 19:25 
Generaldeleting double pointers Pin
Majid Shahabfar12-Oct-04 19:23
Majid Shahabfar12-Oct-04 19:23 
struct GroupConstant<br />
{<br />
CString** grpConst;<br />
};<br />
<br />
GroupConstant** m_pGrpConst;<br />
<br />
m_pGrpConst = new GroupConstant*[200];<br />
for(BYTE i=0 ; i<200 ; i++)<br />
m_pGrpConst[i] = new GroupConstant[50];<br />
<br />
CString** pstr = new CString*[4];<br />
for(BYTE i=0 ; i<4 ; i++)<br />
pstr[i] = new CString[2];<br />
<br />
<br />
GroupConstant** ppTemp = m_pGrpConst;<br />
GroupConstant* pTemp = (*m_pGrpConst);<br />
<br />
for(i=0 ; i<200 ; i++)<br />
{<br />
for(BYTE j=0 ; j<50 ; j++)<br />
{<br />
(*m_pGrpConst)->grpConst = pstr;<br />
(*m_pGrpConst)++;<br />
}<br />
(*m_pGrpConst) = pTemp;<br />
}<br />
m_pGrpConst = ppTemp;<br />


I have two double pointers. one is a content of the structure and other is pointer to the structure.
I initiate these double pointers as you see in the code. but now I have a problem with deleting these pointes.
how can I delete the double pointer included with structure and double pointer points to structur.
Thank you in advance.
QuestionHow to solve this Problem? Pin
pubududilena12-Oct-04 18:34
pubududilena12-Oct-04 18:34 
AnswerRe: How to solve this Problem? Pin
Ryan Binns12-Oct-04 18:48
Ryan Binns12-Oct-04 18:48 
GeneralRe: How to solve this Problem? Pin
pubududilena12-Oct-04 19:06
pubududilena12-Oct-04 19:06 
AnswerRe: How to solve this Problem? Pin
Michael Dunn12-Oct-04 20:19
sitebuilderMichael Dunn12-Oct-04 20:19 
QuestionHow to put a progress in my project ? Pin
King of Merit12-Oct-04 16:57
King of Merit12-Oct-04 16:57 
AnswerRe: How to put a progress in my project ? Pin
Sujan Christo12-Oct-04 18:19
Sujan Christo12-Oct-04 18:19 
AnswerRe: How to put a progress in my project ? Pin
ThatsAlok12-Oct-04 18:45
ThatsAlok12-Oct-04 18:45 
QuestionWhat does "const vector& vars" mean? Pin
Rafferty Uy12-Oct-04 16:11
Rafferty Uy12-Oct-04 16:11 
AnswerRe: What does &quot;const vector&amp; vars&quot; mean? Pin
Ryan Binns12-Oct-04 18:07
Ryan Binns12-Oct-04 18:07 
GeneralRe: What does &quot;const vector&amp; vars&quot; mean? Pin
Rafferty Uy12-Oct-04 20:41
Rafferty Uy12-Oct-04 20:41 
GeneralRe: What does &quot;const vector&amp; vars&quot; mean? Pin
Ryan Binns13-Oct-04 1:59
Ryan Binns13-Oct-04 1:59 
GeneralFile access rights Pin
Anonymous12-Oct-04 16:04
Anonymous12-Oct-04 16:04 
GeneralRe: File access rights Pin
Ryan Binns12-Oct-04 18:12
Ryan Binns12-Oct-04 18:12 
GeneralRe: File access rights Pin
Sudhir Mangla12-Oct-04 18:34
professionalSudhir Mangla12-Oct-04 18:34 
GeneralCString undeclared?! Pin
jadegal12-Oct-04 13:38
jadegal12-Oct-04 13:38 
GeneralRe: CString undeclared?! Pin
Christian Graus12-Oct-04 13:55
protectorChristian Graus12-Oct-04 13:55 
GeneralRe: CString undeclared?! Pin
Yulianto.12-Oct-04 19:52
Yulianto.12-Oct-04 19:52 

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.