J
Jannis Linxweiler
Hi guys!
I'm fairly new to managed C++, so I hope someone can help me.
I've got a Problem with the native C++ types. What I did is using an jagged
array of double in my managed app.
The code looks like this:
double** arr = new double*[1000];
for(int i=0; i<1000; i++)
arr = new double[1000];
In a new console app there was no error if I tried to compile it.
Now I wanted to use this code in a new library project witch i startet.
But in this time the compiler gave my the following errormessage:
MC++ClassLibrary error LNK2001: Nichtaufgelöstes externes Symbol "void *
__cdecl operator new(unsigned int)"
This means something like: Not dispersed external symbol "void * __cdecl
operator new(unsigned int)"
It would help me verry much if someone of you could give me a hint.
In my opinion there is a problem with the sign "new". Maybe I have to
include a library.
Thanx, Jannis
I'm fairly new to managed C++, so I hope someone can help me.
I've got a Problem with the native C++ types. What I did is using an jagged
array of double in my managed app.
The code looks like this:
double** arr = new double*[1000];
for(int i=0; i<1000; i++)
arr = new double[1000];
In a new console app there was no error if I tried to compile it.
Now I wanted to use this code in a new library project witch i startet.
But in this time the compiler gave my the following errormessage:
MC++ClassLibrary error LNK2001: Nichtaufgelöstes externes Symbol "void *
__cdecl operator new(unsigned int)"
This means something like: Not dispersed external symbol "void * __cdecl
operator new(unsigned int)"
It would help me verry much if someone of you could give me a hint.
In my opinion there is a problem with the sign "new". Maybe I have to
include a library.
Thanx, Jannis