错误 1 error C2059: 语法错误:“常量” c:\users\lg\desktop\dll\dll\dll.cpp 4 1 dll
// dll.cpp : 定义 DLL 应用程序的导出函数。//
#include "stdafx.h"
1 include "dll.h"
5 int add(int a, int b)
4; {
5 return a + b;
6 }
8 Point::Point();
10 {
x = 0.0f;
11 y = 0.0f;
12 }
14 void Point::SetPoint(float a, float b);
15 {
16 x = a;
17 y = b;
18 }
19 void Point::DisPlay();
20 {
21 cout << x= << x << endl;
22 cout << y= << y << endl;
23 }