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

C / C++ / MFC

 
GeneralRe: Can I use gif images for some toolbar buttons? Pin
Iain Clarke, Warrior Programmer30-Jun-08 2:27
Iain Clarke, Warrior Programmer30-Jun-08 2:27 
GeneralRe: Can I use gif images for some toolbar buttons? Pin
danginkgo30-Jun-08 2:31
danginkgo30-Jun-08 2:31 
GeneralRe: Can I use gif images for some toolbar buttons? Pin
Nibu babu thomas30-Jun-08 2:45
Nibu babu thomas30-Jun-08 2:45 
GeneralRe: Can I use gif images for some toolbar buttons? Pin
danginkgo30-Jun-08 3:11
danginkgo30-Jun-08 3:11 
QuestionC++ Newbie question Pin
kaminem30-Jun-08 0:05
kaminem30-Jun-08 0:05 
AnswerRe: C++ Newbie question Pin
toxcct30-Jun-08 0:16
toxcct30-Jun-08 0:16 
GeneralRe: C++ Newbie question Pin
kaminem30-Jun-08 0:26
kaminem30-Jun-08 0:26 
GeneralRe: C++ Newbie question Pin
toxcct30-Jun-08 1:30
toxcct30-Jun-08 1:30 
there are several points I don't get.

first, you didn't answered my previous question : why do you use a pointer of pointer if you have a simple "list" ?

also, if you're familiar with STL, why not using it ?

and to answer your question (which I don't think is the good design to follow though), no it's impossible to litteraly "add a structure at the end of a pointer to pointer". for that, you'll have to allocate a new area with a size of "last array"+1, then copy every old pointers address into the new "list", and add the pointer to your new struct at the end of the list. at last, don't forget to delete the old array.

but I still think you'd better use a vector. the std::vector::push_back() function will do this transparently for you...


AnswerRe: C++ Newbie question Pin
Saurabh.Garg30-Jun-08 0:17
Saurabh.Garg30-Jun-08 0:17 
GeneralRe: C++ Newbie question Pin
kaminem30-Jun-08 0:24
kaminem30-Jun-08 0:24 
GeneralRe: C++ Newbie question Pin
markkuk30-Jun-08 1:28
markkuk30-Jun-08 1:28 
Questionprint input parameter values Pin
George_George29-Jun-08 23:35
George_George29-Jun-08 23:35 
AnswerRe: print input parameter values Pin
Rajesh R Subramanian29-Jun-08 23:41
professionalRajesh R Subramanian29-Jun-08 23:41 
GeneralRe: print input parameter values Pin
George_George30-Jun-08 1:10
George_George30-Jun-08 1:10 
GeneralRe: print input parameter values Pin
Rajesh R Subramanian30-Jun-08 1:24
professionalRajesh R Subramanian30-Jun-08 1:24 
GeneralRe: print input parameter values Pin
George_George30-Jun-08 1:46
George_George30-Jun-08 1:46 
GeneralRe: print input parameter values Pin
Rajesh R Subramanian30-Jun-08 2:15
professionalRajesh R Subramanian30-Jun-08 2:15 
GeneralRe: print input parameter values Pin
George_George30-Jun-08 2:27
George_George30-Jun-08 2:27 
GeneralRe: print input parameter values Pin
Rajesh R Subramanian30-Jun-08 2:48
professionalRajesh R Subramanian30-Jun-08 2:48 
GeneralRe: print input parameter values Pin
George_George30-Jun-08 16:03
George_George30-Jun-08 16:03 
GeneralRe: print input parameter values Pin
Hamid_RT30-Jun-08 23:08
Hamid_RT30-Jun-08 23:08 
GeneralRe: print input parameter values Pin
George_George30-Jun-08 23:24
George_George30-Jun-08 23:24 
GeneralRe: print input parameter values Pin
Hamid_RT1-Jul-08 21:39
Hamid_RT1-Jul-08 21:39 
GeneralRe: print input parameter values Pin
George_George2-Jul-08 1:42
George_George2-Jul-08 1:42 
GeneralRe: print input parameter values Pin
Hamid_RT2-Jul-08 18:16
Hamid_RT2-Jul-08 18:16 

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.