
Keith B. answered 08/22/19
Tutor
4.6
(22)
Software Engineer and Math Geek
You can try checking the command line arguments, often time this is passed in.
int main(int ac,char *av[])
av[0] is always the program name itself.