entry point must be defined

Posts 1–5 of 5 · Page 1 of 1
entry point must be defined
Code:
inline float Vector::NormalizeInPlace()
{
	Vector& v = *this;

	float iradius = 1.f / (this->Length() + 1.192092896e-07F); 

	v.x *= iradius;
	v.y *= iradius;
	v.z *= iradius;
}
Error~[LNK1561] Entry Point Must Be Defined

not sure what to do :I
Moved to the "Coding" section as i believe you'll get better answers there.
I hope you are actually not serious with that.

That code has nothing to do with the error.

Infact, the error even tells you what's wrong.

Define an entry point, your compiler doesn't know where all of your code starts.
int main(){

// THIS IS YOUR ENTRY POINT. PLEASE USE IT (also could be DLLMAIN or tMain or some others)

}
Seems this has been solved.


/Closed and marked "Solved".
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us