14 lines
224 B
C++
14 lines
224 B
C++
#include <cstdlib>
|
|
#include <iostream>
|
|
|
|
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;
|
|
}
|