C for Everyone 1st Edition Cay S. Horstmann pdf download
C for Everyone 1st Edition Cay S. Horstmann pdf download
Horstmann pdf
download
https://ebookfinal.com/download/c-for-everyone-1st-edition-cay-s-
horstmann/
https://ebookfinal.com/download/c-for-everyone-2nd-edition-cay-s-
horstmann/
https://ebookfinal.com/download/big-java-3rd-edition-cay-s-horstmann/
https://ebookfinal.com/download/java-concepts-early-objects-7th-
edition-cay-s-horstmann/
https://ebookfinal.com/download/core-java-2-advanced-features-5th-
edition-cay-s-horstmann/
Late Early objects Big Java 5th Edition Cay Horstmann
https://ebookfinal.com/download/late-early-objects-big-java-5th-
edition-cay-horstmann/
https://ebookfinal.com/download/java-concepts-compatible-with-
java-5-6-and-7-6th-edition-cay-s-horstmann/
https://ebookfinal.com/download/pandemics-what-everyone-needs-to-
know-1st-edition-peter-c-doherty/
https://ebookfinal.com/download/everyone-s-an-author-1st-ed-edition-
lunsford/
https://ebookfinal.com/download/braiding-easy-styles-for-everyone-1st-
edition-jones/
C for Everyone 1st Edition Cay S. Horstmann Digital
Instant Download
Author(s): Cay S. Horstmann
ISBN(s): 9780470383292, 0470383291
Edition: 1
File Details: PDF, 20.74 MB
Year: 2008
Language: english
Preface http://edugen.wiley.com/edugen/courses/crs2656/horstmann3292/horstma...
This book gives an introduction into C++ and computer programming that focuses on the essentials—and on
effective learning. The book is suitable for a first course in programming for computer scientists, engineers, and
students in other technical or scientific disciplines. No prior programming experience is required, and only a
modest amount of high school algebra is needed. Here are the key features of this new book:
• A Visual Approach Motivates the Reader and Eases Navigation. This book
contains many more photographs, diagrams, and tables than other programming books. It is easy to get the
“lay of the land” by browsing the visuals, before focusing on the textual material.
1 of 10 2/1/2010 2:56 PM
Preface http://edugen.wiley.com/edugen/courses/crs2656/horstmann3292/horstma...
Chapter 1. Introduction
Chapter 2. Fundamental Data Types
Chapter 3. Decisions
Chapter 4. Loops
Chapter 5. Functions
Chapter 6. Arrays and Vectors
In a course for engineers with a need for systems and embedded programming, you will want to cover Chapter 7 on pointers.
Sections 7.1 and 7.4 are sufficient for using pointers with polymorphism in Chapter 10.
File processing is the subject of Chapter 8. Section 8.1 is sufficient for an introduction into reading and writing text files. The
remainder of the chapter gives additional material for practical applications.
Chapters 9 and 10 introduce the object-oriented features of C++. Chapter 9 contains an introduction to class design and
implementation. Chapter 10 covers inheritance and polymorphism.
Four additional chapters are available on the Web. They can be used individually for a capstone chapter, or they can be
combined for teaching a two-semester course. (They can also be incorporated into a custom print version of the text; ask your
Wiley sales representative for details.)
2 of 10 2/1/2010 2:56 PM
Preface http://edugen.wiley.com/edugen/courses/crs2656/horstmann3292/horstma...
Appendices
Appendix A contains a programming style guide. Using a style guide for programming assignments benefits students by
directing them toward good habits and reducing gratuitous choice. The style guide is available in electronic form so that
instructors can modify it to reflect their preferred style.
Appendix D lists character escape sequences and ASCII character code values.
Appendix E documents all of the library functions and classes used in this book. An expanded version of this Appendix that
includes the functions and classes used in the four optional chapters, 11—14, is available on the Web and in WileyPLUS.
Appendices F, G, and H cover number systems, bit and shift operations, and a comparison of C++ and Java; all three are on the
Web and in WileyPLUS.
3 of 10 2/1/2010 2:56 PM
Preface http://edugen.wiley.com/edugen/courses/crs2656/horstmann3292/horstma...
The pedagogical elements in this book work together to focus on and reinforce key concepts and fundamental principles of
programming, with additional tips and detail organized to support and deepen these fundamentals. In addition to traditional
features, such as chapter objectives and a wealth of exercises, each chapter contains elements geared to today's visual learner.
4 of 10 2/1/2010 2:56 PM
Preface http://edugen.wiley.com/edugen/courses/crs2656/horstmann3292/horstma...
Special Features
Seven special features add detail and provide step-by-step guidance. Identified with the icons shown here, they are set off so
they don't interrupt the flow of the main material. Some of these are quite short; others extend over a page. Each topic is given
the space that is needed for a full and convincing explanation—instead of being forced into a one-paragraph “tip”. You can use
the tables on pages xxii—xxv to see the features in each chapter and the page numbers where they can be found.
5 of 10 2/1/2010 2:56 PM
Preface http://edugen.wiley.com/edugen/courses/crs2656/horstmann3292/horstma...
6 of 10 2/1/2010 2:56 PM
Preface http://edugen.wiley.com/edugen/courses/crs2656/horstmann3292/horstma...
The book is supplemented by a complete suite of online resources and a robust WileyPLUS course.
7 of 10 2/1/2010 2:56 PM
Preface http://edugen.wiley.com/edugen/courses/crs2656/horstmann3292/horstma...
Students can locate the Worked Examples and other content marked with a plus icon, , in the WileyPLUS course
or on the web site for the book at www.wiley.com/college/horstmann.
WileyPLUS
The first two pages of this book describe an innovative online tool for teachers and students: WileyPLUS is an online learning
environment that combines all of the resources of a learning management system with an ebook.
With WileyPLUS, instructors can manage reading and homework assignments, create tests, assign quizzes, and store results in
an online gradebook. A WileyPLUS adoption also enables students to purchase an eBook at a fraction of the price of the print
edition. In addition to the eBook, WileyPLUS integrates all of the instructor and student web resources into an online version
of this text. For more information and a demo, please visit the web site listed on pages i-ii, or talk to your Wiley representative.
Many thanks to Dan Sayre, Lauren Sapira, Lisa Gee, and Carolyn Weisman at John Wiley & Sons, and to the team at Publishing
Services for their hard work and support for this book project. An especially deep acknowledgment and thanks to Cindy
Johnson, who, through enormous patience and attention to detail, made this book a reality. We would also like to thank
Jonathan Tolstedt, North Dakota State University, for working with us to prepare the solutions.
We are very grateful to the many individuals who reviewed the book and made many valuable suggestions for improvement.
They include:
8 of 10 2/1/2010 2:56 PM
Preface http://edugen.wiley.com/edugen/courses/crs2656/horstmann3292/horstma...
9 of 10 2/1/2010 2:56 PM
Preface http://edugen.wiley.com/edugen/courses/crs2656/horstmann3292/horstma...
Copyright © 2009 John Wiley & Sons, Inc. All rights reserved.
10 of 10 2/1/2010 2:56 PM
Chapter Goals To learn abo ... http://edugen.wiley.com/edugen/courses/crs2656/horstmann3292/horstma...
Chapter
Chapter Goals
This chapter contains a brief introduction to the architecture of computers and an overview of programming
languages. You will learn about the activity of programming: how to write and run your first C++ program, how
to diagnose and fix programming errors, and how to plan your programming activities.
Copyright © 2009 John Wiley & Sons, Inc. All rights reserved.
1 of 1 2/1/2010 8:21 AM
What is a Computer? http://edugen.wiley.com/edugen/courses/crs2656/horstmann3292/horstma...
You have probably used a computer for work or fun. Many people use computers for everyday tasks such as electronic banking
or writing a term paper. Computers are good for such tasks. They can handle repetitive chores, such as totaling up numbers or
placing words on a page, without getting bored or exhausted.
The flexibility of a computer is quite an amazing phenomenon. The same machine can balance your checkbook, print your term
paper, and play a game. In contrast, other machines carry out a much narrower range of tasks; a car drives and a toaster toasts.
Computers can carry out a wide range of tasks because they execute different programs, each of which directs the computer to
work on a specific task.
The computer itself is a machine that stores data (numbers, words, pictures), interacts with devices (the monitor, the sound
system, the printer), and executes programs. A computer program tells a computer, in minute detail, the sequence of steps that
are needed to fulfill a task. The physical computer and peripheral devices are collectively called the hardware. The programs
the computer executes are called the software.
Today's computer programs are so sophisticated that it is hard to believe that they are composed of extremely primitive
operations. A typical operation may be one of the following:
The act of designing and implementing computer programs is called programming. In this book, you will learn how to
program a computer—that is, how to direct the computer to execute tasks.
To write a computer game with motion and sound effects or a word processor that supports fancy fonts and pictures is a
complex task that requires a team of many highly skilled programmers. Your first programming efforts will be more mundane.
The concepts and skills you learn in this book form an important foundation, and you should not be disappointed if your first
programs do not rival the sophisticated software that is familiar to you. Actually, you will find that there is an immense thrill
even in simple programming tasks. It is an amazing experience to see the computer precisely and quickly carry out a task that
would take you hours of drudgery, to make small changes in a program that lead to immediate improvements, and to see the
computer become an extension of your mental powers.
Self Check
1 of 2 2/1/2010 8:21 AM
The Anatomy of a Computer http://edugen.wiley.com/edugen/courses/crs2656/horstmann3292/horstma...
To understand the programming process, you need to have a rudimentary understanding of the building blocks that make up a
computer. We will look at a personal computer. Larger computers have faster, larger, or more powerful components, but they
have fundamentally the same design.
At the heart of the computer lies the central processing unit (CPU) (see Figure 1). It consists of a single chip, or a small
number of chips. A computer chip (integrated circuit) is a component with a plastic or metal housing, metal connectors, and
inside wiring made principally from silicon. For a CPU chip, the inside wiring is enormously complicated. For example, the
Pentium chip (a popular CPU for personal computers at the time of this writing) is composed of several million structural
elements, called transistors.
The CPU performs program control and data processing. That is, the CPU locates and executes the program instructions; it
carries out arithmetic operations such as addition, subtraction, multiplication, and division; it fetches data from external
memory or devices and stores data back. All data must travel through the CPU whenever it is moved from one location to
another.
The computer stores data and programs in memory. There are two kinds of memory. Primary storage is made from memory
chips: random-access memory (RAM) and read-only memory (ROM). Read-only memory contains certain programs that must
always be present—for example, the code needed to start the computer. Random-access memory might have been better called
“read-write memory”, because the CPU can read data from it and write data back to it. That makes RAM suitable to hold
changing data and programs that do not have to be available permanently. RAM memory has two disadvantages. It is
comparatively expensive, and it loses all its data when the power is turned off. Secondary storage, usually a hard disk (see
Figure 2), provides less expensive storage that persists without electricity. A hard disk consists of rotating platters, which are
coated with a magnetic material, and read/write heads, which can detect and change the magnetic flux on the platters. Programs
and data are typically stored on the hard disk and loaded into RAM when the program starts. The program then updates the data
in RAM and writes the modified data back to the hard disk.
1 of 3 2/1/2010 8:22 AM
The Anatomy of a Computer http://edugen.wiley.com/edugen/courses/crs2656/horstmann3292/horstma...
To interact with a human user, a computer requires peripheral devices. The computer transmits information (called output) to
the user through a display screen, speakers, and printers. The user can enter information (called input) for the computer by
using a keyboard or a pointing device such as a mouse.
Some computers are self-contained units, whereas others are interconnected through networks. Through the network cabling,
the computer can read data and programs from central storage locations or send data to other computers. For the user of a
networked computer it may not even be obvious which data reside on the computer itself and which are transmitted through the
network.
Figure 3 gives a schematic overview of the architecture of a personal computer. Program instructions and data (such as text,
numbers, audio, or video) are stored on the hard disk, on a CD-ROM, or elsewhere on the network. When a program is started,
it is brought into RAM memory, from where the CPU can read it. The CPU reads the program one instruction at a time. As
directed by these instructions, the CPU reads data, modifies it, and writes it back to RAM memory or the hard disk. Some
program instructions will cause the CPU to place dots on the display screen or printer or to vibrate the speaker. As these
actions happen many times over and at great speed, the human user will perceive images and sound. Some program instructions
read user input from the keyboard or mouse. The program analyzes the nature of these inputs and then executes the next
appropriate instructions.
2 of 3 2/1/2010 8:22 AM
The Anatomy of a Computer http://edugen.wiley.com/edugen/courses/crs2656/horstmann3292/horstma...
Self Check
Copyright © 2009 John Wiley & Sons, Inc. All rights reserved.
3 of 3 2/1/2010 8:22 AM
RANDOM FACT 1.1 The ENIAC and the Dawn of Computing http://edugen.wiley.com/edugen/courses/crs2656/horstmann3292/horstma...
The ENIAC (electronic numerical integrator and computer) was the first usable electronic computer. It was
designed by J. Presper Eckert and John Mauchly at the University of Pennsylvania and was completed in 1946—two
years before transistors were invented. The computer was housed in a large room and consisted of many cabinets
containing about 18,000 vacuum tubes (see Figure 4). Vacuum tubes burned out at the rate of several tubes per day.
An attendant with a shopping cart full of tubes constantly made the rounds and replaced defective ones. The
computer was programmed by connecting wires on panels. Each wiring configuration would set up the computer
for a particular problem. To have the computer work on a different problem, the wires had to be replugged.
Work on the ENIAC was supported by the U.S. Navy, which was interested in computations of ballistic tables that
would give the trajectory of a projectile, depending on the wind resistance, initial velocity, and atmospheric
conditions. To compute the trajectories, one must find the numerical solutions of certain differential equations;
hence the name “numerical integrator”. Before machines like the ENIAC were developed, humans did this kind of
work, and until the 1950s the word “computer” referred to these people. The ENIAC was later used for peaceful
purposes such as the tabulation of U.S. Census data.
1 of 2 2/1/2010 8:22 AM
Machine Code and Programming Languages http://edugen.wiley.com/edugen/courses/crs2656/horstmann3292/horstma...
On the most basic level, computer instructions are extremely primitive. The processor executes machine instructions. A
typical sequence of machine instructions is
Actually, machine instructions are encoded as numbers so that they can be stored in memory. On a Pentium processor, this
sequence of instruction is encoded as the sequence of numbers
On a processor from a different manufacturer, the encoding would be different. When this kind of processor fetches this
sequence of numbers, it decodes them and executes the associated sequence of commands.
How can we communicate the command sequence to the computer? The simplest method is to place the actual numbers into
the computer memory. This is, in fact, how the very earliest computers worked. However, a long program is composed of
thousands of individual commands, and it is a tedious and error-prone affair to look up the numeric codes for all commands
and place the codes manually into memory. As already mentioned, computers are really good at automating tedious and
error-prone activities. It did not take long for computer programmers to realize that the computers themselves could be
harnessed to help in the programming process.
A special computer program, a compiler, translates the higher-level description into machine instructions for a particular
processor.
For example, in C++ , the high-level programming language that we will use in this book, you might give the following
instruction:
This means, “If the interest rate is over 100, display an error message”. It is then the job of the compiler program to look at
each C++ instruction and translate it into the machine instructions for the particular processor.
High-level languages are independent of the underlying hardware. C++ instructions work equally well on an Intel Pentium and
a processor in a cell phone. Of course, the compiler-generated machine instructions are different, but the programmer who uses
the compiler need not worry about these differences.
Self Check
1 of 2 2/1/2010 8:22 AM
The Evolution of C++ http://edugen.wiley.com/edugen/courses/crs2656/horstmann3292/horstma...
C++ is built upon the C programming language, which was developed to be translated into fast machine code with a minimum
of housekeeping overhead. C++ built on C by adding features for “object-oriented programming”, a programming style that
enables modeling of real-world objects.
The initial version of the C language was designed about 1972. Additional features were added to it over the years. Because
different compiler writers added different features, the language actually sprouted various dialects. Some programming
instructions were understood by one compiler but rejected by another. Such divergence is a major obstacle to a programmer
who wants to move code from one computer to another. An effort got underway to iron out the differences and come up with a
standard version of C. The design process ended in 1989 with the completion of the ANSI (American National Standards
Institute) standard. In the meantime, Bjarne Stroustrup of AT&T added features of the language Simula (an object-oriented
language designed for carrying out simulations) to C. The resulting language was called C++.
From 1985 until today, C++ has grown by the addition of many features. A standardization process culminated in the
publication of the international C++ standard in 1998. A minor update to the standard was issued in 2003, and a major
revision is expected to come to fruition around 2010.
At this time, C++ is the most commonly used language for developing system software such as databases and operating
systems. Just as importantly, C++ is increasingly used for programming “embedded systems”, small computers that control
devices such as automobile engines or cellular telephones.
Self Check
Copyright © 2009 John Wiley & Sons, Inc. All rights reserved.
1 of 1 2/1/2010 8:23 AM
RANDOM FACT 1.2 Standards Organizations http://edugen.wiley.com/edugen/courses/crs2656/horstmann3292/horstma...
Two organizations, the American National Standards Institute (ANSI) and the International Organization for
Standardization (ISO), have jointly developed the definitive standard for the C++ language.
iStockphoto.
Why have standards? You encounter the benefits of standardization every day. When you buy a light bulb, you can
be assured that it fits in the socket without having to measure the socket at home and the bulb in the store. In fact,
you may have experienced how painful the lack of standards can be if you have ever purchased a flashlight with
nonstandard bulbs. Replacement bulbs for such a flashlight can be difficult and expensive to obtain.
The ANSI and ISO standards organizations are associations of industry professionals who develop standards for
everything from car tires and credit card shapes to programming languages. Having a standard for a programming
language such as C++ means that you can take a program that you developed on one system with one
manufacturer's compiler to a different system and be assured that it will continue to work.
Copyright © 2009 John Wiley & Sons, Inc. All rights reserved.
1 of 1 2/1/2010 8:29 AM
Discovering Diverse Content Through
Random Scribd Documents
proprietors, or their stewards. How much is the delight of looking
upon plenteousness lessened by the belief, that it supplies the
means of excess to a few, but denies those of competence to many!
Between this pass of cultivated steeps on one side of the river, and
of romantic rocks on the other, the road continues for several miles.
Being thus commanded on both sides, it must be one of the most
difficult passages in Europe to an enemy, if resolutely defended. The
Rhine, pent between these impenetrable boundaries, is considerably
narrower here than in other parts of the valley, and so rapid, that a
loaded vessel can seldom be drawn faster than at the rate of six
English miles a day, against the stream. The passage down the river
from Mentz to Cologne may be easily performed in two days; that
from Cologne to Mentz requires a fortnight.
Our driver, after passing a desolate, half filled place, into which the
gate of Andernach opened, entered a narrow passage, which
afterwards appeared to be one of the chief streets of the place. Here
he found a miserable inn, and declared that there was no other; but,
as we had seen one of a much better appearance, we were at length
brought to that, and, though with some delay, were not ill
accommodated, for the night.
COBLENTZ.
It is one post from Andernach hither, over a road, as good as any
in England. Beyond the dominions of the Elector of Cologne, the face
of the country, on this side of the Rhine, entirely changes its
character. The rocks cease, at Andernach, and a rich plain
commences, along which the road is led, at a greater distance from
the Rhine, through corn lands and uninclosed orchards. About a mile
from Andernach, on the other side of the river, the white town of
Neuwiedt, the capital of a small Protestant principality, is seen; and
the general report, that it is one of the most commercial places, on
the Rhine, appeared to be true from the cheerful neatness of the
principal street, which faces towards the water. There were also
about twenty small vessels, lying before it, and the quay seemed to
be wide enough to serve as a spacious terrace to the houses. The
Prince's palace, an extensive stone building, with a lofty orangery
along the shore, is at the end of this street, which, as well as the
greatest part of the town, was built, or improved under the auspices
of his father; a wise prince, distinguished by having negotiated, in
1735, a peace between the Empire and France, when the
continuance of the war had seemed to be inevitable. The same
benevolence led him to a voluntary surrender of many oppressive
privileges over his subjects, as well as to the most careful protection
of commerce and manufactures. Accordingly, the town of Neuwiedt
has been continually increasing in prosperity and size, for the last
fifty years, and the inhabitants of the whole principality are said to
be as much more qualified in their characters as they are happier in
their conditions than those of the neighbouring states. But then
there is the wretchedness of a deficiency of game in the country, for
the late Prince was guilty of such an innovation as to mitigate the
severity of the laws respecting it.
The forest hills, that rise behind Neuwiedt and over the rocky
margin of the river, extend themselves towards the more rugged
mountains of Wetteravia, which are seen, a shapeless multitude, in
the east.
The river is soon after lost to the view between high, sedgy banks;
but, near Coblentz, the broad bay, which it makes in conjunction
with the Moselle, is seen expanding between the walls of the city
and the huge pyramidal precipice, on which stands the fortress of
Ehrenbreitstein, or rather which is itself formed into that fortress.
The Moselle is here a noble river, by which the streams of a
thousand hills, covered with vines, pour themselves into the Rhine.
The antient stone bridge over it leads to the northern gate of
Coblentz, and the entrance into the city is ornamented by several
large chateau-like mansions, erected to command a view of the two
rivers. A narrow street of high, but antient houses then commences,
and runs through the place. Those, which branch from it, extend, on
each side, towards the walls, immediately within which there are
others, that nearly follow their course and encompass the city. Being
built between two rivers, its form is triangular, and only one side is
entirely open to the land; a situation so convenient both for the
purposes of commerce and war, that it could not be overlooked by
the Romans, and was not much neglected by the moderns, till the
industry of maritime countries and the complicated constitution of
the Empire reduced Germany in the scale of nations. This was
accordingly the station of the first legion, and the union of the two
rivers gave it a name; Confluentia. At the commencement of the
modern division of nations, the successors of Charlemagne
frequently resided here, for the convenience of an intercourse
between the other parts of the Empire and France; but, in the
eleventh century, the whole territory of Treves regained the
distinction, as a separate country, which the Romans had given it, by
calling the inhabitants Treveri.
But the most striking parts of the view from this quay are the rock
and fortress of Ehrenbreitstein, that present themselves immediately
before it, on the other side of the river; notwithstanding the breadth
of which they appear, to rise almost perpendicularly over Coblentz.
At the base of the rock stands a large building, formerly the palace
of the Electors, who chose to reside under the immediate protection
of the fortress, rather than in the midst of their capital. Adjoining it
is the village of Ehrenbreitstein, between which and Coblentz a flying
bridge is continually passing, and, with its train of subordinate boats,
forms a very picturesque object from the quay. The fortress itself
consists of several tier of low walls, built wherever there was a
projection in the rock capable of supporting them, or wherever the
rock could be hewn so as to afford room for cannon and soldiers.
The stone, taken out of the mass, served for the formation of the
walls, which, in some places, can scarcely be distinguished from the
living rock. Above these tier, which are divided into several small
parts, according to the conveniences afforded by the cliff, is built the
castle, or citadel, covering its summit, and surrounded by walls more
regularly continued, as well as higher. Small towers, somewhat in
the antient form, defend the castle, which would be of little value,
except for its height, and for the gradations of batteries between it
and the river. Thus protected, it seems impregnable on that side,
and is said to be not much weaker on the other; so that the
garrison, if they should be willing to fire upon Coblentz, might make
it impossible for an enemy to remain within it, except under the
cover of very high entrenchments. This is the real defence of the
city, for its walls would presently fall before heavy artillery; and this,
it is believed, might be preserved as long as the garrison could be
supplied with stores.
The only entrance into the fortress, on this side, is by a road, cut
in the solid rock, under four gateways. It is so steep, that we were
compelled to decline the honour of admission, but ascended it far
enough to judge of the view, commanded from the summit, and to
be behind the batteries, of which some were mounted with large
brass cannon. Coblentz lies beneath it, as open to inspection as a
model upon a table. The sweeps of the Rhine and the meanders of
the Moselle, the one binding the plain, the other intersecting it, lead
the eye towards distant hills, that encircle the capacious level. The
quay of the city, with the palace and the moving bridge, form an
interesting picture immediately below, and we were unwilling to
leave the rock for the dull and close streets of Coblentz. On our
return, the extreme nakedness of the new palace, which is not
sheltered by trees, on any side, withdrew our attention from the
motley group of passengers, mingled with hay carts and other
carriages, on the flying bridge.
MONTABAUR.
Six hours after leaving Coblentz, we reached Montabaur, the first
post-town on the road, and distant about eighteen miles. An ancient
chateau, not strong enough to be a castle, nor light enough to be a
good house, commands the town, and is probably the residence of
the lord. The walls and gates shew the antiquity of Montabaur, but
the ruggedness of its site should seem to prove, that there was no
other place in the neighbourhood, on which a town could be built.
Though it is situated in a valley, as to the nearer mountains, it is
constructed chiefly on two sides of a narrow rock, the abrupt summit
of which is in the centre of this very little place.
Near Limbourg, the forest scenery, which had shut up the view,
during the day, disappeared, and the country lost, at least, an
uniformity of savageness. The hills continue, but they are partly
cultivated. At a small distance from the town, a steep ascent leads to
a plain, on which a battle was fought, during the short stay of the
French in this district, in the campaign of 1792. Four thousand
French were advancing towards Limbourg; a small Prussian corps
drew up to oppose them, and the engagement, though short, was
vivid, for the Prussians did not perceive the superiority of the French
in numbers, till the latter began to spread upon the plain, for the
purpose of surrounding them. Being then compelled to retreat, they
left several of the Elector's towns open to contribution, from which
five-and-twenty thousand florins were demanded, but the
remonstrances of the magistrates reduced this sum to 8000 florins,
or about 700l. The French then entered Limbourg, and extended
themselves over the neighbouring country. At Weilbourg, the
residence of a Prince of the House of Nassau, they required 300,000
florins, or 25,000l. which the Prince neither had, nor could collect, in
two days, through his whole country. All his plate, horses, coaches,
arms and six pieces of cannon, were brought together, for the
purpose of removal; but afterwards two individuals were accepted as
hostages, instead of the Prince himself, who had been at first
demanded. The action near Limbourg took place on the 9th of
November, and, before the conclusion of the month, the French had
fallen back to Franckfort, upon the re-approach of the Prussian and
Austrian troops.
SELTERS.
We had a curiosity to see this place, which, under the name of
Seltzer, is so celebrated throughout Europe, for its medicinal water.
Though it is rather in the high road to Franckfort than to Mentz,
there seemed no probability of inconvenience in making this short
departure from our route, when it was to be joined again from a
place of such public access as Selters appeared likely to be found.
The only lodgings to be had are at the inn, and fortunately for
travellers this is not such as might be expected from the appearance
of the village. Finding there the novelty of an obliging host and
hostess, we were very well contented to have reached it, at night,
though we were to stay there also the next day, being Sunday. The
rooms are as good as those in the inns of German cities, and three,
which are called Court Chambers, having been used by the Elector
and lately by the King of Prussia, are better. These are as open as
the others to strangers.
Nor is it only a duty, but the whole profit of the traffick, till the
water leaves the place, which rewards the care of the Elector. His
office for the sale of it is established here, and his agents alone
transmit it into foreign countries. The business is sufficient to employ
several clerks, and the number of bottles annually filled is so
immense, that, having omitted to write it down, we will not venture
to mention it from memory. The water is brought to table constantly
and at an easy price in all the towns near the Rhine. Mixed with
Rhenish wine and sugar it forms a delightful, but not always a safe
beverage, in hot weather. The acid of the wine, expelling the fixed
air of other ingredients, occasions an effervescence, like that of
Champagne, but the liquor has not a fourth part of the obnoxious
strength of the latter. The danger of drinking it is, that the acid may
be too powerful for some constitutions.
The country on the eastern side of the river was otherwise but
little damaged, if we except the destruction of numerous orchards;
for the allies were not strong enough to besiege the city on all sides
at once, and contented themselves with occupying some posts in
this quarter, capable of holding the garrison of Cassel in awe.
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookfinal.com