PDF Microsoft Visual C 2010 An Introduction to Object Oriented Programming 4th Edition Joyce Farrell download
PDF Microsoft Visual C 2010 An Introduction to Object Oriented Programming 4th Edition Joyce Farrell download
com
https://ebookname.com/product/microsoft-visual-c-2010-an-
introduction-to-object-oriented-programming-4th-edition-
joyce-farrell/
OR CLICK BUTTON
DOWNLOAD EBOOK
https://ebookname.com/product/object-oriented-programming-using-c-
fourth-edition-joyce-farrell/
ebookname.com
https://ebookname.com/product/introduction-to-object-oriented-
programming-an-3rd-edition-timothy-budd/
ebookname.com
https://ebookname.com/product/object-oriented-programming-with-c-4th-
edition-e-balagurusamy/
ebookname.com
https://ebookname.com/product/rockefeller-philanthropy-and-modern-
social-science-1st-edition-david-l-seim/
ebookname.com
Microbial Ecology 1st Edition Larry L. Barton
https://ebookname.com/product/microbial-ecology-1st-edition-larry-l-
barton/
ebookname.com
https://ebookname.com/product/hormones-cognition-and-dementia-state-
of-the-art-and-emergent-therapeutic-strategies-1st-edition-eef-
hogervorst/
ebookname.com
https://ebookname.com/product/basic-heat-and-mass-transfer-third-
edition-anthony-f-mills/
ebookname.com
https://ebookname.com/product/introduction-to-statistics-in-
psychology-6th-edition-dennis-howitt/
ebookname.com
Elementary Number Theory 2nd Edition Underwood Dudley
https://ebookname.com/product/elementary-number-theory-2nd-edition-
underwood-dudley/
ebookname.com
Apago PDF Enhancer
This is an electronic version of the print textbook. Due to electronic rights restrictions,
some third party content may be suppressed. Editorial review has deemed that any suppressed
content does not materially affect the overall learning experience. The publisher reserves the right
Apago PDF Enhancer
to remove content from this title at any time if subsequent rights restrictions require it. For
valuable information on pricing, previous editions, changes to current editions, and alternate
formats, please visit www.cengage.com/highered to search by ISBN#, author, title, or keyword for
materials in your areas of interest.
FOURTH EDITION
MICROSOFT®
VISUAL C#® 2010
AN INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING
J O Y C E FA R R E L L
Australia • Brazil • Japan • Korea • Mexico • Singapore • Spain • United Kingdom • United States
Microsoft® Visual C#® 2010: An © 2011 Course Technology, Cengage Learning
Introduction to Object-Oriented
ALL RIGHTS RESERVED. No part of this work covered by the copyright
Programming, Fourth Edition
herein may be reproduced, transmitted, stored, or used in any form or by
Joyce Farrell any means—graphic, electronic, or mechanical, including but not limited
to photocopying, recording, scanning, digitizing, taping, Web distribution,
Publisher: Nicole Pinard
information networks, or information storage and retrieval systems, except
Executive Editor: Marie Lee as permitted under Section 107 or 108 of the 1976 United States Copyright
Acquisitions Editor: Amy Jollymore Act—without the prior written permission of the publisher.
Pref ace . . . . . . . . . . . . . . . . . xv
CH AP TER 1 A F ir s t Prog ram Usi ng C# . . . . . . . . . 1
CH AP TER 2 U s in g Dat a . . . . . . . . . . . . . . . . 49
CH AP TER 3 U s in g GU I Obj ec ts and the V i sual
St u dio IDE . . . . . . . . . . . . . . . 103
CH AP TER 4 M ak in g Deci si o ns . . . . . . . . . . . . 142
CH AP TER 5 Lo o pin g . . . . . . . . . . . . . . . . 194
CH AP TER 6 U s in g Ar r a y s . . . . . . . . . . . . . . 232
CH AP TER 7 UApago
s in g M ethoPDF
ds . Enhancer
. . . . . . . . . . . . 273
CH AP TER 8 Advan ced Met ho d Concepts . . . . . . . . 315
CH AP TER 9 U s in g Clas ses a nd Obj ects . . . . . . . . 354
CH AP TER 10 In t ro du ct io n t o I nheri tance . . . . . . . . 427
CH AP TER 11 Except io n Hand l i ng . . . . . . . . . . . 490
CH AP TER 12 U s in g Co n t ro l s . . . . . . . . . . . . . 540
CH AP TER 13 H an dlin g E v ent s . . . . . . . . . . . . . 606
CH AP TER 14 F iles an d St ream s . . . . . . . . . . . . 656
CH AP TER 15 U s in g LINQ t o A ccess Data i n C#
Pro g r am s . . . . . . . . . . . . . . . . 708
BRIEF CONTENTS
AP PEN DIX A Oper at o r Pre cede nce And Associ ati v i ty . . . 764
AP PEN DIX B U n der s t an ding Numberi ng Sy stems
an d Co m pu t er Co des . . . . . . . . . . . 766
AP PEN DIX C U s in g T h e IDE E d i tor . . . . . . . . . . . 775
iv
Glo s s ar y . . . . . . . . . . . . . . . . 779
In dex . . . . . . . . . . . . . . . . . 799
Pref ace . . . . . . . . . . . . . . . . . xv
C HAP TER 8
Apago PDF Enhancer
Advan ced Met ho d Concepts . . . . . . . . 315
Understanding Parameter Types. . . . . . . . . . . . . . 316
Using Mandatory Value Parameters . . . . . . . . . . . 316
Using Reference and Output Parameters . . . . . . . . . 318
Using Parameter Arrays . . . . . . . . . . . . . . . . 321
Overloading Methods. . . . . . . . . . . . . . . . . . . 323
Understanding Overload Resolution . . . . . . . . . . . 329
Understanding Built-In Overloaded Methods . . . . . . . . 330
Avoiding Ambiguous Methods . . . . . . . . . . . . . . . 332
Using Optional Parameters . . . . . . . . . . . . . . . . 334
Leaving Out Unnamed Arguments . . . . . . . . . . . . 336
Using Named Arguments . . . . . . . . . . . . . . . . 337
Overload Resolution with Named
and Optional Arguments . . . . . . . . . . . . . . . . 338
You Do It . . . . . . . . . . . . . . . . . . . . . . . . 339
Using Reference Parameters . . . . . . . . . . . . . . 339
Overloading Methods . . . . . . . . . . . . . . . . . . 341
Chapter Summary . . . . . . . . . . . . . . . . . . . . 342
Key Terms . . . . . . . . . . . . . . . . . . . . . . . 343
Review Questions . . . . . . . . . . . . . . . . . . . . 344
Exercises . . . . . . . . . . . . . . . . . . . . . . . . 349
CONTENTS
You Do It . . . . . . . . . . . . . . . . . . . . . . . . 635
Creating Delegates. . . . . . . . . . . . . . . . . . . 635
Creating a Composed Delegate . . . . . . . . . . . . . 637
Creating a Delegate that Encapsulates Instance
Methods . . . . . . . . . . . . . . . . . . . . . . . 640
Creating an Event Listener . . . . . . . . . . . . . . . 642 xiii
Using TabIndex . . . . . . . . . . . . . . . . . . . 644
Associating One Method with Multiple Events . . . . . . . 645
Chapter Summary . . . . . . . . . . . . . . . . . . . . 646
Key Terms . . . . . . . . . . . . . . . . . . . . . . . 648
Review Questions . . . . . . . . . . . . . . . . . . . . 648
Exercises . . . . . . . . . . . . . . . . . . . . . . . . 653
AP PEN DIX A Oper at o r Pre cede nce And Associ ati v i ty . . . 764
Glo s s ar y . . . . . . . . . . . . . . . . 779
In dex . . . . . . . . . . . . . . . . . 799
Preface
xv
Instructor Resources
xix
The following supplemental materials are available when this book is
used in a classroom setting. All of the teaching tools for this book are
provided to the instructor on a single CD-ROM, and are also avail-
able for download at the companion site for the text (www.cengage.
com/coursetechnology).
ELECTRONIC INSTRUCTOR’S MANUAL The Instructor’s Manual
that accompanies this textbook includes:
• Additional instructional material to assist in class preparation,
including suggestions for lecture topics.
• Solutions to Review Questions, end-of-chapter programming exer-
cises, debugging exercises, and Up For Discussion questions.
®
EXAMVIEW This textbook is accompanied by ExamView, a powerful
testing software package that allows instructors to create and admin-
ister printed, computer (LAN-based), and Internet exams. ExamView
Apago PDF Enhancer
includes hundreds of questions that correspond to the topics covered
in this text, enabling students to generate detailed study guides that
include page references for further review. The computer-based and
Internet testing components allow students to take exams at their com-
puters, and save the instructor time by grading each exam automatically.
POWERPOINT PRESENTATIONS This book comes with Microsoft
PowerPoint slides for each chapter. These slides are included as a
teaching aid for classroom presentation; teachers can make them
available on the network for chapter review or print them for class-
room distribution. Instructors can add their own slides for additional
topics they introduce to the class.
SOLUTION FILES Solutions to all “You Do It” exercises and end-of
chapter exercises are provided on the Instructor Resources CD-ROM
and on the Course Technology Web site at www.cengage.com/
coursetechnology. The solutions are password protected.
DISTANCE LEARNING Cengage Learning is proud to present online
test banks in WebCT and Blackboard to provide the most complete
and dynamic learning experience possible. Instructors are encouraged
to make the most of the course, both online and offline. For more
information on how to access the online test bank, contact your local
Course Technology sales representative.
P R E FA C E
Acknowledgments
I would like to thank all of the people who helped to make this book
a reality, especially Dan Seiter, the development editor, who once
again worked against multiple, aggressive deadlines to make this
book into a superior instructional tool. Thanks also to Alyssa Pratt,
xx Senior Product Manager; Amy Jollymore, Acquisitions Editor; and
Lisa Weidenfeld, Content Project Manager. I am grateful to be able to
work with so many fine people who are dedicated to producing good
instructional materials.
I am also grateful to the many reviewers who provided helpful
comments and encouragement during this book’s development,
including Matthew Butcher, Mohave Community College;
Dan Guilmette, Cochise College; and Jorge Vallejos, Columbus
State Community College.
Thanks, too, to my husband, Geoff, for his constant support and
encouragement. Finally, this book is dedicated to Andrea and Forrest,
wishing them a lifetime of happiness together.
Joyce Farrell
To the User
To complete the debugging exercises in this book, you will need data
files that have been created specifically for the book. Your instructor
will provide the data files to you. You also can obtain the files
electronically from the Course Technology Web site by connecting to
www.cengage.com/coursetechnology and then searching for this book
Apago PDF Enhancer
title. Note that you can use a computer in your school lab or your
own computer to complete the exercises in this book.
The data files for this book are organized such that the examples and
exercises are divided into folders named Chapter.xx, where xx is the
chapter number. You can save these files in the same folders unless
specifically instructed to do otherwise in the chapter.
DATA FILES You will not be able to complete the debugging exer-
cises in this book using your own computer unless you have the data
files. You can get the data files from your instructor, or you can obtain
them electronically from the Course Technology Web site by con-
necting to www.cengage.com/coursetechnology and searching for this
book title. Additionally, the data files include code for every example
xxii
shown in a figure in the book.
To the Instructor
To complete the debugging exercises and chapters in this book, your
users must work with a set of data files. These files are included on
the Instructor Resources CD. You can also obtain these files electron-
ically through the Course Technology Web site at www.cengage.com/
coursetechnology. Follow the instructions in the Help file to copy the
user files to your server or stand-alone computer. You can view the
Help file using a text editor such as WordPad or Notepad.
Once the files are copied, you can make copies for the users yourself
or tell them where to find the files so they can make their own copies.
License
Apago to Use
PDFDataEnhancer
Files
You are granted a license to copy the files that accompany this book
to any computer or computer network used by people who have
purchased this book.
A First Program
CHAPTER 1
Using C#
Fig. 23.
SECTION OF VERTEBRAL
CENTRUM OF
THORNBACK.
[18] One of the Thurso coprolites in my possession is about
one fourth longer than the larger of the two specimens figured
here, and nearly thrice as broad.
[19] In two of these, in a collection of several score, I have
failed to detect the spiral markings, though their state of keeping
is decidedly good. There are other appearances which lead me to
suspect that the Asterolepis was not the only large fish of the
Lower Old Red Sandstone; but my facts on the subject are too
inconclusive to justify aught more than sedulous inquiry.
[20] The shaded plate, (a,) accidentally presented in this
specimen, belongs to the upper part of the head. It is the
posterior frontal plate F, which half-encircled the eye orbit, (see
fig. 29;) and I have introduced it into the print here, as in none of
the other prints, or of any other specimens, is its upper surface
shown.
[21] The late Mr. John Thurston.
[22] “Mr. Phillips proceeded to describe some remains of a
small fish, resembling the Cheiracanthus of the Old Red
Sandstone, scales and spines of which he had found in a quarry
at Hales End, on the western side of the Malverns. The section
presented beds of the Old Red Sandstone inclined to the west;
beneath these were arenaceous beds of a lighter color, forming
the junction with Silurian shales; these, again, passing on to
calcareous beds in the lower part of the quarry, containing the
corals and shells of the Aymestry Limestone, of their agreement
with which stronger evidence might be obtained elsewhere. He
had found none of these scales in the junction beds or in the
Upper Ludlow Shales; but about sixty or one hundred feet lower,
just above the Aymestry Limestone, his attention had been
attracted to discolored spots on the surface of the beds, which,
upon microscopic examination, proved to be the minute scales
and spines before mentioned. These remains were only apparent
on the surface, whilst the ‘fish-bed’ of the Upper Ludlow rock, as
it usually occurred, was an inch thick, consisting of innumerable
small teeth and spines.”—Report, in “Athenæum” for 1842, of the
Proceedings of the Twelfth Meeting of British Association,
(Manchester.)
[23] “This is the lowest position” (that of the Onondago
Limestone) “in the State of New York in which any remains have
been found higher in the scale of organized beings than
Crustacea, with the exception of an imperfectly preserved fish-
bone discovered by Hall in the Oriskany Sandstone. That
specimen, together with the defensive fish-bone found in this part
of the New York system, furnishes evidences of the existence of
animals belonging to the class vertebrata during the deposition of
the middle part of the protozoic strata.”—American Journal of
Science and Arts for 1846, p. 63.
[24] “The shales alternating with the Wenlock Limestone.”
(Edinburgh Review.)
[25] The Silurian Placoids are most adequately represented by
the Cestracion of the southern hemisphere; but I know not that
of the peculiar character and instincts of this interesting Placoid,
—the last of its race,—there is any thing known. For its form and
general appearance see fig. 49, page 177.
[26] Such as the dog-fishes, picked and spotted.
[27] The twelfth in Spinax Acanthius, and the fourteenth in
Scyllium Stellare.
[28] It will scarce be urged against the degradation theory, that
those races which, tried by the tests of defect or misplacement of
parts, we deem degraded, are not less fitted for carrying on what
in their own little spheres is the proper business of life, than the
non-degraded orders and families. The objection is, however, a
possible one, and one which a single remark may serve to
obviate. It is certainly true that the degraded families are
thoroughly fitted for the performance of all the work given them
to do. They greatly increase when placed in favorable
circumstances, and, when vigorous and thriving, enjoy existence.
But then the same may be said of all animals, without reference
to their place in the scale;—the mollusc is as thoroughly adapted
to its circumstances and as fitted to accomplish the end proper to
its being, as the mammiferous quadruped, and the mammiferous
quadruped as man himself; but the fact of perfect adaptation in
no degree invalidates the other not less certain fact of difference
of rank, nor proves that the mollusc is equal to the quadruped, or
the quadruped to man. And, of course, the remark equally bears
on the reduced as on the unelevated,—on lowness of place when
a result of degradation in races pertaining to a higher division of
animals, as on lowness of place when a result of the humble
standing of the division to which the races belong.
[29] The vertebral column in the genus Diplopterus ran, as in
the placoid genus Scyllium, nearly through the middle of the
caudal fin.
[30] In the following diagram a few simple lines serve to exhibit
the progress of degradation. Fig. a represents the symmetrical
Placoids of the Silurian period, consisting of head, neck, body,
tail, fore limbs and hinder limbs; fig. b represents those
heterocercal Ganoids of the Old Red Sandstone, Coal Measures,
and Permian System, in which the neck is extinguished, and the
fore limbs stuck on to the occiput; fig. c, those homocercal
Ganoids of the Trias Lias, Oolite, and Wealden, whose tails spread
out into broad terminal processes, without homologue in the
higher animals; fig. d, those Acanthopterygii of the Chalk that, in
addition to the non-homological processes, have both fore limbs
and hinder limbs stuck round the head; while fig. e represents the
asymmetrical Platessa, of the same period, with one of its eyes in
the middle of its head, and the other thrust out to the side.
[31] I would, however, respectfully suggest, that that theory of
cerebral vertebræ, on which, in this question, the comparative
anatomists proceed as their principle, and which finds as little
support in the geologic record from the actual history of the fore
limbs as from the actual history of the bones of the cranium, may
be more ingenious than sound. It is a shrewd circumstance, that
the rocks refuse to testify in its favor. Agassiz, I find, decides
against it on other than geological grounds; and his conclusion is
certainly rendered not the less worthy of careful consideration by
the fact that, yielding to the force of evidence, his views on the
subject underwent a thorough change. He had first held, and
then rejected it. “I have shared,” he says, “with a multitude of
other naturalists, the opinion which regards the cranium as
composed of vertebræ; and I am consequently in some degree
called upon to point out the motives which have induced me to
reject it.”
“M. Oken,” he continues, “was the first to assign this
signification to the bones of the cranium. The new doctrine he
expounded was received in Germany with great enthusiasm by
the school of the philosophers of nature. The author conceived
the cranium to consist of three vertebræ, and the basal occipital,
the sphenoid, and the ethmoid, were regarded as the central
parts of these cranial vertebræ. On these alleged bodies of
vertebræ, the arches enveloping the central parts of the nervous
system were raised, while on the opposite side were attached the
inferior pieces, which went to form the vegetative arch destined
to embrace the intestinal canal and the large vessels. It would be
too tedious to enumerate in this place the changes which each
author introduced, in order to modify this matter so as to make it
suit his own views. Some went the length of affirming that the
vertebræ of the head were as complete as those of the trunk;
and, by means of various dismemberments, separations, and
combinations, all the forms of the cranium were referred to the
vertebræ, by admitting that the number of pieces was invariably
fixed in every head, and that all the vertebrata, whatever might
be their organization in other respects, had in their heads the
same number of points of ossification. At a later period, what was
erroneous in this manner of regarding the subject was detected;
but the idea of the vertebral composition of the head was still
retained. It was admitted as a general law, that the cranium was
composed of three primitive vertebræ, as the embryo is of three
blastodermic leaflets; but that these vertebræ, like the leaflets,
existed only ideally, and that their presence, although easily
demonstrated in certain cases, could only be slightly traced, and
with the greatest difficulty, in other instances. The notion thus
laid down of the virtual existence of cranial vertebræ did not
encounter very great opposition; it could not be denied that there
was a certain general resemblance between the osseous case of
the brain and the rachidian canal; the occipital, in particular, had
all the characteristic features of a vertebra. But whenever an
attempt was made to push the analogy further, and to determine
rigorously the anterior vertebræ of the cranium, the observer
found himself arrested by insurmountable obstacles, and he was
obliged always to revert to the virtual existence.
“In order to explain my idea clearly, let me have recourse to an
example. It is certain that organized bodies are sometimes
endowed with virtual qualities, which, at a certain period of the
being’s life, elude dissection, and all our means of investigation. It
is thus that at the moment of their origin, the eggs of all animals
have such a resemblance to each other, that it would be
impossible to distinguish, even by the aid of the most powerful
microscope, the ovarial egg of a craw-fish, for example, from that
of true fish. And yet who would deny that beings in every respect
different from each other exist in these eggs? It is precisely
because the difference manifests itself at a later period, in
proportion as the embryo develops itself, that we are authorized
to conclude, that, even from the earliest period, the eggs were
different,—that each had virtual qualities proper to itself, although
they could not be discovered by our senses. If, on the contrary,
any one should find two eggs perfectly alike, and should observe
two beings perfectly identical issue from them, he would greatly
err if he ascribed to these eggs different virtual qualities. It is
therefore necessary, in order to be in a condition to suppose that
virtual properties peculiar to it are concealed in an animal, that
these properties should manifest themselves once, in some phase
or other of its development. Now, applying this principle to the
theory of cranial vertebræ, we should say, that if these vertebræ
virtually exist in the adult, they must needs show themselves in
reality, at a certain period of development. If, on the contrary,
they are found neither in the embryo nor the adult, I am of
opinion that we are entitled likewise to dispute their virtual
existence.
“Here, however, an objection may be made to me, drawn from
the physiological value of the vertebræ, the function of which, as
is well known, is, on the one hand, to furnish a solid support to
the muscular contractions which determine the movements of the
trunk, and, on the other, to protect the centres of the nervous
system, by forming a more or less solid case completely around
them. The bodies of the vertebræ are particularly destined to the
first of these offices; the neurapophyses to the second. What can
be more natural than to admit, from the consideration of this,
that in the head, the bodies of the vertebræ diminish in
proportion as the moving function becomes lost, while the
neurapophyses are considerably developed for protecting the
brain, the volume of which is very considerable, when compared
with that of the spinal marrow? Have we not an example of this
fact in the vertebræ of the tail, where the neurapophyses become
completely obliterated, and a simple cylindrical body alone
remains? Now, may it not be the case, that in the head, the
bodies of the vertebræ have disappeared; and that, in
consequence, there is a prolongation of the cord only as far as
the moving functions of the vertebræ extend? There is some
truth in this argument, and it would be difficult to refute it a
priori. But it loses all its force the moment that we enter upon a
detailed examination of the bones of the head. Thus, what would
we call, according to this hypothesis, the principal sphenoid, the
great wings of the sphenoid, and the ethmoid, which form the
floor of the cerebral cavity? It may be said they are apophyses.
But the apophyses protect the nervous centres only on the side
and above. It may be said that they are the bodies of the
vertebræ. But they are formed without the concurrence of the
dorsal cord; they cannot, therefore, be the bodies of the
vertebræ. It must therefore be allowed, that these bones at least
do not enter into the vertebral type; that they are in some
measure peculiar. And if this be the case with them, why may not
the other protective plates be equally independent of the
vertebral type; the more so, because the relations of the frontals
and parietals vary so much, that it would be almost impossible to
assign to them a constant place?”
[32] It is stated by Mr. Witham, that, “except in a few
instances, he had ineffectually tried, with the aid of the
microscope, to obtain some insight into the structure of coal.
Owing,” he adds, “to its great opacity, which is probably due to
mechanical pressure, the action of chemical affinity, and the
percolation of acidulous waters, all traces of organization appear
to have been obliterated.” I have heard the late Mr. Sanderson,
who prepared for Mr. Witham most of the specimens figured in
his well-known work on the “Internal Structure of Fossil
Vegetables,” and from whom the materials of his statement on
this point seem to have been derived, make a similar remark. It
was rare, he said, to find a bit of coal that exhibited the organic
structure. The case, however, is far otherwise; and the ingenious
mechanic and his employer were misled, simply by the
circumstance, that it is rare to find pieces of coal which exhibit
the ligneous fibre, existing in a state of keeping solid enough to
stand the grinding of the lapidary’s wheel. The lignite usually
occurs in thin layers of a substance resembling soft charcoal, at
which, from the loose adhesion of the fibres, the coal splits at a
stroke; and as it cannot be prepared as a transparency, it is best
examined by a Stanhope lens. It will be found, tried in this
manner, that so far is vegetable fibre from being of rare
occurrence in coal,—our Scotch coal at least,—that almost every
cubic inch contains its hundreds, nay, its thousands, of cells.
[33] On a point of such importance I find it necessary to
strengthen my testimony by auxiliary evidence. The following is
the judgment, on this ancient petrifaction, of Mr. Nicol of
Edinburgh,—confessedly one of our highest living authorities in
that division of fossil botany which takes cognizance of the
internal structure of lignites, and decides, from their anatomy,
their race and family:—
It will be seen that Mr. Nicol failed to detect what I now deem
the discs of this conifer,—those stippled markings to which I have
referred, and which the engraver has indicated in no exaggerated
style, in one of the longitudinal sections (b) of the wood-cut given
above. But even were this portion of the evidence wholly
wanting, we would be left in doubt, in consequence, not whether
the Old Red lignite formed part of a true gymnospermous tree,
but whether that tree is now represented by the pines of Europe
and America, or by the araucarians of Chili and New Zealand.
Were I to risk an opinion in a department not particularly my
province it would be in favor of an araucarian relationship.
[34] The following digest from Professor Balfour’s very
admirable “Manual of Botany,” of what is held on this curious
subject, may be not unacceptable to the reader. “It is an
interesting question to determine the mode in which the various
species and tribes of plants were originally scattered over the
globe. Various hypotheses have been advanced on the subject.
Linnæus entertained the opinion that there was at first only one
primitive centre of vegetation, from which plants were distributed
over the globe. Some, avoiding all discussions and difficulties,
suppose that plants were produced at first in the localities where
they are now seen vegetating. Others think that each species of
plant originated in, and was diffused from, a single primitive
centre; and that there were numerous such centres situated in
different parts of the world, each centre being the seat of a
particular number of species. They thus admit great vegetable
migrations, similar to those of the human races. Those who adopt
the latter view recognize in the distribution of plants some of the
last revolutions of our planet, and the action of numerous and
varied forces, which impede or favor the dissemination of
vegetables in the present day. They endeavor to ascertain the
primitive flora of countries, and to trace the vegetable migrations
which have taken place. Daubeny says, that analogy favors the
supposition that each species of plant was originally formed in
some particular locality, whence it spread itself gradually over a
certain area, rather than that the earth was at once, by the fiat of
the Almighty, covered with vegetation in the manner we at
present behold it. The human race rose from a single pair; and
the distribution of plants and animals over a certain definite area
would seem to imply that the same was the general law. Analogy
would lead us to believe that the extension of species over the
earth originally took place on the same plan on which it is
conducted at present, when a new island starts up in the midst of
the ocean, produced either by a coral reef or a volcano. In these
cases the whole surface is not at once overspread with plants, but
a gradual progress of vegetation is traced from the accidental
introduction of a single seed, perhaps, of each species, wafted by
winds or floated by currents. The remarkable limitation of certain
species to single spots on the globe seems to favor the
supposition of specific centres.”
[35] Rhodomenia palmata and Alaria esculenta.
[36] Porphyra laciniata, Chorda filum, and Enteromorpha
compressa.
[37] “Dr. Neill mentions,” says the Rev. Mr. Landsborough, in his
complete and very interesting “History of British Sea-Weeds,”
“that on our shores algæ generally occupy zones in the following
order, beginning from deep water:—F. Filum; F. esculentus and
bulbosus, F. digitatus, saccharinus, and loreus; F. serratus and
crispus; F. nodosus and vesiculosus; F. canaliculatus; and, last of
all, F. pygmæus; which is satisfied if it be within reach of the
spray.”
[38] We are supplied with a curious example of that ever-
returning cycle of speculation in which the human mind operates,
by not only the introduction of the principle of Epicurus into the
“Vestiges,” but also by the unconscious employment of even his
very arguments, slightly modified by the floating semi-scientific
notions of the time. The following passages, taken, the one from
the modern work, the other from Fénélon’s life of the old Greek
philosopher, are not unworthy of being studied, as curiously
illustrative of the cycle of thought. Epicurus, I must, however, first
remind the reader, in the words of his biographer, “supposed that
men, and all other animals, were originally produced by the
ground. According to him, the primitive earth was fat and nitrous;
and the sun, gradually warming it, soon covered it with herbage
and shrubs: there also began to arise on the surface of the
ground a great number of small tumors like mushrooms, which
having in a certain time come to maturity, the skin burst, and
there came forth little animals, which, gradually retiring from the
place where they were produced, began to respire.” And there
can be little doubt, that had the microscope been a discovery of
early Greece, the passage here would have told us, not of
mushroom-like tumors, but of monads. Save that the element of
microscopic fact is awanting in the one and present in the other,
the following are strictly parallel lines of argument:—
“To the natural objection that the earth does not now produce
men, lions, and dogs, Epicurus replies that the fecundity of the
earth is now exhausted. In advanced age a woman ceases to
bear children; a piece of land never before cultivated produces
much more during the few first years than it does afterwards;
and when a forest is once cut down, the soil never produces trees
equal to those which have been rooted up. Those which are
afterwards planted become dwarfish, and are perpetually
degenerating. We are, however, he argues, by no means certain
but there may be at present rabbits, hares, foxes, bears, and
other animals, produced by the earth in their perfect state. The
reason why we are backward in admitting it is, that it happens in
retired places, and never falls under our view; and, never seeing
rats but such as have been produced by other rats, we adopt the
opinion that the earth never produced any.” (Fénélon’s Lives of
the Ancient Philosophers.)
“In the first place, there is no reason to suppose that, though
life had been imparted by natural means, after the first cooling of
the surface to a suitable temperament, it would continue
thereafter to be capable of being imparted in like manner. The
great work of the peopling of this globe with living species is
mainly a fact accomplished: the highest known species came as a
crowning effort thousands of years ago. The work being thus to
all appearance finished, we are not necessarily to expect that the
origination of life and of species should be conspicuously
exemplified in the present day. We are rather to expect that the
vital phenomena presented to our eyes should mainly, if not
entirely, be limited to a regular and unvarying succession of races
by the ordinary means of generation. This, however, is no more
an argument against a time when phenomena of the first kind
prevailed, than it would be a proof against the fact of a mature
man having once been a growing youth, that he is now seen
growing no longer..... Secondly, it is far from being certain that
the primitive imparting of life and form to inorganic elements is
not a fact of our times.” (Vestiges of Creation.)
[39] “Vestiges of the Natural History of Creation,” and
“Explanations, being a Sequel to the Vestiges.”
[40] The chapter in which this passage occurs originally
appeared, with several of the others, in the Witness newspaper,
in a series of articles, entitled “Rambles of a Geologist,” and drew
forth the following letter from a correspondent of the Scottish
Press, the organ of a powerful and thoroughly respectable section
of the old Dissenters of Scotland. I present it to the reader merely
to show, that if, according to the author of the “Vestiges,”
geologists assailed the development hypothesis in the fond hope
of “purchasing impunity for themselves,” they would succeed in
securing only disappointment for their pains:—
Valuable Works
PUBLISHED BY
GOULD AND LINCOLN,
59 Washington Street, Boston.
HAMILTON’S LECTURES, embracing the Metaphysical and Logical
Courses; with Notes, from Original Materials, and an Appendix,
containing the Author’s Latest Development of his New Logical
Theory. Edited by Rev. Henry Longueville Mansel, B. D., Prof. of
Moral and Metaphysical Philosophy in Magdalen College, Oxford,
and John Veitch, M. A., of Edinburgh. In two royal octavo
volumes, viz.,
I. Metaphysical Lectures. Royal octavo, cloth, 3.50.
II. Logical Lectures. Royal octavo, cloth, 3.50.
☞ G. & L., by a special arrangement with the family of the late Sir William
Hamilton, are the authorized, and only authorized, American publishers of this
distinguished author’s matchless Lectures on Metaphysics and Logic.
The above have already been introduced into nearly all our leading colleges.
LOOMIS’ ELEMENTS OF GEOLOGY; adapted to Schools and
Colleges. With numerous Illustrations. By J. R. Loomis, President
of Lewisburg University, Pa. 12mo, cloth, 1.25.
“It is surpassed by no work before the American public.”—M. B. Anderson, LL.
D., President Rochester University.
1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside
the United States, check the laws of your country in addition to
the terms of this agreement before downloading, copying,
displaying, performing, distributing or creating derivative works
based on this work or any other Project Gutenberg™ work. The
Foundation makes no representations concerning the copyright
status of any work in any country other than the United States.
1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if
you provide access to or distribute copies of a Project
Gutenberg™ work in a format other than “Plain Vanilla ASCII” or
other format used in the official version posted on the official
Project Gutenberg™ website (www.gutenberg.org), you must,
at no additional cost, fee or expense to the user, provide a copy,
a means of exporting a copy, or a means of obtaining a copy
upon request, of the work in its original “Plain Vanilla ASCII” or
other form. Any alternate format must include the full Project
Gutenberg™ License as specified in paragraph 1.E.1.
• You pay a royalty fee of 20% of the gross profits you derive
from the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”
• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.
1.F.