myObject = new myClass();
But you have assigned myObject to an instance...
NrmMyth
Posts
-
exception -
exceptionZeeshanAhmedpk wrote:
myClass myObject = null; myObject = new myClass();
Why this?
-
Unmanaged C++ DLL Callingvitowong wrote:
[StructLayout(LayoutKind.Sequential)] public struct MyArray3 { public MyArray2[] tempArray2; }
Underlined should be also marshaled.
-
Cin and Cout- Class or objectmy bad, weren't thinking also, i never used word "object" for "instance", personal opinion
-
Cin and Cout- Class or objectcin is a class... well how do you percept a difference between class and object?
-
Right shift/Left shift + 1's compliment conceptsNULL, every one-bit is shifted of the block.
-
Defenition of library functionI think you can't find the definition because they are compiled into library files.
-
Define interface / abstract class with constructorAbstract classes can't be initialized, and constructors can't be virtual => no need for constructors. Abstract is a class-keyword...
-
How to cast pointer from one type to another typeCreate a copy constructor
-
To you ,smart ones.At this moment if someone on Windows doesn't have .NET framework then that is mainly theirs problem...
-
Char Array questionEverything is allocated on stack unless you explicitly allocate with
new
,malloc
,realloc
... -
external dependenciesSee "Dependancy Walker".
-
TemplatesI aplogize for every mental pain I caused. Please accept it.
-
TemplatesYou gave an wrong information. I think that everyone has a right to correct you.
-
Casting problem (String* to LPCVOID)See
System::Runtime::InteropServices::Marshal
class. -
Templatestoxcct wrote:
because T is assigned at runtime
Templates ane not .NET generics. Compiler generates all specializations for used parameters.
template class CLS; CLS aaa; CLS > bbb;
At compile time, this will createdouble
andvector
specializations for template. -
Searching through a file [modified]Load the file into memory and search then. It's easier and faster.
-
Problem with the pow( ) function [modified]If you know nothing about function overloading just cast both parameters to (double) and it will compile.
tempDistance += pow(((double)data[selectedInstance][k]-data[j][k]),2.0);
-
error LNK2019well... don't know what to say
-
error LNK2019LCI wrote:
Where do i start when figuring out an error LNK2019: unresolved external symbol ?
MSDN...? It seems that the definition of getMyMap can't be found, if it's in another file make sure that you are linking with it.