059b59c98e
trying to get plugins working on Cygwin. Added Files: Makefile test1-static/* test2-dynamic/* test3-twomodules/* test4-interdep/*
17 lines
384 B
C++
17 lines
384 B
C++
#include <stdio.h>
|
|
#include "module1.h"
|
|
#include "module2.h"
|
|
|
|
int main ()
|
|
{
|
|
printf ("start\n");
|
|
printf ("at first, n_operations = %d\n", n_operations);
|
|
printf ("Module name is '%s'\n", module_name);
|
|
int a=5, b=12;
|
|
int c = operate (a, b);
|
|
printf ("operate(%d,%d) = %d\n", a, b, c);
|
|
printf ("stop\n");
|
|
printf ("at end, n_operations = %d\n", n_operations);
|
|
return 0;
|
|
}
|