-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nemo wrote:
Hello Folks,
I need to manipulate a list of char strings as follows, but when I want to
delete the pointer created with new at the end, delete operator crashes, any
idea?
char* list[2000];
while(...)
{
list[MyCounter] = new char [Stringlength];
[snip]
Sorry, but you have the wrong language. Your code is not C (the topic of the
comp.lang.c newsgroup), and appears to be C++ (or perhaps C#)
You've got the wrong room. comp.lang.c++ is down the hall, the 2nd door on the
right (just past the watercooler).
- --
Lew Pitcher
IT Specialist, Corporate Technology Solutions,
Enterprise Technology Solutions, TD Bank Financial Group
(Opinions expressed are my own, not my employers')
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
iD8DBQFD/hZPagVFX4UWr64RAjfhAJ9kr1ikJyy0HOKQQganQgfqWBmZnwC guDCj
yyjm/beYvTvYtUn4kcL/2bQ=
=3K/p
-----END PGP SIGNATURE-----