13 lines
181 B
C
13 lines
181 B
C
#if defined (__BORLANDC__)
|
|
#define DLL_SPEC __declspec(dllexport)
|
|
#else
|
|
#define DLL_SPEC
|
|
#endif
|
|
|
|
#include "mean.h"
|
|
|
|
double DLL_SPEC
|
|
mean(double a, double b) {
|
|
return (a+b) / 2;
|
|
}
|