I had to spend a while searching C++ forums until I understood what you
meant. Thank you for the "pointer".
Just for completeness in case anyone gets this post as a Google result:
char *data = new char(25); // pointer to character initialized with 25
char *data = new char[25]; // pointe
You appear to be using new and delete[] together. Instead you should
be using new[] and delete[] and new and delete together.
Brian
On Wed, Jun 12, 2013 at 4:44 PM, Corey Allen
wrote:
> I have done a search on this and I haven't found an explanation. I am not a
> C/C++ nor MPI expert. I am ge
I have done a search on this and I haven't found an explanation. I am not a
C/C++ nor MPI expert. I am getting a strange error when I use the C++ new
keyword to allocate memory and then call a file read on OpenMPI. (Tech
detail: 4-core Intel running Ubuntu 64-bit and OpenMPI 1.4.5. Everything is
lo