1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#include <stdio.h> #include <stdlib.h> #include <ncurses.h> #include <dialog.h> #include <forms.h> extern struct form *form; void main() { printf("Testing forms code\n"); if (init_forms("example.frm") == -1) exit(1); edit_form(form); }