proj home

Files   Classes   Functions   Hierarchy  

main.cpp File Reference

#include <cassert>
#include <iostream>
#include <commandline.h>
#include <plotpolartest.h>

Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)


Function Documentation

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 }


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