C++ How to Program 10th Edition Deitel Solutions Manual instant download
C++ How to Program 10th Edition Deitel Solutions Manual instant download
Manual download
http://testbankbell.com/product/c-how-to-program-10th-edition-
deitel-solutions-manual/
http://testbankbell.com/product/solution-manual-for-c-how-to-
program-10th-by-deitel/
http://testbankbell.com/product/solution-manual-for-c-how-to-
program-8th-edition-paul-j-deitel-harvey-deitel/
http://testbankbell.com/product/solution-manual-for-c-how-to-
program-7-e-7th-edition-paul-deitel-harvey-deitel/
http://testbankbell.com/product/test-bank-for-lifesmart-1st-edition-
fiore/
Test Bank for Wongs Essentials of Pediatric Nursing 10th
Edition by Hockenberry
http://testbankbell.com/product/test-bank-for-wongs-essentials-of-
pediatric-nursing-10th-edition-by-hockenberry/
http://testbankbell.com/product/solutions-manual-to-accompany-modern-
digital-signal-processing-1st-edition-9780534400958/
http://testbankbell.com/product/test-bank-for-multicultural-
psychology-2-e-2nd-edition-gordon-nagayama-hall/
http://testbankbell.com/product/corporate-finance-ross-10th-edition-
solutions-manual/
Preface xxiii
Before You Begin xxxix
1 Introduction to Computers and C++ 1
1.1 Introduction
1.2 Computers and the Internet in Industry and Research
1.3 Hardware and Software
1.3.1 Moore’s Law
1.3.2 Computer Organization
1.4 Data Hierarchy
1.5 Machine Languages, Assembly Languages and High-Level Languages
1.6 C and C++
1.7 Programming Languages
1.8 Introduction to Object Technology
1.9 Typical C++ Development Environment
1.10 Test-Driving a C++ Application
1.10.1 Compiling and Running an Application in Visual Studio 2015 for
Windows
1.10.2 Compiling and Running Using GNU C++ on Linux
1.10.3 Compiling and Running with Xcode on Mac OS X
1.11 Operating Systems
1.11.1 Windows–A Proprietary Operating System
1.11.2 Linux–An Open-Source Operating System
1.11.3 Apple’s OS X; Apple’s iOS for iPhone®, iPad® and iPod Touch®
Devices
1.11.4 Google’s Android
1.12 The Internet and the World Wide Web
1.13 Some Key Software Development Terminology
1.14 C++11 and C++14: The Latest C++ Versions
1.15 Boost C++ Libraries
1.16 Keeping Up to Date with Information Technologies
2 Introduction to C++ Programming, Input/Output and Operators
2.1 Introduction
2.2 First Program in C++: Printing a Line of Text
2.3 Modifying Our First C++ Program
2.4 Another C++ Program: Adding Integers
2.5 Memory Concepts
2.6 Arithmetic
2.7 Decision Making: Equality and Relational Operators
2.8 Wrap-Up
3 Introduction to Classes, Objects, Member Functions and Strings
3.1 Introduction
3.2 Test-Driving an Account Object
3.2.1 Instantiating an Object
3.2.2 Headers and Source-Code Files
3.2.3 Calling Class Account’s getName Member Function
3.2.4 Inputting a string with getline
3.2.5 Calling Class Account’s setName Member Function
3.3 Account Class with a Data Member and Set and Get Member Functions
3.3.1 Account Class Definition
3.3.2 Keyword class and the Class Body
3.3.3 Data Member name of Type string
3.3.4 setName Member Function
3.3.5 getName Member Function
3.3.6 Access Specifiers private and public
3.3.7 Account UML Class Diagram
3.4 Account Class: Initializing Objects with Constructors
3.4.1 Defining an Account Constructor for Custom Object Initialization
3.4.2 Initializing Account Objects When They’re Created
3.4.3 Account UML Class Diagram with a Constructor
3.5 Software Engineering with Set and Get Member Functions
3.6 Account Class with a Balance; Data Validation
3.6.1 Data Member balance
3.6.2 Two-Parameter Constructor with Validation
3.6.3 deposit Member Function with Validation
3.6.4 getBalance Member Function
3.6.5 Manipulating Account Objects with Balances
3.6.6 Account UML Class Diagram with a Balance and Member Functions
deposit and getBalance
3.7 Wrap-Up
4 Algorithm Development and Control Statements: Part 1
4.1 Introduction
4.2 Algorithms
4.3 Pseudocode
4.4 Control Structures
4.4.1 Sequence Structure
4.4.2 Selection Statements
4.4.3 Iteration Statements
4.4.4 Summary of Control Statements
4.5 if Single-Selection Statement
4.6 if…else Double-Selection Statement
4.6.1 Nested if…else Statements
4.6.2 Dangling-else Problem
4.6.3 Blocks
4.6.4 Conditional Operator (?:)
4.7 Student Class: Nested if…else Statements
4.8 while Iteration Statement
4.9 Formulating Algorithms: Counter-Controlled Iteration
4.9.1 Pseudocode Algorithm with Counter-Controlled Iteration
4.9.2 Implementing Counter-Controlled Iteration
4.9.3 Notes on Integer Division and Truncation
4.9.4 Arithmetic Overflow
4.9.5 Input Validation
4.10 Formulating Algorithms: Sentinel-Controlled Iteration
4.10.1 Top-Down, Stepwise Refinement: The Top and First Refinement
4.10.2 Proceeding to the Second Refinement
4.10.3 Implementing Sentinel-Controlled Iteration
4.10.4 Converting Between Fundamental Types Explicitly and Implicitly
4.10.5 Formatting Floating-Point Numbers
4.10.6 Unsigned Integers and User Input
4.11 Formulating Algorithms: Nested Control Statements
4.11.1 Problem Statement
4.11.2 Top-Down, Stepwise Refinement: Pseudocode Representation of the
Top
4.11.3 Top-Down, Stepwise Refinement: First Refinement
4.11.4 Top-Down, Stepwise Refinement: Second Refinement
4.11.5 Complete Second Refinement of the Pseudocode
4.11.6 Program That Implements the Pseudocode Algorithm
4.11.7 Preventing Narrowing Conversions with List Initialization
4.12 Compound Assignment Operators
4.13 Increment and Decrement Operators
4.14 Fundamental Types Are Not Portable
4.15Wrap-Up
5 Control Statements: Part 2; Logical Operators
5.1 Introduction
5.2 Essentials of Counter-Controlled Iteration
5.3 for Iteration Statement
5.4 Examples Using the for Statement
5.5 Application: Summing Even Integers
5.6 Application: Compound-Interest Calculations
5.7 Case Study: Integer-Based Monetary Calculations with Class
DollarAmount
5.7.1 Demonstrating Class DollarAmount
5.7.2 Class DollarAmount
5.8 do…while Iteration Statement
5.9 switch Multiple-Selection Statement
5.10 break and continue Statements
5.10.1 break Statement
5.10.2 continue Statement
5.11 Logical Operators
5.11.1 Logical AND (&&) Operator
5.11.2 Logical OR (||) Operator
5.11.3 Short-Circuit Evaluation
5.11.4 Logical Negation (!) Operator
5.11.5 Logical Operators Example
5.12 Confusing the Equality (==) and Assignment (=) Operators
5.13 Structured-Programming Summary
5.14Wrap-Up
6 Functions and an Introduction to Recursion
6.1 Introduction
6.2 Program Components in C++
6.3 Math Library Functions
6.4 Function Prototypes
6.5 Function-Prototype and Argument-Coercion Notes
6.5.1 Function Signatures and Function Prototypes
6.5.2 Argument Coercion
6.5.3 Argument-Promotion Rules and Implicit Conversions
6.6 C++ Standard Library Headers
6.7 Case Study: Random-Number Generation
6.7.1 Rolling a Six-Sided Die
6.7.2 Rolling a Six-Sided Die 60,000,000 Times
6.7.3 Randomizing the Random-Number Generator with srand
6.7.4 Seeding the Random-Number Generator with the Current Time
6.7.5 Scaling and Shifting Random Numbers
6.8 Case Study: Game of Chance; Introducing Scoped enums
6.9 C++11 Random Numbers
6.10 Scope Rules
6.11 Function-Call Stack and Activation Records
6.12 Inline Functions
6.13 References and Reference Parameters
6.14 Default Arguments
6.15 Unary Scope Resolution Operator
6.16 Function Overloading
6.17 Function Templates
6.18Recursion
6.19 Example Using Recursion: Fibonacci Series
6.20 Recursion vs. Iteration
6.21Wrap-Up
7 Class Templates array and vector; Catching Exceptions
7.1 Introduction
7.2 arrays
7.3 Declaring arrays
7.4 Examples Using arrays
7.4.1 Declaring an array and Using a Loop to Initialize the array’s Elements
7.4.2 Initializing an array in a Declaration with an Initializer List
7.4.3 Specifying an array’s Size with a Constant Variable and Setting array
Elements with Calculations
7.4.4 Summing the Elements of an array
7.4.5 Using a Bar Chart to Display array Data Graphically
7.4.6 Using the Elements of an array as Counters
7.4.7 Using arrays to Summarize Survey Results
7.4.8 Static Local arrays and Automatic Local arrays
7.5 Range-Based for Statement
7.6 Case Study: Class GradeBook Using an array to Store Grades
7.7 Sorting and Searching arrays
7.7.1 Sorting
7.7.2 Searching
7.7.3 Demonstrating Functions sort and binary_search
7.8 Multidimensional arrays
7.9 Case Study: Class GradeBook Using a Two-Dimensional array
7.10 Introduction to C++ Standard Library Class Template vector
7.11Wrap-Up
8 Pointers
8.1 Introduction
8.2 Pointer Variable Declarations and Initialization
8.2.1 Declaring Pointers
8.2.2 Initializing Pointers
8.2.3 Null Pointers Prior to C++11
8.3 Pointer Operators
8.3.1 Address (&) Operator
8.3.2 Indirection (*) Operator
8.3.3 Using the Address (&) and Indirection (*) Operators
8.4 Pass-by-Reference with Pointers
8.5 Built-In Arrays
8.5.1 Declaring and Accessing a Built-In Array
8.5.2 Initializing Built-In Arrays
8.5.3 Passing Built-In Arrays to Functions
8.5.4 Declaring Built-In Array Parameters
8.5.5 C++11: Standard Library Functions begin and end
8.5.6 Built-In Array Limitations
8.5.7 Built-In Arrays Sometimes Are Required
8.6 Using const with Pointers
8.6.1 Nonconstant Pointer to Nonconstant Data
8.6.2 Nonconstant Pointer to Constant Data
8.6.3 Constant Pointer to Nonconstant Data
8.6.4 Constant Pointer to Constant Data
8.7 sizeof Operator
8.8 Pointer Expressions and Pointer Arithmetic
8.8.1 Adding Integers to and Subtracting Integers from Pointers
8.8.2 Subtracting Pointers
8.8.3 Pointer Assignment
8.8.4 Cannot Dereference a void*
8.8.5 Comparing Pointers
8.9 Relationship Between Pointers and Built-In Arrays
8.9.1 Pointer/Offset Notation
8.9.2 Pointer/Offset Notation with the Built-In Array’s Name as the Pointer
8.9.3 Pointer/Subscript Notation
8.9.4 Demonstrating the Relationship Between Pointers and Built-In Arrays
8.10 Pointer-Based Strings (Optional)
8.11 Note About Smart Pointers
8.12Wrap-Up
9 Classes: A Deeper Look
9.1 Introduction
9.2 Time Class Case Study: Separating Interface from Implementation
9.2.1 Interface of a Class
9.2.2 Separating the Interface from the Implementation
9.2.3 Time Class Definition
9.2.4 Time Class Member Functions
9.2.5 Scope Resolution Operator (::)
9.2.6 Including the Class Header in the Source-Code File
9.2.7 Time Class Member Function setTime and Throwing Exceptions
9.2.8 Time Class Member Function toUniversalString and String Stream
Processing
9.2.9 Time Class Member Function toStandardString
9.2.10 Implicitly Inlining Member Functions
9.2.11 Member Functions vs. Global Functions
9.2.12 Using Class Time
9.2.13 Object Size
9.3 Compilation and Linking Process
9.4 Class Scope and Accessing Class Members
9.5 Access Functions and Utility Functions
9.6 Time Class Case Study: Constructors with Default Arguments
9.6.1 Constructors with Default Arguments
9.6.2 Overloaded Constructors and C++11 Delegating Constructors
9.7 Destructors
9.8 When Constructors and Destructors Are Called
9.8.1 Constructors and Destructors for Objects in Global Scope
9.8.2 Constructors and Destructors for Non-static Local Objects
9.8.3 Constructors and Destructors for static Local Objects
9.8.4 Demonstrating When Constructors and Destructors Are Called
9.9 Time Class Case Study: A Subtle Trap–Returning a Reference or a
Pointer to a private Data Member
9.10 Default Memberwise Assignment
9.11 const Objects and const Member Functions
9.12 Composition: Objects as Members of Classes
9.13 friend Functions and friend Classes
9.14 Using the this Pointer
9.14.1 Implicitly and Explicitly Using the this Pointer to Access an Object’s
Data Members
9.14.2 Using the this Pointer to Enable Cascaded Function Calls
9.15 static Class Members
9.15.1 Motivating Classwide Data
9.15.2 Scope and Initialization of static Data Members
9.15.3 Accessing static Data Members
9.15.4 Demonstrating static Data Members
9.16Wrap-Up
10 Operator Overloading; Class string
10.1 Introduction
10.2 Using the Overloaded Operators of Standard Library Class string
10.3 Fundamentals of Operator Overloading
10.3.1 Operator Overloading Is Not Automatic
10.3.2 Operators That You Do Not Have to Overload
10.3.3 Operators That Cannot Be Overloaded
10.3.4 Rules and Restrictions on Operator Overloading
10.4 Overloading Binary Operators
10.5 Overloading the Binary Stream Insertion and Stream Extraction
Operators
10.6 Overloading Unary Operators
10.7 Overloading the Increment and Decrement Operators
10.8 Case Study: A Date Class
10.9 Dynamic Memory Management
10.10 Case Study: Array Class
10.10.1 Using the Array Class
10.10.2 Array Class Definition
10.11 Operators as Member vs. Non-Member Functions
10.12 Converting Between Types
10.13 explicit Constructors and Conversion Operators
10.14 Overloading the Function Call Operator ()
10.15 Wrap-Up
11 Object-Oriented Programming: Inheritance
11.1 Introduction
11.2 Base Classes and Derived Classes
11.2.1 CommunityMember Class Hierarchy
11.2.2 Shape Class Hierarchy
11.3 Relationship between Base and Derived Classes
11.3.1 Creating and Using a CommissionEmployee Class
11.3.2 Creating a BasePlusCommissionEmployee Class Without Using
Inheritance
11.3.3 Creating a CommissionEmployee—BasePlusCommissionEmployee
Inheritance Hierarchy
11.3.4 CommissionEmployee—BasePlusCommissionEmployee Inheritance
Hierarchy Using protected Data
11.3.5 CommissionEmployee—BasePlusCommissionEmployee Inheritance
Hierarchy Using private Data
11.4 Constructors and Destructors in Derived Classes
11.5 public, protected and private Inheritance
11.6Wrap-Up
12 Object-Oriented Programming: Polymorphism
12.1 Introduction
12.2 Introduction to Polymorphism: Polymorphic Video Game
12.3 Relationships Among Objects in an Inheritance Hierarchy
12.3.1 Invoking Base-Class Functions from Derived-Class Objects
12.3.2 Aiming Derived-Class Pointers at Base-Class Objects
12.3.3 Derived-Class Member-Function Calls via Base-Class Pointers
12.4 Virtual Functions and Virtual Destructors
12.4.1 Why virtual Functions Are Useful
12.4.2 Declaring virtual Functions
12.4.3 Invoking a virtual Function Through a Base-Class Pointer or Reference
12.4.4 Invoking a virtual Function Through an Object’s Name
12.4.5 virtual Functions in the CommissionEmployee Hierarchy
12.4.6 virtual Destructors
12.4.7 C++11: final Member Functions and Classes
12.5 Type Fields and switch Statements
12.6 Abstract Classes and Pure virtual Functions
12.6.1 Pure virtual Functions
12.6.2 Device Drivers: Polymorphism in Operating Systems
12.7 Case Study: Payroll System Using Polymorphism
12.7.1 Creating Abstract Base Class Employee
12.7.2 Creating Concrete Derived Class SalariedEmployee
12.7.3 Creating Concrete Derived Class CommissionEmployee
12.7.4 Creating Indirect Concrete Derived Class
BasePlusCommissionEmployee
12.7.5 Demonstrating Polymorphic Processing
12.8 (Optional) Polymorphism, Virtual Functions and Dynamic Binding “Under
the Hood”
12.9 Case Study: Payroll System Using Polymorphism and Runtime Type
Information with Downcasting, dynamic_cast, typeid and type_info 567
12.10 Wrap-Up
13 Stream Input/Output: A Deeper Look
13.1 Introduction
13.2 Streams
13.2.1 Classic Streams vs. Standard Streams
13.2.2 iostream Library Headers
13.2.3 Stream Input/Output Classes and Objects
13.3 Stream Output
13.3.1 Output of char* Variables
13.3.2 Character Output Using Member Function put
13.4 Stream Input
13.4.1 get and getline Member Functions
13.4.2 istream Member Functions peek, putback and ignore
13.4.3 Type-Safe I/O
13.5 Unformatted I/O Using read, write and gcount
13.6 Stream Manipulators: A Deeper Look
13.6.1 Integral Stream Base: dec, oct, hex and setbase
13.6.2 Floating-Point Precision (precision, setprecision)
13.6.3 Field Width (width, setw)
13.6.4 User-Defined Output Stream Manipulators
13.7 Stream Format States and Stream Manipulators
13.7.1 Trailing Zeros and Decimal Points (showpoint)
13.7.2 Justification (left, right and internal)
13.7.3 Padding (fill, setfill)
13.7.4 Integral Stream Base (dec, oct, hex, showbase)
13.7.5 Floating-Point Numbers; Scientific and Fixed Notation (scientific, fixed)
13.7.6 Uppercase/Lowercase Control (uppercase)
Visit https://testbankbell.com
now to explore a rich
collection of testbank,
solution manual and enjoy
exciting offers!
13.7.7 Specifying Boolean Format (boolalpha)
13.7.8 Setting and Resetting the Format State via Member Function flags
13.8 Stream Error States
13.9 Tying an Output Stream to an Input Stream
13.10 Wrap-Up
14 File Processing
14.1 Introduction
14.2 Files and Streams
14.3 Creating a Sequential File
14.3.1 Opening a File
14.3.2 Opening a File via the open Member Function
14.3.3 Testing Whether a File Was Opened Successfully
14.3.4 Overloaded bool Operator
14.3.5 Processing Data
14.3.6 Closing a File
14.3.7 Sample Execution
14.4 Reading Data from a Sequential File
14.4.1 Opening a File for Input
14.4.2 Reading from the File
14.4.3 File-Position Pointers
14.4.4 Case Study: Credit Inquiry Program
14.5 C++14: Reading and Writing Quoted Text
14.6 Updating Sequential Files
14.7 Random-Access Files
14.8 Creating a Random-Access File
14.8.1 Writing Bytes with ostream Member Function write
14.8.2 Converting Between Pointer Types with the reinterpret_cast Operator
14.8.3 Credit-Processing Program
14.8.4 Opening a File for Output in Binary Mode
14.9 Writing Data Randomly to a Random-Access File
14.9.1 Opening a File for Input and Output in Binary Mode
14.9.2 Positioning the File-Position Pointer
14.10 Reading from a Random-Access File Sequentially
14.11 Case Study: A Transaction-Processing Program
14.12 Object Serialization
14.13 Wrap-Up
15 Standard Library Containers and Iterators
15.1 Introduction
15.2 Introduction to Containers
15.3 Introduction to Iterators
15.4 Introduction to Algorithms
15.5 Sequence Containers
15.5.1 vector Sequence Container
15.5.2 list Sequence Container
15.5.3 deque Sequence Container
15.6 Associative Containers
15.6.1 multiset Associative Container
15.6.2 set Associative Container
15.6.3 multimap Associative Container
15.6.4 map Associative Container
15.7 Container Adapters
15.7.1 stack Adapter
15.7.2 queue Adapter
15.7.3 priority_queue Adapter
15.8 Class bitset
15.9Wrap-Up
16 Standard Library Algorithms
16.1 Introduction
16.2 Minimum Iterator Requirements
16.3 Lambda Expressions
16.3.1 Algorithm for_each
16.3.2 Lambda with an Empty Introducer
16.3.3 Lambda with a Nonempty Introducer–Capturing Local Variables
16.3.4 Lambda Return Types
16.4Algorithms
16.4.1 fill, fill_n, generate and generate_n
16.4.2 equal, mismatch and lexicographical_compare
16.4.3 remove, remove_if, remove_copy and remove_copy_if
16.4.4 replace, replace_if, replace_copy and replace_copy_if
16.4.5 Mathematical Algorithms
16.4.6 Basic Searching and Sorting Algorithms
16.4.7 swap, iter_swap and swap_ranges
16.4.8 copy_backward, merge, unique and reverse
16.4.9 inplace_merge, unique_copy and reverse_copy
16.4.10 Set Operations
16.4.11 lower_bound, upper_bound and equal_range
16.4.12 min, max, minmax and minmax_element
16.5 Function Objects
16.6 Standard Library Algorithm Summary
16.7Wrap-Up
Chapters 23—26 and Appendices F—J are PDF documents posted online at
the book’s password-protected Companion Website, which is accessible from
http://www.pearsonhighered.com/deitel.
23 Other Topics
24 C++11 and C++14: Additional Features
25 ATM Case Study, Part 1: Object-Oriented Design with the UM
26 ATM Case Study, Part 2: Implementing an Object-Oriented Design
CRIMEAN FESTIVITIES.
I perceived that my anticipation had been fully realized, and that after
the proclamation of peace, the whole camp was converted into an immense
banqueting-hall. The continued demand for my assistance in reference to
dinner-parties, and invitations to the same, almost made me regret the war-
time, during which I used to live in comparative peace, at least as far as
high cookery went, having only to attend to my duties, which of course I
did not neglect. In addition to all this, I felt compelled, in return for all these
polite invitations, to tender hospitalities at home, and thus kept my camp
establishment a regular petit Lucullusian temple.
The day fixed for the grand festival was at this period drawing near; the
number invited increased daily, while the temple only occupied the same
space of ground. The places were measured to an inch, and it was found that
it would just hold fifty-four with ease, or sixty if they were packed like
sardines in a tin box. The number was therefore limited to fifty. To do the
thing well for such a party in the Crimea, required both judgment and
perseverance. In the intervals between the hours of duty, I laid out my
plans, how I should not only please, but also astonish my illustrious guests.
A number of regiments were daily leaving; and this caused fresh invitations
to be made and issued, in order to fill up the vacancies. At last the day
arrived. The morning was very wet, and the sky clouded; two of my men
were ill, as was usually the case when anything of importance was about to
take place; and consequently the commencement was inauspicious. Owing
to the rain, to my great annoyance, the muddy soil of the Crimea
accumulated in the hut, caused by the ingress and egress of half-a-dozen
soldiers, who had been kindly granted for a few hours to fetch some green
plants from a distant ravine to ornament my fête champêtre and harmonical
soirée. It was nevertheless very refreshing to see for the first time on the
rocky summit of Cathcart’s Hill the green branches of the valley and the
wild flowers of the fields. In less than two hours, the entrance of the
villarette, which before only presented the appearance of a comfortable
lucifer match box, or fifth-rate kiosque à la Turque, assumed quite a rural
aspect. My six brave fellows had mounted, not to the assault, but on ladders
and cross-beams, those indispensable ornaments in such a villarette, and, as
if by enchantment, had transformed it into a perfumed bosquet, or retreat
worthy of the goddess Flora. Bunches of flowers, wild lilac, green branches,
and evergreens were profusely spread all over both the interior and the
exterior of my villarette. These were interspersed with small flags—red,
blue, green, and yellow paper lanterns. These decorations gave it quite a
fairy appearance. Wax lights were profusely distributed all round; and in the
centre hung a chandelier of original shape, constructed by the celebrated
Tom Shell-proof, of Snow-hill, London. The entrance was ornamented by a
bold bunch of evergreens and many-coloured flowers. Twelve glass lamps,
procured at an immense expense for this occasion only, were carefully
cleaned, trimmed, and hung along the front and roof of the hut. They had
been painted in blue stripes with ultramarine, by the celebrated theatrical
artist, Corporal Stainer. By twelve o’clock the interior was finished—tables,
benches, sideboards and all. The only thing to be done was to clear out
about half a ton of mud, as that sadly interfered with the general appearance
of the now enchanting spot.
All was progressing satisfactorily in the cooking department; the weather
began to clear up, and at length everything seemed to smile upon my final
and most difficult undertaking. Had this festival proved a failure, my guests,
who would, no doubt, have been polite enough not to say anything on the
point before me, must have formed a very unfavourable opinion of my
gastronomic knowledge, which I should not have had another chance of
retrieving. It was therefore of the utmost importance that a failure should
not occur, or even be thought of. To my sorrow, I suddenly perceived that
the turf which had been freshly put down a few days previous in my grand
green grass-plot and avenue had turned quite yellow, from the effects of a
burning sun. My outside illumination—viz., lamps made out of ration fat,
which then could only be obtained by purchase (the soldiers knowing the
value of it)—would not consequently produce the effect I intended—the
reflection of light upon the green turf. Ambitious as I was of producing
quite a novel impression upon the minds of my guests, I felt much vexed at
this failure. While deeply pondering over the affair, in walked Colonel de
Bathe, with a most extraordinary long face. He said, “You see me quite in
despair: we have lost Major Neville and his brother, two of our best
madrigal singers, and I really do not think we can sing at all. You have
spoken so highly of our singing-club, and the company you have invited
will all be disappointed.”
“Do come, colonel,” I replied, “and, if necessary, I will sing myself.”
“I will come; but we shall be very imperfect.”
“Never mind: we will make up for that by wit, bon-mots, and frolic.”
I succeeded in reassuring the worthy colonel, and he left, promising to
come early. A few minutes afterwards, a man entered, and informed me that
I could not have the knives, forks, crockery, glasses, &c., which Mr.
Crockford had promised, as they had not been returned from Kamara. He
added that they would probably be back in the evening or early the next
morning. The French rolls I had ordered at Little Kamiesch the day before
could not be made in time, and the baker sent to know if common bread
would not do as well. “I should think it would,” said I, in no pleasant mood.
No more American ice was to be had at Kamiesch; and this was
indispensable for the crowning triumph of the affair, upon which I relied so
much—viz., my new cup à la Marmora. There were, in addition,
innumerable culinary vexations. It was by no means certain that the
promised band from the Rifles would favour me by attending, as Lord
Alexander Russell was absent, and General Garrett did not like to grant the
necessary permission in his absence, and no one knew when his lordship
would return.
Let me observe, the way I first saw the grass turn was not under the
influence of my friend, merry champagne. Not at all; but it had playfully
acted upon my mind, and given me an entirely new and original idea. No
matter how ridiculous it may appear to my reader, it was original. This was
to go to the theatre and get a pot of opal green colour, and set some military
artists to paint the grass, which was quickly done to perfection. In fact, it
was so well executed, that the horses picketed near were actually taken in,
and played all manner of capers to get loose and have a feed. My guests
were astonished, and could not account for the sudden change, having
noticed how brown it looked in the morning. Well, reader, what think you
followed this sudden bright green inspiration? Why, the arrival of the
crockery, &c., bread, and the American ice, two fresh waiters, and Mr.
Crockford’s cook, who rendered great assistance.
Twilight was conquered by ration fat, lampion-shells were profusely and
artistically placed on the then green grass, tables sumptuously laid out, the
chandelier and wax lights ignited, the globe lamps in front of the villarette
blazing in volcanic splendour, the band of the Rifles playing, and the noble
company as nobly arriving. O Vatel! you felt gloriously, for your banquet
had succeeded; and while your wealthy patron, the Prince de Condé, was
receiving from Louis XIV. the praise due to your genius, you were no more.
All honour to your manes! I, like you, immortal Vatel, had all the horrors of
an unexpected failure before my eyes. The idea of suicide did not come into
my mind, as it did to yours, noble defunct and incomparable chef! probably
because I had not the honour of wearing the sword of the courtier. Though I
had a stock of guns, swords, bayonets, &c., the idea of suicide never struck
me, inasmuch as all these weapons were taken as trophies from the
Russians, who were now friends and brothers, and those emblems of
carnage would have been disgraced if soiled with the blood of so humble an
individual as myself. On the contrary, though inclined to despair, I lost no
time, but opened a bottle of champagne for a friend who had just popped in.
At the second glass—mirabile dictu!—the thick curtain which shaded my
brow vanished; the unsightly brown grass turned green, and everything
appeared couleur de rose; and though no material amelioration had yet
taken place, I felt that success was certain. Nil desperandum! How many
men who have ceased to live through an anticipated failure would now be
living had they struggled against adverse fate, and not been led away by the
dread of an imaginary evil!
The soirée was indeed in jeopardy; but in revenge I had the gratification
of receiving from every guest invited a polite note, worded thus: “General,
Colonel, or Captain So-and-so, will be very happy to spend the evening at
Monsieur Soyer’s villarette.” General Wyndham, who was at one time
uncertain whether he could come or not, sent his aide-de-camp to inform
me that he should be able to attend, and to know the hour. Everything, in
fact, tended to render my position more unpleasant; and the proverb, “Plus
on est de fous, plus on rit,” was anything but clear to my mind. It would be
clear enough if a good supper and good entertainment were provided; but if
the contrary, I should say, “Plus on est de fous, moins on rit.” It was three
o’clock, P.M., and nine was the hour on the invitation cards. There remained
but six hours for success or failure.
O Vatel! my noble master in the science of curée, I then for the first time
understood the true extent of your devotion to your art. Humiliation and
dishonour awaited you; and Death—yes, Death! god of Starvation, with his
frail, bony limbs—was grinning at you. Fortunately you lived in an era of
gastronomic grandeur, when a chef de cuisine bore a high rank, and had
your own aristocratic weapon wherewith to do the noble deed which gilds
your name.
The gallant Colonel de Bathe was the first to arrive, with plenty of
musical support. The programme was settled. Each noble general, as he
arrived, was received à la militaire, not, as the song says, “sans tambour ni
trompette,” but sans cérémonie. Every one being acquainted, introductions
were not necessary.
At half-past nine the band, which had performed all the while, ceased
playing, and the grand madrigal concert commenced, followed by glees,
&c., and at intervals the band played lively quadrilles, polkas, &c., till
eleven o’clock, when the supper took place. The band melodiously
accompanied the knife-and-fork chorus, the champagne galop, and pop, pop
of the confined corks. Shortly after, the amiable Lord Rokeby, who had
kindly undertaken the office of chairman, made a most affable and, to me,
interesting speech, dilating in high and flattering terms upon my mission to
the East.
After supper, the band again ceased, and, while they enjoyed their
nocturnal repast, madrigals, glees, duets, solos, &c., followed in rapid
succession. All of a sudden (I happened at the time to be in the back room)
an alarm was given by General Wyndham, who called out, “Soyer, Soyer,
your hut is on fire!” The general was getting up, when a young officer
sprang from beam to beam till he reached the top of the hut, where a large
paper lantern had taken fire and ignited the roof. My principal fear was for
my picture, painted by the late Madame Soyer, called the “Young
Bavarian;” which was the admiration of all my Crimean visitors, and well
known in London amongst the connoisseurs, having repurchased it at the
sale of the great Saltmarsh collection, at Messrs. Christie and Mason’s, in
the year 1846—(subsequently, when travelling in the South of France, I met
on my route the illustrious Horace Vernet, and in Paris, had the honour of
showing him this painting in his study at the Institute, when he expressed
his opinion in the following words:—“That no female artist had ever
painted in such a bold style, nor with such a truthfulness of colour and
design.” He added, it was worthy of the pencil of Murillo). It hung directly
under the conflagration. But, thanks to the gymnastic agility of our
unknown fireman, calm was soon restored; the band recommenced playing,
and the punch à la Marmora circulated freely, for everything was
abandoned for that exciting mixture, even grogs and champagne. At about
two o’clock Lord Rokeby and General Craufurd left. I then introduced a
comic song, in which all joined, including between two or three hundred
spectators who had collected round the hut. As the hour advanced, the
company diminished; but at five in the morning there were still a few guests
inquiring for their horses. And thus ended the last party on Cathcart’s Hill
previous to the breaking up of the Fourth Division and its return to England.
The following is an account, from the Times, of the banquet, and of the
names of some of my noble visitors:—
This evening, a number of distinguished guests honoured M. Soyer with their presence
at supper at his villarette near Cathcart’s Hill. The exterior of the hut was illuminated with
lamps fed with ration fat; the interior was embellished with numerous wreaths and festoons
of the beautiful natural plants and flowers now so abundant over the less-trodden parts of
the plateau. Some glees of Kücken, Mendelssohn, Fleming, &c., very well executed by Mr.
Clarke Dalby, Major Colville, R.B., Colonel de Bathe, Scots Fusilier Guards, and others,
formed an agreeable introduction to an excellent supper—a triumph of culinary art over
Crimean resources, which was, however, soon subjugated in its turn by the ferocity and
unconquerable steadiness of the British appetite. Lord Rokeby proposed M. Soyer’s health,
and passed a high eulogium on the services he had rendered to the army by his exertions to
promote good cooking and the use of palatable food; and M. Soyer returned thanks with
propriety and feeling, acknowledging the aid and support he had received from generals,
officers, and privates in the introduction of his improvements.
Welcome to our website – the perfect destination for book lovers and
knowledge seekers. We believe that every book holds a new world,
offering opportunities for learning, discovery, and personal growth.
That’s why we are dedicated to bringing you a diverse collection of
books, ranging from classic literature and specialized publications to
self-development guides and children's books.
testbankbell.com