#include<iostream> #include"myfuncs.h" using namespace std; int main(int argc, char* argv[]) { try { if(argc != 3) throw(ErrMsg("main","Too few arguments.")); cout<<div(atof(argv[1]),atof(argv[2]))<<'\n'; cout<<log(atof(argv[1]))<<'\n'; } catch (ErrMsg em) { em.print_message(); exit(0); } return 0; }