Skip to content
/ Cpp Public

Problems solved of "C++ How to Program" book, by Deitel, using C++ language.

Notifications You must be signed in to change notification settings

thrxshxll/Cpp

Repository files navigation

Codes created in my C++ language process learning, by Deitel book "C++ How to Program".

In main.cpp there is an example of usage to demonstrate some capabilites of the class; or program when chapter does not involve class.

Also, at each main.c file in each folder, there is its respective proposed problem by the book.

Project Structure

├── ch06.Functions-Recursion
│   ├── fibonacci-recursive.cpp
│   ├── q10.cpp
│   ├── q12.cpp
│   ├── q20.cpp
│   ├── q22.cpp
│   ├── q24.cpp
│   ├── q28.cpp
│   ├── q30.cpp
│   ├── q40.cpp
│   ├── q41.cpp
│   ├── q51.cpp
│   └── xxx.cpp
├── ch07.Array-vector-exceptions
│   ├── kinght-tour.cpp
│   ├── q10.cpp
│   ├── q13.cpp
│   ├── q14.cpp
│   ├── q21.cpp
│   ├── q27.cpp
│   ├── q28.cpp
│   ├── q30.cpp
│   ├── q3.cpp
│   ├── q4.cpp
│   ├── q8.cpp
│   ├── test1.cpp
│   └── test2.cpp
├── ch08.Pointers
│   ├── a.out
│   ├── btest.cpp
│   ├── ctest.cpp
│   ├── q15-b.ans
│   ├── q15-c.ans
│   ├── q15.cpp
│   ├── q3.cpp
│   └── q4.cpp
├── ch09.Classes-DeeperLook
│   ├── q04-Time-class
│   │   ├── main.cpp
│   │   ├── Time.cpp
│   │   └── Time.h
│   ├── q05-quadric-equation-class
│   │   ├── main.cpp
│   │   ├── Quadratic.cpp
│   │   └── Quadratic.h
│   ├── q07-Name-class
│   │   ├── main.cpp
│   │   ├── Name.cpp
│   │   └── Name.h
│   ├── q09-Student-class
│   │   ├── main.cpp
│   │   ├── Name.cpp
│   │   ├── Name.h
│   │   ├── Student.cpp
│   │   └── Student.h
│   ├── q11-Rectangle-class
│   │   ├── main.cpp
│   │   ├── Rectangle.cpp
│   │   └── Rectangle.h
│   ├── q12-Rectangle-class
│   │   ├── Coordinate.cpp
│   │   ├── Coordinate.h
│   │   ├── main.cpp
│   │   ├── Rectangle.cpp
│   │   └── Rectangle.h
│   ├── q13-Rectangle-class
│   │   ├── Coordinate.cpp
│   │   ├── Coordinate.h
│   │   ├── main.cpp
│   │   ├── Rectangle.cpp
│   │   └── Rectangle.h
│   ├── q14-HugeInteger-class
│   │   ├── HugeInteger.cpp
│   │   ├── HugeInteger.h
│   │   └── main.cpp
│   ├── q15-TicTacToe-class
│   │   ├── main.cpp
│   │   ├── TicTacToe.cpp
│   │   └── TicTacToe.h
│   ├── q20-VicobaAccount-class
│   │   ├── main.cpp
│   │   ├── VicobaAccount.cpp
│   │   └── VicobaAccount.h
│   ├── q21-IntegerSet-class
│   │   ├── IntegerSet.cpp
│   │   ├── IntegerSet.h
│   │   └── main.cpp
│   ├── q23-Card_shuffling_and_Dealing
│   │   ├── Card.cpp
│   │   ├── Card.h
│   │   ├── DeckOfCards.cpp
│   │   ├── DeckOfCards.h
│   │   └── main.cpp
│   ├── q6-Rational-class
│   │   ├── main.cpp
│   │   ├── Rational.cpp
│   │   └── Rational.h
│   └── Test-class
│       ├── main.cpp
│       ├── Person.cpp
│       ├── Person.h
│       ├── Students.cpp
│       └── Students.h
├── ch10.Operator-Overloading
│   ├── 07.Overloading-Parentheses-Operator
│   │   ├── DoubleSubscriptArray.cpp
│   │   ├── DoubleSubscriptArray.h
│   │   └── main.cpp
│   ├── 08.Enhanced-MotorVehicle-Class
│   │   ├── main.cpp
│   │   ├── MotorVehicle.cpp
│   │   └── MotorVehicle.h
│   ├── 10.Enhanced-Quadratic-Class
│   │   ├── main.cpp
│   │   ├── Quadratic.cpp
│   │   └── Quadratic.h
│   └── 11.Polynomial-Class
│       ├── main.cpp
│       ├── Polynomial.cpp
│       └── Polynomial.h
├── ch11.Inheritance
│   ├── 03.Composition-as-an-Alternative-to-Inheritance
│   │   ├── BasePlusCommissionEmployee.cpp
│   │   ├── BasePlusCommissionEmployee.h
│   │   ├── CommissionEmployee.cpp
│   │   ├── CommissionEmployee.h
│   │   └── main.cpp
│   ├── 09.Package-Inheritance-Hierarchy
│   │   ├── main.cpp
│   │   ├── OvernightPackage.cpp
│   │   ├── OvernightPackage.h
│   │   ├── Package.cpp
│   │   ├── Package.h
│   │   ├── TwoDayPackage.cpp
│   │   └── TwoDayPackage.h
│   └── 10.Account-Inheritance-Hierarchy
│       ├── Account.cpp
│       ├── Account.h
│       ├── CheckingAccount.cpp
│       ├── CheckingAccount.h
│       ├── main.cpp
│       ├── SavingsAccount.cpp
│       └── SavingsAccount.h
├── ch13.Stream-Input-Output
│   ├── 07.Inputting-dec-oct-hex.cpp
│   ├── 11.Length-of-string.cpp
│   ├── 12.Displaying-numbers-different-bases.cpp
│   ├── 13.Extra-input-characters.cpp
│   ├── 14.Phone-number-overloaded-stream-extraction
│   │   ├── a.out
│   │   ├── main.cpp
│   │   ├── PhoneNumber.cpp
│   │   └── PhoneNumber.h
│   ├── 14.Phone-number-overloaded-stream-extraction.cpp
│   ├── a.out
│   └── aux.cpp
└── README.md

40 directories, 191 files

About

Problems solved of "C++ How to Program" book, by Deitel, using C++ language.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages