#include "mathlink.h" int f(int x, int y) { return x+y; } int main(int argc, char *argv[]) { return MLMain(argc, argv); }