#include #include int main(int argc, char *argv[]) { FILE ofile; ofile = fopen("testdoc", "r"); fclose(ofile); initscr(); // Here's the oops endwin(); }