资源简介

C++程序设计(英文版) Y.Daniel Liang著 习题答案

资源截图

代码片段和文件信息

#include 
#include 
#include 
#include 
using namespace std;

bool lessThan2(double value)
{
  return value < 2;
}

bool greaterThan4(double value)
{
  return value > 4;
}

int main()
{
  double values[] = {1 3 3 4 4 4};

  ostream_iterator output(cout “ “);
  cout << “Initial contents values: “;
  copy(values values + 6 output);

  remove(values values + 6 4);
  cout << “\nAfter the remove function values: “;
  copy(values values + 6 output);

  return 0;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         522  2006-05-28 19:57  evennumberedexercise\A.cpp
     文件         309  2006-03-11 12:43  evennumberedexercise\BinarySearch.h
     文件        9002  2007-01-26 12:33  evennumberedexercise\cplusplusexercise.cbx
     文件         683  2007-01-29 09:09  evennumberedexercise\cplusplusexercise.cbx.local
     文件         685  2007-01-22 18:58  evennumberedexercise\cplusplusexercise.cbx.local~
     文件        8907  2007-01-21 13:25  evennumberedexercise\cplusplusexercise.cbx~
     文件        2251  2006-03-14 14:10  evennumberedexercise\Exercise10_2.cpp
     文件        1128  2006-03-14 15:07  evennumberedexercise\Exercise10_4.cpp
     文件        1309  2006-03-14 15:22  evennumberedexercise\Exercise10_6.cpp
     文件         980  2006-03-14 17:36  evennumberedexercise\Exercise11_2.cpp
     文件         551  2006-03-14 11:49  evennumberedexercise\Exercise12_2.cpp
     文件        1268  2006-03-14 11:54  evennumberedexercise\Exercise12_4.cpp
     文件         820  2006-03-14 12:33  evennumberedexercise\Exercise12_6.cpp
     文件         555  2006-03-14 13:45  evennumberedexercise\Exercise12_8.cpp
     文件        3712  2006-03-14 15:43  evennumberedexercise\Exercise13_2.cpp
     文件         800  2006-03-14 15:54  evennumberedexercise\Exercise13_4.cpp
     文件        1072  2006-03-14 22:26  evennumberedexercise\Exercise14_2.cpp
     文件         684  2006-03-14 22:27  evennumberedexercise\Exercise14_4.cpp
     文件         675  2006-03-14 23:08  evennumberedexercise\Exercise15_2.cpp
     文件         691  2006-03-14 23:13  evennumberedexercise\Exercise15_4.cpp
     文件         928  2006-03-15 10:37  evennumberedexercise\Exercise15_6.cpp
     文件        1453  2006-03-15 11:31  evennumberedexercise\Exercise15_8.cpp
     文件        6105  2006-03-15 18:13  evennumberedexercise\Exercise16_2.cpp
     文件        6225  2006-03-15 18:54  evennumberedexercise\Exercise16_4.cpp
     文件        6394  2006-03-15 20:37  evennumberedexercise\Exercise16_6.cpp
     文件         745  2006-03-15 22:30  evennumberedexercise\Exercise16_8.cpp
     文件        4569  2006-03-16 16:50  evennumberedexercise\Exercise17_2.cpp
     文件        3671  2006-03-16 16:46  evennumberedexercise\Exercise17_4.cpp
     文件        3654  2006-03-16 16:46  evennumberedexercise\Exercise17_6.cpp
     文件         510  2006-10-19 11:46  evennumberedexercise\Exercise17_8.cpp
     文件        2387  2006-05-25 13:17  evennumberedexercise\Exercise18_2.cpp
............此处省略114个文件信息

评论

共有 条评论