Files Classes Functions Hierarchy
#include <cassert>#include <iostream>#include <commandline.h>#include <plotpolartest.h>
Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 9 of file main.cpp.
References commandline::mapvar().
00010 { 00011 commandline cmd(argc,argv); 00012 uint prog(0); 00013 cmd.mapvar(prog,"prog"); 00014 00015 switch (prog) 00016 { 00017 case 0: 00018 cout << "$ ./main prog=1" << " Plot a polar function with axes." << endl; 00019 break; 00020 00021 case 1: return plotpolartest().test01(argc,argv); 00022 00023 default: cout << "error: No case handled." << endl; return 1; 00024 } 00025 00026 return 0; 00027 }
1.5.8