#include <stdio.h> int dosomething() { printf("done!"); return 0; } int main() { printf("press any key to continue"); getchar(); dosomething(); return 0; }