1. #include <iostream>
  2. #include <fstream>
  3.  
  4. int main(int argc, char **argv)
  5. {
  6.         std::ifstream fs(argv[1]);
  7.         #ifdef TYPE_A
  8.         std::string line;
  9.         #endif
  10.         while(true)
  11.         {
  12.                 #ifdef TYPE_B
  13.                 std::string line;
  14.                 #endif
  15.                 if(!std::getline(fs, line)) break;
  16.                 std::cout << line << std::endl;
  17.         }
  18. }