Click here to Skip to main content
15,916,318 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Stack overflow Pin
Tim Craig5-Apr-10 18:20
Tim Craig5-Apr-10 18:20 
GeneralRe: Stack overflow Pin
Luc Pattyn5-Apr-10 18:31
sitebuilderLuc Pattyn5-Apr-10 18:31 
GeneralRe: Stack overflow Pin
Luc Pattyn5-Apr-10 18:31
sitebuilderLuc Pattyn5-Apr-10 18:31 
GeneralRe: Stack overflow Pin
CPallini5-Apr-10 21:27
mveCPallini5-Apr-10 21:27 
GeneralRe: Stack overflow Pin
Tim Craig6-Apr-10 8:31
Tim Craig6-Apr-10 8:31 
GeneralRe: Stack overflow Pin
CPallini6-Apr-10 9:23
mveCPallini6-Apr-10 9:23 
AnswerRe: Stack overflow Pin
Adam Roderick J5-Apr-10 19:02
Adam Roderick J5-Apr-10 19:02 
QuestionRe: Stack overflow Pin
browneyes867-Apr-10 4:27
browneyes867-Apr-10 4:27 
so i tried this but keep getting errors on _variant_t *p line:

****************************************************
initialize array

vector<_variant_t> d(10000);
//_variant_t** 2d = new _(variant_t*)[10000];

for(long k = 0; k < d.size(); ++k)
{
d[k] = new _variant_t();

***********************************************************
delete array

for(k = 0; k < d.size(); ++k)
{
_variant_t* p = d[k]; (error = cannot convert from 'class _variant_t' to 'class _variant_t *')

delete [] p;


}
AnswerRe: Stack overflow Pin
jagadish bharath7-Apr-10 5:42
jagadish bharath7-Apr-10 5:42 
QuestionRe: Stack overflow Pin
browneyes867-Apr-10 5:55
browneyes867-Apr-10 5:55 
AnswerRe: Stack overflow Pin
jagadish bharath7-Apr-10 7:18
jagadish bharath7-Apr-10 7:18 
Questiondelete breaking heap [modified] - solved Pin
PaulowniaK5-Apr-10 15:21
PaulowniaK5-Apr-10 15:21 
AnswerRe: delete breaking heap Pin
Adam Roderick J5-Apr-10 19:03
Adam Roderick J5-Apr-10 19:03 
AnswerRe: delete breaking heap [modified] Pin
Eugen Podsypalnikov5-Apr-10 20:22
Eugen Podsypalnikov5-Apr-10 20:22 
AnswerRe: delete breaking heap [modified] - solved Pin
Tim Craig6-Apr-10 8:34
Tim Craig6-Apr-10 8:34 
QuestionhInstance / Win32 Pin
Fareed Rizkalla5-Apr-10 6:19
Fareed Rizkalla5-Apr-10 6:19 
AnswerRe: hInstance / Win32 Pin
Chris Meech5-Apr-10 6:27
Chris Meech5-Apr-10 6:27 
AnswerRe: hInstance / Win32 Pin
Joe Woodbury5-Apr-10 6:31
professionalJoe Woodbury5-Apr-10 6:31 
QuestionRe: hInstance / Win32 Pin
Fareed Rizkalla5-Apr-10 6:44
Fareed Rizkalla5-Apr-10 6:44 
AnswerRe: hInstance / Win32 Pin
Joe Woodbury5-Apr-10 7:02
professionalJoe Woodbury5-Apr-10 7:02 
Questionsort CListCtrl specially Pin
includeh105-Apr-10 6:18
includeh105-Apr-10 6:18 
QuestionRe: sort CListCtrl specially Pin
David Crow5-Apr-10 16:36
David Crow5-Apr-10 16:36 
Questionc progrmng code help for the following algo Pin
abhijit.hzrk5-Apr-10 5:38
abhijit.hzrk5-Apr-10 5:38 
AnswerRe: c progrmng code help for the following algo Pin
Chris Losinger5-Apr-10 8:07
professionalChris Losinger5-Apr-10 8:07 
Questioncode page Pin
Member 5903105-Apr-10 2:28
Member 5903105-Apr-10 2:28 

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.