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