proj home

Files   Classes   Functions   Hierarchy  

main.cpp

Go to the documentation of this file.
00001 
00002 #include <cassert>
00003 #include <iostream>
00004 using namespace std;
00005 
00006 #include <commandline.h>
00007 #include <plotpolartest.h>
00008 
00009 int main(int argc, char** argv)
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 }
00028 
00029 

Generated on Fri Mar 4 00:49:25 2011 for Chelton Evans Source by  doxygen 1.5.8