Skip to content

Commit

Permalink
remove things
Browse files Browse the repository at this point in the history
  • Loading branch information
Mooophy committed Aug 24, 2015
1 parent a0681ae commit a25c397
Show file tree
Hide file tree
Showing 173 changed files with 47 additions and 195 deletions.
1 change: 0 additions & 1 deletion ch06/ex6_47.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Test
//
// Created by pezy on 14/10/30.
// Copyright (c) 2014 pezy. All rights reserved.
//
#include <iostream>
#include <vector>
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_01.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.1
//
// Created by pezy on 14/10/30.
// Copyright (c) 2014 pezy. All rights reserved.
//
#include <iostream>
#include <string>
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_02.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.2
//
// Created by pezy on 14/11/8.
// Copyright (c) 2014 pezy. All rights reserved.
//

#ifndef CP5_ex7_02_h
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_03.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.03
//
// Created by pezy on 14/11/8.
// Copyright (c) 2014 pezy. All rights reserved.
//

#include "ex7_02.h"
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_04.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.4
//
// Created by pezy on 14/11/8.
// Copyright (c) 2014 pezy. All rights reserved.
//

#ifndef CP5_ex7_04_h
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_05.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.5
//
// Created by pezy on 14/11/8.
// Copyright (c) 2014 pezy. All rights reserved.
//
// Revised by @Yue Wang Jun 2015:
//
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_06.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.6
//
// Created by pezy on 11/8/14.
// Copyright (c) 2014 pezy. All rights reserved.
//

#ifndef CP5_ex7_06_h
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_07.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.7
//
// Created by pezy on 11/8/14.
// Copyright (c) 2014 pezy. All rights reserved.
//

#include "ex7_06.h"
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_09.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.9
//
// Created by pezy on 11/8/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
//
// Revied by @Yue Wang Jun 2015
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.11
//
// Created by pezy on 11/9/14.
// Copyright (c) 2014 pezy. All rights reserved.
//

#include "ex7_11.h"
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_11.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.11
//
// Created by pezy on 11/9/14.
// Copyright (c) 2014 pezy. All rights reserved.
//

#ifndef CP5_ex7_11_h
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_12.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.12
//
// Created by pezy on 11/9/14.
// Copyright (c) 2014 pezy. All rights reserved.
//

#ifndef CP5_ex7_12_h
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_13.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.13
//
// Created by pezy on 11/9/14.
// Copyright (c) 2014 pezy. All rights reserved.
//

#include "ex7_12.h"
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_15.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.15
//
// Created by pezy on 11/9/14.
// Copyright (c) 2014 pezy. All rights reserved.
//

#ifndef CP5_ex7_15_h
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_21.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.21
//
// Created by pezy on 11/13/14.
// Copyright (c) 2014 pezy. All rights reserved.
//

#ifndef CP5_ex7_21_h
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_22.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.22
//
// Created by pezy on 11/13/14.
// Copyright (c) 2014 pezy. All rights reserved.
//

#ifndef CP5_ex7_22_h
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_23.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.23
//
// Created by pezy on 11/14/14.
// Copyright (c) 2014 pezy. All rights reserved.
//

#ifndef CP5_ex7_23_h
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_24.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.24
//
// Created by pezy on 11/14/14.
// Copyright (c) 2014 pezy. All rights reserved.
//

#ifndef CP5_ex7_24_h
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_26.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.26
//
// Created by pezy on 11/9/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief implementation of class Sales_data
// @See ex7_26.h
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_26.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.26
//
// Created by pezy on 11/14/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @See ex7_21.h
// @Add inline member function "Sales_data::avg_pric"
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_27.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.27
//
// Created by pezy on 11/14/14.
// Copyright (c) 2014 pezy. All rights reserved.
//

#ifndef CP5_ex7_27_h
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_27_TEST.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Test of Exercise 7.27
//
// Created by pezy on 11/14/14.
// Copyright (c) 2014 pezy. All rights reserved.
//

#include "ex7_27.h"
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_31.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.31
//
// Created by pezy on 11/17/14.
// Copyright (c) 2014 pezy. All rights reserved.
//

#ifndef CP5_ex7_31_h
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.32
//
// Created by pezy on 11/18/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @See ex7_27.h

Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_41.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.41
//
// Created by pezy on 11/20/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief implementation of class Sales_data
// @See ex7_41.h
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_41.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.41
//
// Created by pezy on 11/20/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @See ex7_26.h
// @Add 1. use delegating constructors
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_41_TEST.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Test of Exercise 7.41
//
// Created by pezy on 11/14/14.
// Copyright (c) 2014 pezy. All rights reserved.
//

#include "ex7_41.h"
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_43.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.43
//
// Created by pezy on 11/20/14.
// Copyright (c) 2014 pezy. All rights reserved.
//

#include <vector>
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_50.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.50
//
// Created by pezy on 11/24/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @See ex7_22.h
// @Add constructors should be explicit
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_53.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.53
//
// Created by pezy on 11/25/14.
// Copyright (c) 2014 pezy. All rights reserved.
//

