#include int main(void) { // CX context (Window, neural network, threads.) CX_Context *cx_ctx; int retval; if (cx_init(&cx_ctx)) { return -1; } // Do magic retval = cx_run(cx_ctx); // Complain about failure return retval; }