My program compiles fine, but I get this when I try to build it using MS VC++:
I have a namespace coordinates and a struct coordinates.Code:main.obj : error LNK2001: unresolved external symbol "double __cdecl coordinates::distancePoint2D(double,struct coordinates::coordinates *)" (?distancePoint2D@coordinates@@YANNPAU11@@Z)
This is a function I have which seems to be causing the error:
Any ideas?Code:double distancePoint2D(double dDistance, Point2D *point);