newlib/winsup/mingw/samples/dlltest/exe.c

24 lines
227 B
C
Raw Normal View History

2002-05-28 15:13:45 +02:00
#include <stdio.h>
#include "dll.h"
int main()
{
int i, j, k;
double dk;
i = 10;
j = 13;
k = Add(i, j);
printf ("%d + %d = %d\n", i, j, k);
dk = Sub(i, j);
printf ("%d - %d = %f\n", i, j, dk);
return 0;
}