Hi all!

I have this question and i don't know anywhere else to post:
There is a vector of strings with variant length each one.
Please cout << me << a solution.
Or, check the implement below, and PLEASE HELP ME!!!!!!!!!!!
Or, maybe, please indicate another mailing list with things like that, if
this is not suitable (?!?). Maybe something like C/C++ mailing list?!?!

/*********** test.cpp*************/
    char **p;

// question is: what is the difference between the two things?
p=new (char**)[IntElems];
// or this:
p=new char*[IntElems];

/****************end***************/

If i put there p=new (char*)[IntElem] , the compiler (g++ or Borland C 3.X,
5.X) generates an error (cannot convert char* to char**) or something like
this - LOGIC!

And, when i delete the pointer p, the form should be

delete [] p;
or
delete[][]p; ?!?!?!?!?!?!?!?!?!?!?! - not logical and irrational

thanks,
[EMAIL PROTECTED]

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to