【VC开源代码栏目提醒】:网学会员为广大网友收集整理了,ex2.cpp,希望对大家有所帮助!
// ex2.cpp : Defines the entry point for the DLL application.
//
#include "stdafx.h"
#include "ex2.h"
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
return TRUE;
}
//类point的构造函数
point::point()
{
x = 0.0;
y = 0.0;
}
point::setpoint(float x_set, float y_set)
{
x = x_set;
y = y_set;
}