Source of test_vehicle.cpp


  1: /** @file testvehicle.cpp
  2: Based on an example from N. Josuttis, Object-Oriented Programming in C++.
  3: */

  5: #include <iostream>
  6: using namespace std;

  8: //#include "vehicle_nv.hpp"
  9: //#include "vehicle_v.hpp"
 10: //#include "vehicle_vnv.hpp"
 11: using Josuttis::Amphibian;

 13: int main()
 14: {
 15:     Amphibian amphibian;
 16:     amphibian.setAndShowInfo();
 17: }