Пример #1
0
int 
main( const int argc, const char **argv )
{
   MC::MC_Driver driver;
   
   driver.parse(std::cin);   
   
   driver.print(std::cout) << "\n";

   return( EXIT_SUCCESS );
}
Пример #2
0
int 
main(const int argc, const char **argv)
{
   if(argc != 2 ) 
      return ( EXIT_FAILURE );
   MC::MC_Driver driver;
   
   driver.parse( argv[1] );
   
   std::cout << "Results\n";
   
   driver.print(std::cout) << "\n";

   return( EXIT_SUCCESS );
}