#ifndef CP5_ex7_53_h
Expand Down
1 change: 0 additions & 1 deletion ch07/ex7_57.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 7.57
//
// Created by pezy on 11/25/14.
// Copyright (c) 2014 pezy. All rights reserved.
//

#ifndef CP5_ex7_57_h
Expand Down
1 change: 0 additions & 1 deletion ch08/ex8_02.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 8.2
//
// Created by pezy on 11/27/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief Test your function by calling it, passing cin as an argument

Expand Down
1 change: 0 additions & 1 deletion ch08/ex8_04.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 8.4
//
// Created by pezy on 11/9/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief Write a function to open a file for input and read its contents into a vector of strings,
// storing each line as a separate element in the vector.
Expand Down
1 change: 0 additions & 1 deletion ch08/ex8_05.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 8.5
//
// Created by pezy on 11/9/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief Rewrite the previous program to store each word in a separate element.
// @See ex8_04.cpp
Expand Down
1 change: 0 additions & 1 deletion ch08/ex8_06.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 8.6
//
// Created by pezy on 11/27/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief Rewrite the bookstore program from ¡ì7.1.1 (p.256) to read its transactions from a file.
// Pass the name of the file as an argument to main (¡ì6.2.5, p.218).
Expand Down
1 change: 0 additions & 1 deletion ch08/ex8_07.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 8.7
//
// Created by pezy on 11/28/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief Revise the bookstore program from the previous section to write its output to a file.
// Pass the name of that file as a second argument to main.
Expand Down
1 change: 0 additions & 1 deletion ch08/ex8_08.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 8.8
//
// Created by pezy on 11/28/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief Revise the program from the previous exercise to append its output to its given file.
// Run the program on the same output file at least twice to ensure that the data are preserved
Expand Down
1 change: 0 additions & 1 deletion ch08/ex8_09.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 8.9
//
// Created by pezy on 11/29/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief Use the function you wrote for the first exercise in § 8.1.2 (p.314) to print the contents of an istringstream object.
// @See Exercise 8.1
Expand Down
1 change: 0 additions & 1 deletion ch08/ex8_10.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 8.10
//
// Created by pezy on 11/29/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief Write a program to store each line from a file in a vector<string>.
// Now use an istringstream to read each element from the vector a word at a time.
Expand Down
1 change: 0 additions & 1 deletion ch08/ex8_11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 8.11
//
// Created by pezy on 11/29/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief The program in this section defined its istringstream object inside the outer while loop.
// What changes would you need to make if record were defined outside that loop?
Expand Down
1 change: 0 additions & 1 deletion ch08/ex8_13.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 8.13
//
// Created by pezy on 11/29/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief Rewrite the phone number program from this section to read from
// a named file rather than from cin.
Expand Down
1 change: 0 additions & 1 deletion ch09/ex9_15.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 9.15
//
// Created by pezy on 12/2/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief Write a program to determine whether two vector<int>s are equal.

Expand Down
1 change: 0 additions & 1 deletion ch09/ex9_16.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 9.16
//
// Created by pezy on 12/2/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief Repeat the previous program, but compare elements in a
// list<int> to a vector<int>.
Expand Down
1 change: 0 additions & 1 deletion ch09/ex9_18.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 9.18
//
// Created by pezy on 12/3/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief Write a program to read a sequence of strings from the standard input into
// a deque. Use iterators to write a loop to print the elements in the deque.
Expand Down
1 change: 0 additions & 1 deletion ch09/ex9_19.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 9.19
//
// Created by pezy on 12/3/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief Rewrite the program from the previous exercise to use a list.
// List the changes you needed to make.
Expand Down
1 change: 0 additions & 1 deletion ch09/ex9_20.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 9.20
//
// Created by pezy on 12/3/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief Write a program to copy elements from a list<int> into two deques.
// The even-valued elements should go into one deque and the odd ones into the other.
Expand Down
1 change: 0 additions & 1 deletion ch09/ex9_27.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 9.27
//
// Created by pezy on 12/3/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief Write a program to find and remove the odd-valued
// elements in a forward_list<int>.
Expand Down
1 change: 0 additions & 1 deletion ch09/ex9_31_1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 9.31
//
// Created by pezy on 12/3/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief The program on page 354 to remove even-valued elements and
// duplicate odd ones will not work on a list or forward_list. Why?
Expand Down
1 change: 0 additions & 1 deletion ch09/ex9_31_2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 9.31
//
// Created by pezy on 12/3/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief The program on page 354 to remove even-valued elements and
// duplicate odd ones will not work on a list or forward_list. Why?
Expand Down
1 change: 0 additions & 1 deletion ch09/ex9_32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Exercise 9.32
//
// Created by pezy on 12/3/14.
// Copyright (c) 2014 pezy. All rights reserved.
//
// @Brief In the program on page 354 would it be legal to write the call to insert as follows?
// If not, why not?
Expand Down
Loading

0 comments on commit a25c397

Please sign in to comment.