#include #include inline void print_prog(char *prog_name) { std::cout << "Program name: " << prog_name << std::endl; } int main(int argc, char *argv[]) { print_prog(argv[0]); return EXIT_SUCCESS; }