0% found this document useful (0 votes)
4 views

Introduction to C Programming 2nd Edition Purdue Univ pdf download

The document provides information about various programming textbooks available for download, including 'Introduction to C Programming' and 'Introduction to C++ Programming.' It outlines the features of object-oriented programming and the structure of the C++ language, emphasizing its evolution and educational resources offered by CADCIM Technologies. Additionally, it mentions online training programs and resources for both students and instructors.

Uploaded by

euerdfqy5247
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Introduction to C Programming 2nd Edition Purdue Univ pdf download

The document provides information about various programming textbooks available for download, including 'Introduction to C Programming' and 'Introduction to C++ Programming.' It outlines the features of object-oriented programming and the structure of the C++ language, emphasizing its evolution and educational resources offered by CADCIM Technologies. Additionally, it mentions online training programs and resources for both students and instructors.

Uploaded by

euerdfqy5247
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 70

Introduction to C Programming 2nd Edition Purdue

Univ install download

https://ebookmeta.com/product/introduction-to-c-programming-2nd-
edition-purdue-univ/

Download more ebook from https://ebookmeta.com


We believe these products will be a great fit for you. Click
the link to download now, or visit ebookmeta.com
to discover even more!

An Introduction to C GUI Programming Simon Long

https://ebookmeta.com/product/an-introduction-to-c-gui-
programming-simon-long/

Modern C++ for Absolute Beginners: A Friendly


Introduction to the C++ Programming Language and C++11
to C++23 Standards, 2nd Edition Slobodan Dmitrovi■

https://ebookmeta.com/product/modern-c-for-absolute-beginners-a-
friendly-introduction-to-the-c-programming-language-
and-c11-to-c23-standards-2nd-edition-slobodan-dmitrovic/

An Introduction to Parallel Programming 2nd Edition


Peter Pacheco

https://ebookmeta.com/product/an-introduction-to-parallel-
programming-2nd-edition-peter-pacheco/

Mathematica by Example 5th Edition Martha L. Abell &


James P. Braselton

https://ebookmeta.com/product/mathematica-by-example-5th-edition-
martha-l-abell-james-p-braselton/
Catch the Rabbit 2nd Edition Lana Bastaši■

https://ebookmeta.com/product/catch-the-rabbit-2nd-edition-lana-
bastasic/

Software Engineering for Data Scientists (MEAP V2)


Andrew Treadway

https://ebookmeta.com/product/software-engineering-for-data-
scientists-meap-v2-andrew-treadway/

Entrepreneurial Marketing How to Develop Customer


Demand 3rd Edition Edwin Jacob Nijssen

https://ebookmeta.com/product/entrepreneurial-marketing-how-to-
develop-customer-demand-3rd-edition-edwin-jacob-nijssen/

Durability of Concrete: Design and Construction (Modern


Concrete Technology) 1st Edition Alexander

https://ebookmeta.com/product/durability-of-concrete-design-and-
construction-modern-concrete-technology-1st-edition-alexander/

Ethnic Nationalism And Regional Conflict The Former


Soviet Union And Yugoslavia 1st Edition W Raymond
Duncan Editor G Paul Holman Editor

https://ebookmeta.com/product/ethnic-nationalism-and-regional-
conflict-the-former-soviet-union-and-yugoslavia-1st-edition-w-
raymond-duncan-editor-g-paul-holman-editor/
Martinis Mysteries 1st Edition Rose Bak

https://ebookmeta.com/product/martinis-mysteries-1st-edition-
rose-bak/
Introduction to C++ Programming

CADCIM Technologies

525 St. Andrews Drive


Schererville, IN 46375
USA
(www.cadcim.com)

Contributing
Sham Author
Tickoo

Professor
Purdue University Calumet
Hammond, Indiana
USA

Introduction to C++ Programming


Sham Tickoo
CADCIM Technologies
525 St Andrews Drive
Schererville, Indiana 46375, USA
www.cadcim.com
Copyright © 2016 by CADCIM Technologies, USA. All rights
reserved. Printed in the United States of America except as
permitted under the United States Copyright Act of 1976.

No part of this publication may be reproduced or distributed in


any form or by any means, or stored in the database or retrieval
system without the prior permission of CADCIM Technologies.

ISBN 978-1-942689-38-6

NOTICE TO THE READER


Publisher does not warrant or guarantee any of the products
described in the text or perform any independent analysis in
connection with any of the product information contained in the
text. Publisher does not assume, and expressly disclaims, any
obligation to obtain and include information other than that
provided to it by the manufacturer.

The reader is expressly warned to consider and adopt all safety


precautions that might be indicated by the activities herein and to
avoid all potential hazards. By following the instructions contained
herein, the reader willingly assumes all risks in connection with
such instructions.

The Publisher makes no representation or warranties of any kind,


including but not limited to, the warranties of fitness for particular
purpose or merchantability, nor are any such representations
implied with respect to the material set forth herein, and the
publisher takes no responsibility with respect to such material. The
publisher shall not be liable for any special, consequential, or
exemplary damages resulting, in whole or part, from the reader’s
use of, or reliance upon, this material.

www.cadcim.com

CADCIM Technologies

DEDICATION

To teachers, who make it possible to disseminate knowledge


to enlighten the young and curious minds
of our future generations

To students, who are dedicated to learning new technologies


and making the world a better place to live

THANKS

To employees of CADCIM Technologies for their valuable help

Online Training Program Offered by CADCIM


Technologies

CADCIM Technologies provides effective and affordable virtual online


training on various software packages including Computer Aided
Design and Manufacturing and Engineering (CAD/CAM/CAE),
computer programming languages, architecture, and GIS. The training
is delivered ‘live’ via Internet at any time, any place, and at any
pace to individuals as well as the students of colleges, universities,
and CAD/CAM training centers. The main features of this program
are:

Training for Students and Companies in a Classroom Setting

Highly experienced instructors and qualified at CADCIM Technologies


conduct the classes under the guidance of Prof. Sham Tickoo of
Purdue University Calumet, USA. This team has authored several
textbooks that are rated “one of the best” in their categories and are
used in various universities, and training centers in North America,
Europe, and in other parts of the world.

Training for Individuals


CADCIM Technologies with its cost effective and time saving initiative
strives to deliver the training in the comfort of your home or work
place, thereby relieving you from the hassles of traveling to training
centers.

Training Offered on Software Packages


CADCIM provides basic and advanced training on the following
software packages:
CATIA, Pro/ENGINEER Wildfire, PTC Creo Parametric, Creo Direct,
Autodesk Solid Edge, NX, AutoCAD, AutoCAD LT, AutoCAD Plant
3D, Customizing and ANSYS

Architecture and Autodesk Revit AutoCAD Civil 3D, Autodesk Revit


Structure, AutoCAD Map Revit MEP, Navisworks, Primavera, and
Bentley STAAD Pro

Animation and Autodesk 3ds Max, Autodesk 3ds Max Design,


Autodesk Maya, Autodesk Alias, The Foundry NukeX, MAXON
CINEMA 4D, Adobe Flash, and Adobe Premiere

Computer C++, VB.NET, Oracle, AJAX, and Java

For more information, please visit the link: http://www.cadcim.com

Note
If you are a faculty member, you can register by clicking on the
following link to access the teaching resources: The student
resources are available at We also provide Live Virtual Online
Training on various software packages. For more write us at
Table of Contents

Chapter 1: Introduction to C++

Chapter 2: Getting Started with C++

Chapter 3: Control Statements


Chapter 4: Functions and Arrays

Chapter 5: Strings, Pointers, and Structures

Chapter 6: Union, Enumeration, and Preprocessor

Chapter 7: Data Structure

Chapter 8: Classes and Objects

Chapter 9: Constructors, Destructors, and Operator Overloading

Chapter 10: Inheritance

Chapter 11: Virtual Functions and Polymorphism

Chapter 12: The C++ Console I/O Operations

Chapter 13: Exception Handling

Chapter 14: The File I/O System

Preface

C++
Welcome to Introduction to C++ an example based textbook,
written to cater to the needs of beginners and intermediate users.
C++ is an object-oriented programming language, which is a
preferred programming approach followed by the software industry.
C++ enjoys the distinction of being the most popular and widely
used OOP language in the world. The syntax, style, features and
philosophy of the language form the basis of many other
programming languages such as Java and C#.

Created by Bjarne Stroustrup in the early 1980s, C++, over the


period, has undergone many changes and improvements. In 1998,
the language was standardized by the American National
Standards Institute (ANSI) and the International Standards
Organization (ISO). The textbook confirms to these standards and
explains various features of the language in a simple and easy
style.

The highlight of the textbook is that each concept introduced in it


has been exemplified by a program to clarify and facilitate better
understanding. Also, the line-by-line explanation of each program
ensures that the users with no previous programming experience
are able to understand the concepts and master the programming
techniques and use them with flexibility while designing programs.

The main features of the book are as follows:

Programming This textbook introduces the key ideas of object-


oriented programming in an intuitive way. The concepts are
illustrated through best programming examples, covering all
aspects of OOP and C++.

Additional information is provided to the users in the form of


notes.
Illustrations: There is an extensive use of examples, schematic
representation, flow-charts, tables, screen capture images, and
programming exercises.

Learning The first page of every chapter summarizes the topics


that are covered in it.

Self-Evaluation Test, Review Questions, and Each chapter ends with


a Self-Evaluation Test so that the users can assess their
knowledge. The answers of the Self-Evaluation Test are given at
the end of the chapter. Also, the Review Questions and Exercises
are given at the end of each chapter that can be used by the
Instructors as test questions and exercises.

Free Companion Website


It has been our constant endeavor to provide you the best
textbooks and services at affordable price. In this endeavor, we
have come out with a Free Companion Website that will facilitate
the process of teaching and learning of C++. If you purchase this
textbook, you will get access to the files on the Companion
website. The following resources are available for faculty and
students in this website:

Faculty Resources

• Technical Support
You can get online technical support by contacting
techsupport@cadcim.com.

• Instructor Guide
Solutions to all the review questions and exercises in the textbook
are provided to
help the faculty members test the skills of the students.

• Example Files
The C++ files used in examples are available for free download.

Student Resources
• Technical Support
You can get online technical support by contacting
techsupport@cadcim.com.

• Example Files
The C++ files used in examples are available for free download.

If you face any problem in accessing these files, please contact


the publisher at or the author at stickoo@purduecal.edu or

Stay Connected
You can now stay connected with us through Facebook and
Twitter to get the latest information about our textbooks, videos,
and teaching/learning resources. To stay informed of such updates,
follow us on Facebook (www.facebook.com/cadcim) and Twitter
(@cadcimtech). You can also subscribe to our YouTube channel
(www.youtube.com/cadcimtech) to get the information about our
latest video tutorials.
Chapter 1

Introduction to C++

Learning Objectives

After completing this chapter, you will be able to:


• Understand the concept of procedure-oriented programming
• Understand the concept of object-oriented programming
• Understand the features of object-oriented programming
• Understand the fundamentals of C++
• Understand the >>(extraction) and<<(insertion) operators

Introduction

In early 1980’s, a new programming language was developed by


Bjarne Stroustrup at Bell Laboratories, USA. This language, an
extended version of C language, is known as C++. Apart from the
features of the C language, C++ also has some additional features
such as classes, objects, and so on. When C++ language was
developed, it was known as ‘C with classes’. In 1983, the name was
changed to C++. The ++ sign specifies that it is an incremented
version of the C language. This means that the code written in C
can also be executed in the C++ environment. Basically, C++ was
developed to eliminate some of the limitations of the C language
and also to provide some new features to the user.

In this chapter, you will know about procedure-oriented programming,


key concepts of object-oriented programming, and also some C++
fundamentals.
Procedure-Oriented Programming

Procedure-oriented programming (POP) is a programming technique


in which a problem is divided into subparts. These subparts are
solved by using different functions. In this type of programming
technique, all the programs are developed around functions. These
functions work on global data (data that can be accessed by all the
members of a program) and can also manipulate it. In this type of
programming technique, the primary focus is on the functions. For
example, you may want to solve a problem that performs three
different operations such as reading data from the user, processing
the data, and printing the output. Three different functions are
created to handle these operations, see Figure 1-1. This figure
illustrates that all the three operations are performed by three
different functions.

Figure 1-1 Representation of an POP

In procedure-oriented programming, the data that can be accessed by


all the functions is declared as global. Each function can also have
its own local data.
A major drawback of procedure-oriented programming is that the
data is not treated as a critical element and can be manipulated by
any of the functions. Another drawback is that you cannot solve the
real world problems by using the procedure-oriented technique. As
the size of the program increases, it becomes more complex and
difficult to understand.

Object-Oriented Programming
Object-oriented programming (OOP) developed to overcome the
limitations of the procedure-oriented programming is an improved
technique for developing the programs. In case of OOP, the data is
treated as the most critical element and the primary focus is on the
data and not on the procedures. In this technique, the data is
grouped together with the functions that operate on it. A problem is
divided into entities known as objects. Each object maintains its own
copy of data and functions. The data cannot be accessed directly by
the other objects of the program. It can only be accessed through a
proper interface such as functions, as shown in Figure 1-2.
Figure 1-2 Representation of OOP
Features of Object-Oriented Programming
There are certain features that have made object-oriented
programming very popular. These features are as follows:

1. Objects
2. Classes
3. Encapsulation
4. Inheritance
5. Polymorphism

Objects
In object-oriented programming, a problem is divided into certain
basic entities called objects. The objects can be used to represent
real life objects such as people, bank account, and so on. In this
type of programming, all communication is carried out between the
objects. When a program is executed, the objects interact with each
other by sending messages. The objects contain the data and the
functions that can be used to manipulate the data. Each object
maintains its own copy of the data and methods, which can
communicate with each other through a proper channel or interface.

Classes
A class is a user-defined data type which is used to group the data
and the functions together. These objects are the instances of a
class. A class can also contain important members such as a
constructor to create objects. The objects that belong to same class
must have certain properties in common. For example, a table and a
chair are the objects of the furniture class. Both the objects have
certain properties in common. For example, both are made of wood
and so on.

Encapsulation

Encapsulation is a mechanism used for wrapping up the data along


with the functions that can operate on the data directly. This
mechanism is used to keep the data safe from outside interferences.
It hides the internal data and only provides the external interface
(functions) through which it can be accessed. Encapsulation also
provides the concept of data hiding or information hiding so that it
cannot be accessed directly.

Inheritance
Different kinds of objects often have certain amount of properties in
common with each other. Inheritance is the process by which one
object can acquire the properties of another object. This is called the
reusability of code. In inheritance, whenever a new object is created,
it can only define those properties that make it unique from the
other objects. Inheritance supports the concept of the hierarchical
classifications. For example, the fruit ‘Apple’ is a part of the class
‘Fruits’, which is again a part of the class ‘Food’, as shown in Figure
1-3.

Figure 1-3 Hierarchical classification


In the above figure, the two classes Fruits and Vegetables, apart from
inheriting certain properties from the class Food, add some
properties of their own. The classes Apple and Mango inherit the
properties of the Fruits class while the classes Cabbage and Carrot
inherit the properties of the Vegetables class.

Polymorphism

Polymorphism is another feature of object-oriented programming.


Polymorphism is a Greek term that consists of two words, poly and
morph. Poly means many and morph means forms. So,
polymorphism means ‘one name many forms’. In polymorphism, an
operation shows different behaviors depending on the type of data
used in it. In polymorphism, the internal structure (functioning) of
the operation is different but the external interface (name) is the
same. When an operator shows different behaviors in different
contexts, it is known as operator overloading. When a single function
name is used to perform different operations, it is known as function
overloading, as shown in Figure 1-4.

Figure 1-4 Polymorphism

Concept of c++

In the C++ programming, you can write a sequence of commands


called source file. A C++ source file normally carries the .CPP
extension. This source file can be converted into a machine-language
program. This conversion is called compiling and is done by the
compiler. The machine code is combined with some setup and
instructions and some standard library routines in a process known
as linking. Together, compiling and linking are known as building.
The resulting machine-executable files carry the extension .EXE in
Windows.

Code::Blocks Environment
Code::Blocks is a open-source platform IDE (integrated development
environment) that supports multiple compilers. It comes in an easy-
to-install, compressed executable file that is compatible with all
versions of Windows, Macintosh, and Linux.
When you install Code::Blocks for the first time, it scans the system
for any supported compilers. Once this scan is finished, Code::Blocks
is correctly configured for any detected compilers. Code::Blocks also
have default configurations even for those compilers that are not
detected. The process for downloading and installing Code::Blocks is
given next.

Downloading Code::Blocks
1. Navigate to http://www.codeblocks.org in your browser; the
Code::Blocks page is displayed, as shown in Figure 1-5. Next, choose
the Downloads tab from this page; the page with the Downloads
area is displayed, as shown in Figure 1-6.

Figure 1-5 The Code::Blocks page


Figure 1-6 The Downloads area

2. Click on the Download the binary release link; a page is displayed


with links for downloading Code::Blocks for various operating systems,
as shown in Figure 1-7.
Figure 1-7 Links for downloading Code::Blocks displayed

3. In the Windows XP/Vista/7/8.x/10 area of the page, click the


Sourceforge.net link corresponding to the codeblocks-16.01mingw-
setup.exe file, as shown in Figure 1-8. After few seconds, a dialog
box appears. Navigate to the desired location and then save the file.
Figure 1-8 Downloading the link

Note
The codeblocks-16.01mingw-setup.exe file includes the GCC/G++ compiler
and GDB debugger.

Installing the Code::Blocks


1. Navigate to the location where you saved the file and then double-
click on the executable file; the User Account Control dialog box is
displayed. Next, choose the Yes button from this dialog box; the
Welcome to CodeBlock Setup page of the Code::Block Installation
dialog box is displayed

2. Choose the Next button from this page; the License Agreement
page is displayed.

3. Choose the I Agree button from this page; the Choose


Components page of the Code::Blocks Installation dialog box is
displayed. Choose the Next button from this page; the Choose Install
Location page is displayed.

4. Accept the default location and then choose the Install button
from this page; the installing process begins. When the installation
completes, the Code::Block Installation message box is displayed.
Choose Yes from this message box; the Compilers auto-detection
dialog box is displayed. Now, choose OK from the Compilers auto-
detection dialog box to open the Code::Blocks environment.

Note
When you install Code::Blocks for the first time, the File Associates
dialog box is displayed prompting you to associate the C/C++ file type to
Code::Blocks. Select the Yes, associate Code::Blocks with C/C++ file
types radio button and then choose the OK button.

Writing Your First Program


In this section, you will create your first C++ program. In this
program, you will display the text “CADCIM Technologies”. Before you
create your first program, you need to create a directory in your
drive where you will save the file that you will create while following
examples of this textbook.

1. Open Window Explorer and then navigate to C drive. Create a new


folder with the name cplusproject and then create a sub-folder in the
cplusprojects folder with the name

2. Choose File > New > Empty file from the menubar or press
CTRL+SHIFT+N; the Untitled1 tab is displayed in the editor.

3. Choose the File > Save file from the menubar or press CTRL+S;
the Save file dialog box is displayed. In this dialog box, type
cadcim.cpp in the File name text box and then choose the Save
button to save the file.

4. Type the following code in the Untitled1 tab.

#include
using namespace std;
int main()
{
cout << “Cadcim Technologies!” << endl;
return 0;
}

Note
Once you save a file, the syntax highlighting feature will be enabled.
This feature displays text, especially source code, in different colors and
fonts according to the category of terms.

5. Choose Build > Build and run from the menubar or press F9 to
build and run the program. On doing so, the c:\cplusprojects\c01
window is displayed with the output CADCIM Technologies, as shown
in Figure 1-9. Press any key to close the window.

Figure 1-9 The output of program

Creating a Project in Code::Blocks

In Code::Blocks, a project is a collection of C++ files. The example shown


1. Choose File > New > Project from the menubar; the New from
in the previous section is an example of a console application that runs
template wizard is displayed, as shown in Figure 1-10.
in the text mode in the terminal window. A terminal window is the best
way of creating basic programming concept. However, when your
2. In thisis wizard,
program select
configured, youConsole
need toapplication and then
create a project choose
to host the Go
all the
button; the Console application page is displayed, as shown in Figure
corresponding files. In this section, you will create the project.
1-11. In this page, select the Skip this page next time check box to
skip this page the next time. Now, choose the Next button; the
Console application page with the Please make selection list is
displayed. Select the C++ option from the list, as shown in Figure 1-
12.

Figure 1-10 The New from template wizard


Figure 1-11 The Console application page

3. In the next displayed page of the wizard, type FirstProject in the


Project title text box. Next, choose the browse button located next to
the Folder to create project in text box, refer to Figure 1-13; the
Browse For Folder dialog box is displayed, as shown in Figure 1-14.
In the Browser for Folder dialog box, browse to the c:\cplusproject\c01
and then choose the OK button. The project file will be saved with
the extension

Notice that the name of the project file is FirstProject.cpp and it will
be saved at the following location: c:\cplusprojects\c01\FirstProject.
Figure 1-12 The C++ option selected
Figure 1-13 Choosing the browse button
Figure For box

4. Choose the Next button from the Console application wizard; the
Compiler drop-down list and Debug/Release configuration settings are
displayed. Accept the default settings and then choose the Finish
button, refer to Figure 1-15
Figure and

Notice that the project structure is displayed in the Management >


Projects tab of the IDE, refer to Figure 1-16.
Figure

5. Expand the Sources node from the Projects tab; the main.cpp node
is displayed. Double-click on the node to open it in the editor. This
file contains the following standard code:

#include
using namespace std;
int main()
{
cout << “Hello world!” << endl;
return 0;
}

6. Press F9 to build and run the code.

Adding a Pre-Existing File


In this section, you will split the main.cpp file and create a header
file for the hello function.

1. In main.cpp, replace with ”hello.h” and cout << “Hello world!” <<
endl; with hello Delete the line using namespace Given below is the
resulting code of

#include “hello.h”
int main()
{
hello ();
return 0;
}

2. Choose File > New > File from the menubar; the New from
template wizard is displayed.Select C/C++ header from the right pane
of the wizard, refer to Figure 1-17, and then choose the Go button;
the C/C++ header page is displayed, refer to Figure 1-18. In the
C/C++ header page, choose the browse button corresponding to the
File name with full path text box and then navigate to C:\
cplusprojects\c01\FirstProject in the Select filename dialog box. Now,
type hello.h in the File name text box and then choose the Save
button, refer to Figure 1-19.
Figure 1-17 The New from template wizard
Figure 1-18 The C/C++ header page
Figure box

3. Choose the Finish button from the C/C++ header page of the
wizard.

Note
A header file in C++ has an extension .h. This file sometimes is also
referred to as the include file. The header files hold declarations for other
files to use.

4. In the hello.h tab of the editor, type void hello(). The resulting
code is given below.

#ifndef HELLO_H_INCLUDED
#define HELLO_H_INCLUDED

void hello();

#endif // HELLO_H_INCLUDED

5. Create a new file with the name “hello.cpp” and save it in the
FirstProject folder. Type the following code in the editor:

#include
using namespace std;
void hello()
{
cout <<”Hello World”\!”<
}
6. Press F9 to run the code. Notice the text hello word is displayed
in the output.

More About I/O Operators


The I/O operators can handle any type of data such as and so on.
The >> and << I/O operators are discussed next.

The >> (extraction) Operator


The >> (extraction) operator is used with the cin statement. The
purpose of this operator is to get data as input from the user. The
>> operator is used to extract data from an input device through the
cin object and assign it to the variable on its right. For example:
int i;
cin>>i;

In this example, the >> (extraction) operator extracts a value such as


20 from the keyboard and assigns it to the variable as shown in
Figure 1-20.

Figure 1-20 Working of an extraction operator

The << (insertion) Operator


The << (insertion) operator is used with the cout statement which is
used to send the result to an output device. The << (insertion)
operator is used to insert the contents of a variable on its right to
the object on its left.

For example:

int avg=10;
cout<<“Average is: ”<

In the above example, the << operator first sends the string Average
is: to Next, the content of the variable avg is sent to cout and
finally the keyword endl is sent which transfers the control to the
end of the line, as shown in Figure 1-21.

Figure 1-21 Working of an insertion operator

Note

The example files used in this chapter can be downloaded from


www.cadcim.com. The path to access the example files is as follows:
Textbooks > Computer Programming > C++ > Introduction to C++
Programming.

Example 1

The following program will display the output “CADCIM Technologies”


on the screen. The line numbers on the right are not a part of the
program and are for reference only.
//Write a program to display “CADCIM Technologies” 1
#include 2
using namespace std; 3
int main() 4
{ 5
cout << “CADCIM Technologies !” << endl; 6
return 0; 7
} 8

Explanation
Line 1
//Write a program to display “CADCIM Technologies”
This line starts with two forward slashes which represent a single-line
comment. This comment is ignored by the compiler (a software
program that translates the high-level language into a machine-level
language) until the end of the line is encountered. The basic purpose
of the comments is to provide short remarks during programming
wherever needed. You can also use multiline comments by using the
symbols /* and */, as shown in the following code:

/* This line

represents multiline
comments.
*/

Line 2
#include
It is a preprocessor directive. It tells preprocessor to include the
contents of the header file iostream in the program. This header file
contains functions that support the C++ Input/Output (I/O)
operations. This header file should be included in a program that
contains the I/O statements.
Line 3
using namespace std;
All elements of a standard C++ library are declared within a
namespace. This line allows you to use the functionality offered in
the namespace std. The keyword using specifies to the compiler that
you want to use the std namespace.

Line 4
int main( )
In this line, the main( ) is a function and the keyword int specifies
that an integer value must be returned by the main( ) function to
the operating system. In each program, the execution begins from
the main( ) function. Here, the argument list of the main function
does not contain the arguments as represented by the empty
parenthesis (
Line 6
cout << “CADCIM Technologies !” << endl;

The cout object represents the standard output stream. It is a series


of arguments along with ‘<<’ operators. It prints output of these
arguments in left-to-right order. The special iostream function endl
outputs the line and a newline.

Note
Arguments are the values that you can pass to a function to be used as
input information.

Line 5 and Line 8


{}
These are the curly braces which indicate the start ({) and the end
(}) of the main( ) function.
The statements which are written in between these two ({}) braces
are associated with the main( ) function and must be executed
whenever a call is made to it.

Line 7
return 0;
In this line, the return statement is used to return a value (0) to
the operating system. This statement is treated as a termination
statement which indicates that the program is normally terminated.

The output of Example 1 is displayed in Figure 1-22.

Figure 1-22 The output of Example 1

Example 2

The following program will prompt the user to enter two numbers,
add them, and then display the output on the screen. The line
numbers on the right are not a part of the program and are for
reference only.

//Write a program to add two numbers 1


#include 2
using namespace std; 3

int main( ) 4
{ 5
int i, j, k; 6
cout<<“Enter two numbers: ”<7
cin>>i; 8
cin>>j; 9
k=i+j; 10
cout<<“The result of the addition is: ”<11
return 0; 12
} 13

Explanation
Line 6
int i, j, k;
In this line, the keyword int represents the integer data type that can
only take numeric values. The variables and k are the names given
to the memory locations that are used to store the integer values
assigned to them.

Line 7
cout<<“Enter two numbers: ”<

This is an output statement that causes the string “Enter two


numbers:” to be displayed on the screen. The identifier cout is a
predefined object of an output stream. It is attached to an output
device which is usually a screen. The << operator is known as the
insertion operator or an output operator which is used to send the
string “Enter two numbers:” to the object The keyword also known
as directs the compiler to end the current line and transfer the
control to the next line.
Line 8
cin>>i;
This is an input statement that is used to read a number from the
user. In this line, the identifier cin is a predefined object of an input
stream that is connected to an input device usually a keyboard. The
>> operator is known as the extraction or an input operator that is
used to extract value from an input device. The value which is
entered by the user from an input device (keyboard) is stored in the
variable

Line 9
cin>>j;
The working of line 9 is same as line 8.

Line 10
k=i+j;
In this line, the value stored in the variable i is added to the value
in the variable j with the help of the addition operator After addition,
the resultant value is assigned to the variable k with the help of the
assignment operator You will learn more about operators in the next
chapter.

Line 11

cout<<“The result of the addition is: ”<


This line is used to display the string “The result of the addition is:”
and also the value of the variable k on the screen.

The output of Example 2 is displayed in Figure 1-23.


Figure 1-23 The output of Example 2

iand display the resultant value on the screen.

Example 3

The following program will prompt the user to enter three numbers
and then calculate their average.
//Write a program to find the average of marks 1
#include 2
using namespace std; 3 int main( ) 4 { 5
int sub1, sub2, sub3; 6
float avg; 7
cout<<“Enter the marks scored in Physics: ”<8
cin>>sub1; 9
cout<<“Enter the marks scored in Biology: ”<10
cin>>sub2; 11
cout<<“Enter the marks scored in Chemistry: ”<12
cin>>sub3; 13
avg = (sub1+sub2+sub3)/3; 14

cout<<“The average is: ”<15


return 0; 16
} 17
Explanation
Line 6
int sub1, sub2, sub3;
In this line, and sub3 are declared as integer type variables.

Line 7
float avg;
In this line, avg is declared as a float type variable (you will learn
about the C++ data types in the next chapter).

Line 8
cout<<“Enter the marks scored in Physics: ”<
This line is an output statement, which will display Enter the marks
scored in Physics: on the screen.
Line 9
cin>>sub1;
In this line, the cin statement is used to read an integer value from
the user. Next, the resultant value is assigned to the variable

The working of the lines from 10 to 13 is same as the lines 8 and


9.

Line 14
avg = (sub1+sub2+sub3)/3;

In this line, first the addition operation is performed on the values


of the variables and Next, the resultant value of the addition
operation is divided by 3 and is assigned to the variable

Line 16
return 0;
In this line, the return statement is used to return a value (0) to
the operating system. This statement is treated as a termination
statement which indicates that the program is terminated normally.

The output of Example 3 in Figure 1-24.

Figure 1-24 The output of Example 3

Self-Evaluation Test

Answer the following questions and then compare them to those


given at the end of this

1. In the __________ programming technique, all the programs are


developed around the __________ or __________.

2. In object-oriented programming, the __________ is treated as the


most critical element.

3. In object-oriented programming, all communication is carried out


between the __________.
Random documents with unrelated
content Scribd suggests to you:
Fig. 177. Aus der herzogl. Bibliothek zu Wolfenbüttel. Bezeichnet F. D. H. Z. S.
Nach Stockbauer.

Bemerkenswert ist noch der Umstand, daß der Plattendruck


mitunter ganz nach orientalischer Weise ausgeübt wurde, insofern
das Ornament in Lederfarbe, der Grund aber golden erscheint.
Unsere Abbildung (Fig. 178) zeigt eine Decke, die mit drei
Platten, zwei für die Ecken, eine für die Mitte, bedruckt ist. Die
Eckstücke sind aber nicht nach einem Muster geschnitten und der
Buchbinder hat aus der Not eine Tugend gemacht, indem er das ihm
fehlende linksseitige Eckstück durch ein anderes, formverwandtes
aus seinem Vorrat ersetzte. Der zwischen Eckstücken und
Mittelstücken frei bleibende Grund ist mit Sternen besät. Diese Art
der Musterung des unverzierten Grundes — statt der Sterne
kommen auch kleine Blüten, Blätter u. s. w. vor — war allgemein
beliebt; die Scheu vor leeren Stellen, der horror vacui, den der
Blinddruckband erkennen läßt, übertrug sich auch auf den
Golddruckeinband.
Die Kunst der Handvergoldung ist ohne Frage über die Alpen
nach Deutschland gekommen, und zwar auf dem Wege des Handels
und Meßverkehrs, namentlich der in Frankfurt blühenden
Buchhändlermesse, die sowohl von italienischen wie auch von
französischen Verlegern oder deren Agenten besucht zu werden
pflegte. Auch sonst herrschte zwischen den Handelsstädten
Norditaliens und denjenigen Süddeutschlands und Flanderns ein
reger Warenaustausch, der zweifellos italienische Bände nach
Augsburg, Nürnberg, Frankfurt sowohl wie auch nach Gent und
Brügge brachte. Fürstliche und fürstlich gesinnte Bücherfreunde, die
es freilich in Deutschland nicht in so großer Anzahl gab wie in Italien
und Frankreich, von denen aber doch einige mit Auszeichnung zu
nennen sind, so die Augsburger Fugger, die Grafen Mansfeld, vor
allen aber der Kurfürst August von Sachsen, veranlaßten dann die
Einbürgerung der neuen Art der Buchverzierung, und die deutschen
Stempelschneider, deren Kunstfertigkeit auf hoher Stufe stand,
sorgten dafür, daß es an den verschiedenartigsten
Vergolderstempeln nicht fehlte. Die Formen dieser Stempel wurden
in den Grundzügen den fremdländischen nachgebildet, dabei aber in
selbständiger Weise gemodelt, so daß sie sich deutlich von jenen
unterscheiden. (Vergl. Fig. 179.) Wie hätte es auch anders sein
können bei der fruchtbaren Thätigkeit der zahlreichen
Ornamentstecher, die unter dem Namen der Kleinmeister in der
Kunstgeschichte des 16. Jahrhunderts eine so wichtige Rolle spielen.
Namentlich sind die Flachmuster von Peter Flötner (s. S. 186), aber
auch die ornamentalen Erfindungen von Aldegrever, Hopfer, Virgil
Solis häufig von den Stempelschneidern benutzt worden. Dem
letztgenannten Meister wird eine in der Bibliothek des Börsenvereins
der deutschen Buchhändler zu Leipzig befindliche große Rolle mit
Bildnissen von Königen zugeschrieben, eine der wenigen, die sich
aus jener Zeit erhalten haben.

Fig. 178. Deutscher Einband mit Stockdruck. Um 1600. Nürnberg,


Germanisches Museum.
Fig 179. Sächsischer Einband (Teil der Rückseite) in rotem Leder mit
Silberbeschlag, Rollen-Handstempel und Stockdruck. Um 1589. Dresden, königl.
Bibliothek.

Unter den deutschen Fürsten haben vorzugsweise die


sächsischen der Buchbinderei im Sinne der italienisch-französischen
Deckenverzierung Vorschub geleistet. Die Hofbibliothek zu Dresden
enthält eine große Anzahl von Bänden, die entweder durch die
Inschrift A. H. Z. S. C. (August, Herzog zu Sachsen, Kurfürst) oder
durch den Charakter der Verzierung als zu der Bibliothek des
Kurfürsten August gehörig gekennzeichnet sind. Die von dem
Kurfürsten ( † 1586) in dem alten Kanzleigebäude auf der
Schloßterrasse errichtete Buchbinderei stand seit 1566 unter der
Leitung des von Augsburg berufenen J a k o b K r a u ß e, dem 1578
K a s p a r M a u s e r im Amte nachfolgte. Von dem Letztgenannten
dürfte daher der Einband herrühren, dessen Rückseite wir in Fig.
179 wiedergeben. Das Beschläge der Ecken ist mittelst Linie und
Borde abgegrenzt, so daß die Mittelfläche aus einem Viereck mit
einem oben und unten vorgelegten rechteckigen Felde besteht; auf
der Vorderseite erscheint das kursächsische, auf der hier
abgebildeten Rückseite das markgräflich-brandenburgische Wappen
inmitten eines aus Bogen und schraffiertem Blattwerk gebildeten
Ornaments, während die Ecken mittelst Stockdrucks verziert sind.
Den Dresdener Einbänden sehr ähnlich sind eine Anzahl von
Bänden in der herzoglichen Bibliothek zu Wolfenbüttel, meistens
bezeichnet F. D. H. Z. S., also für einen Herzog oder eine Herzogin
von Sachsen gefertigt. Die schönsten darunter hat Stockbauer in
seinen Mustereinbänden herausgegeben. Der Rahmen ist aus
mehreren, meist gerollten Borden, seltener aus einer einzigen (vergl.
S. 103) gebildet; in den Ecken desselben findet sich gewöhnlich das
im orientalischen Sinne ausgeführte Zierstück, das dann, vierfach
zusammengelegt, auch wohl zur Bildung des Mittelstückes dient. Die
Spiegelfläche ist getüpfelt und trägt mitunter eine ganz im Sinne der
deutschen Renaissance gedachte Kartusche, ein Wappen oder ein
kreisförmig gestaltetes Zierstück. Die Einzelformen der Stempel
decken sich nicht mit denen, die auf den Dresdener Einbänden
vorkommen, wenn sie ihnen auch verwandt sind, weshalb man auf
eine andere Werkstätte zu schließen berechtigt ist. (Vergl. Fig. 177.)
In auffälliger Weise abweichend erscheint eine Gruppe der mit
der gleichen Bezeichnung versehenen Wolfenbütteler Bände.
Bemerkenswert an diesen sind die kleinen, eng gewundenen, in
einem Punkte endigenden Spiralen, die als Ansätze an großen, den
Grundzug des Ornaments bildenden Spirallinien angebracht sind
(vergl. Fig. 180). Unser Beispiel zeigt wieder den mit einem kleinen
Stempel ganz überdruckten Grund und neben den sehr weit nach
der Mitte vortretenden Eckfüllungen ein frei schwebendes
Mittelornament, eine Anordnung, die sich der orientalischen Art
nähert. Ein gewisser stilistischer Zusammenhang zwischen dieser
deutschen Einbandgruppe und der französischen, die wir in Fig. 161
kennen lernten, läßt darauf schließen, daß eine lebhafte
Wechselwirkung zwischen beiden Ländern auf dem Felde der
Buchverzierung stattfand, ohne daß der deutsche Geschmack sich
sklavisch an die französischen Muster gehalten hätte. Diese
Beobachtung kann man auch in der Folgezeit machen, in der auch
die deutsche Buchbinderei die S p i t z e n m o t i v e für Rollen sowohl
wie für Stempel aufnimmt. Eigentümlich deutsch erscheint daneben
aber das F ä c h e r o r n a m e n t, das uns einerseits an die verwandten
Zierformen des Balkenwerks norddeutscher Holzbauten erinnert,
anderseits aber orientalisch anmutet. (Vergl. Fig. 181.) In den Ecken
angewendet, füllt es diese in Viertelkreisform, in der Mitte wird es
zur Rosette und erhält dann oben und unten Spitzenansätze, die zur
besseren Füllung der Mittelfläche an die Rosette mehr angeschoben
als mit ihr verbunden sind (vergl. Fig. 181.)
Dies feine Zierwerk, das sich auch in den Seitenfeldern zwischen
der Borde und dem mittleren Sechseck auf unserem Beispiel findet,
ist den französischen Zierstempeln, die wir oben kennen lernten (Fig.
167), aufs engste verwandt.
Fig. 180. Sächsischer Einband mit der Bezeichnung F. D. H. Z. S.
Stempelvergoldung mit kleinen Punktschnecken. Wolfenbüttel.
Fig. 181. Deutsche Einbanddecke mit Fächer- und Spitzenornament. 17. Jahrh.

Sehr verschieden von dieser durch geradlinige Einteilung der


Fläche auffallenden Decke sind die Rosettendecken, bei denen
Bandverschlingungen ähnlicher Art, wie sie auf den Bänden Le
Gascons vorkommen, die Fläche feldern und dabei die Rücksicht auf
den symmetrischen Eindruck beiseite setzen. Die Führung dieser
Bandornamente ist so getroffen, daß möglichst viel kreisrunde
Felder, größere und kleinere, entstehen, deren Füllung dann die
Rosette bildet. Die übrigen leeren Stellen des Grundes sind ganz
klein gemustert mit Sternchen oder Punkten, jedoch nicht in so
sparsamer Weise, wie bei dem französischen Streumuster, sondern
dicht gedrängt, als ob die Fläche mit den Punzen behandelt worden
wäre.
Noch einer besonderen Gruppe von Decken haben wir zu
erwähnen, die vorzugsweise in Bayern angefertigt zu sein scheinen.
Stockbauer hat in seinen Abbildungen von Mustereinbänden einen
Einband dieser Art mit dem kurbayrischen Wappen veröffentlicht und
dem Verfasser sind ebenfalls mehrere verwandte Arbeiten mit dem
bayrischen Wappen zu Gesichte gekommen. Das Eigentümliche an
diesen Bänden ist, daß einzelne Blättchen des mit der Punktschnecke
durchsetzten Ornaments mit Silber ausgemalt sind; die Silberbronze
ist zu diesem Zweck vermutlich mit weißer Farbe gemischt worden.

Fig. 182. Deutsche Stempel mit naturalistisch gezeichneten Blumen. Zweite


Hälfte des 17. Jahrh.

Der dreißigjährige Krieg, in welchem das gesamte deutsche


Kulturleben nahezu verödete, führte auch den Niedergang der
Buchdeckelverzierung herbei. Indes fehlte es in der nachfolgenden
Zeit nicht an Bestrebungen, die alte Kunstübung wieder
aufzufrischen. Zu den von früher her gebräuchlichen Stempeln mit
feinem Spitzenwerk, zu der Rosette und Punktschnecke traten
naturalistisch gezeichnete Blumen in großen Formen, wie sie auch
auf Tapeten aus jener Zeit vorkommen (Fig. 182).
Auch die Art des Netzwerks, in welchem diese Blumen oft neben
oder in Verbindung mit dem zarten Spitzenwerk erscheinen, erinnert
an die Tapete mit ihrem nach allen Richtungen gleichmäßig
wiederkehrenden Rapporte (Fig. 183).
Dieser niederdeutschen Decke stellen wir eine gleichzeitige aus
Steiermark gegenüber (Fig. 184), bei der die Gesamtanordnung und
die dichte und verschiedenartige Musterung der leeren Flächen einen
der in Fig. 181 gegebenen Decke verwandten Zug offenbart. Die
Rosette erscheint hier als Füllung des halbkreisförmigen Abschlusses
der in den Rahmen gewissermaßen eingelegten Felder, deren übrige
Fläche mit einem von einer kleinen Vase aufsteigenden Zweige mit
dichtem, geflammtem Laubwerk gefüllt ist. Das schöne Beschläge an
den Ecken und auf der Mitte erhöht noch die prachtvolle
Gesamtwirkung dieser Decke, die eine Pergamenthandschrift aus
dem 15. Jahrhundert umschließt.
Fig. 183. Niederdeutsche Decke mit großen naturalistischen Blumen. Nach
1650. Düsseldorf, Gewerbemuseum.
Fig. 184. Steirische Decke (Fragment) mit Rosetten und naturalistischen
Blumen. Rotes Kalbleder. gr. Folio. Graz, Univers.-Bibliothek.

Einen nicht minder prächtigen Einband mit Rosetten und


zierlichem Füllwerk in den durch Bandverschlingungen gebildeten
Feldern bewahrt das Leipziger Kunstgewerbemuseum. Den Inhalt
bildet eine Bibel in Folio, Lüneburger Druck vom Jahre 1665.
Es verlohnt sich nicht, den deutschen, mit Handvergoldung
verzierten Einband über das Ende des 17. Jahrhunderts zu verfolgen.
Der frühere Lederband wird mehr und mehr von dem sog.
Halbfranzbande verdrängt, bei dem nur noch der R ü c k e n der
Handvergoldung den nötigen Spielraum bietet. Die Musterung des
Rückens war bisher bedingt gewesen von den hoch liegenden
Bünden, und die Verzierung der durch sie abgeteilten Felder bestand
gewöhnlich in einem als laufendes Band sich darstellenden oder
auch schuppenartig gebildeten Ornament (Fig. 185), das mit der
Filete gedruckt wurde. Im 18. Jahrhundert kommt, wie schon früher
in Frankreich und Italien, der glatte Rücken auf, ohne freilich die
bisher üblichen hohen Bünde ganz zu verdrängen.

Fig. 185. Deutsche Rückenfelderverzierungen, mit Fileten gedruckt.

Zum Schluß bleibt uns noch ein Blick auf die


P e r g a m e n t b ä n d e übrig, die in der hergebrachten Weise mit
Blindpressung auch noch im 18. Jahrhundert ihr Dasein fristen, dabei
von dem Wechsel des Geschmacks in Bezug auf die Zierformen der
Platten und Stempel mehr oder weniger berührt werden. (Vgl. das
Schlußstück S. 155 und die Decke S. 156.) Im 17. Jahrhundert
begegnen wir den Versuchen, mittelst farbiger Bemalung dem
Pergamentbande einen besonderen Reiz zu verleihen. Die mit
Leerstempeln gedruckten Zierformen wurden mit Beiz- oder
Lackfarben ausgemalt, und es entstand so eine Art von bunten
Einbänden, die meist als E m a i l b ä n d e bezeichnet werden, obwohl
sie mit Email nichts zu thun haben. Die großen naturalistischen
Blumen erinnern dabei an die sog. Bauernmajolika. Diese bunten
Pergamentbände kommen vorzugsweise bei den damals üblichen
Brautbüchern vor.

Außer dem deutschen, französischen und italienischen Einbande


hat nur noch der englische ein geschichtliches Interesse für uns.
Der schlichte bürgerliche Einband mit Blindpressung war auch
jenseits des Kanals in den ersten Zeiten des gedruckten Buches
allgemein üblich. Daneben gab es aber auch sehr kostbare
Einbände, die der Hauptsache nach für den Hof und den ihm nahe
stehenden Adel angefertigt wurden. Eine Anzahl derselben bewahrt
das Britische Museum. Sie sind zum größten Teile mit Samt, auch
wohl mit anderen kostbaren Webstoffen, wie Damast und
Goldbrokat, überzogen und mit einem reichen Gold- oder
Silberbeschlag versehen. Heinrich VIII. und die Königin Elisabeth
zeichneten sich durch ihre Liebhaberei für Bücher und
Büchereinbände aus, wie aus den Rechnungsbüchern des
königlichen Haushalts deutlich zu ersehen ist. Unter Elisabeth wurde
es Gebrauch, für Buchüberzüge auch Stickereien zu verwenden,
deren Mittelstück das königliche Wappen bildete; vorzugsweise
wurden Bibeln und Erbauungsbücher in dieser Weise ausgestattet.
Die Sitte ist vielleicht von Flandern nach England gekommen, da
auch hier die gestickten Einbände zu Anfang des 17. Jahrhunderts
nachweisbar sind und Flandern neben Italien das klassische Land der
Stickerei- und Spitzenindustrie ist. In der zweiten Hälfte des 16.
Jahrhunderts kommt in England ebenfalls der vergoldete Lederband
in Aufnahme, und auch für die königliche Bibliothek bildet er seit
Jakob I. die Regel, während nur noch ausnahmsweise der Samt und
das kostbare Beschläge zur Verwendung kommen. Die
Einwanderung des italienisch-französischen Lederbandes wird an
eine ganz bestimmte Thatsache geknüpft, nämlich an die
Gefangenschaft des französischen Bibliophilen L o u i s d e S t .
M a u r e, Marquis de Nesles, welcher, 1559 als Geisel ausgeliefert,
später in England verblieb und Stammvater des hochangesehenen
Geschlechts der Seymour wurde. (Vergl. Fig. 149.)

Fig. 186. Mittelstück eines englischen Einbandes. Um 1600.


Fig. 187. Schottische Einbanddecke. 18. Jahrh. (Nach Quaritch.)

Der Hofbuchbinder Jakobs I. hieß J o h n G i b s o n, und aus einer


Rechnung, die sich von ihm erhalten hat, ist zu entnehmen, wie
hoch die Buchbinderarbeit damals im Preise stand; Gibson erhielt
nämlich für einen vergoldeten Folioband 20, für einen ebenfalls
vergoldeten Oktavband 10 Schillinge, und für einen gewöhnlichen
Pergamentband 3 Schillinge.
Unter den Bücherliebhabern jener Zeit steht obenan Sir
T h o m a s B o d l e y, der die Universität Oxford mit einer großen
Büchersammlung (die Bodleiana) bereicherte, die ihm angeblich
200000 Pfd. St. gekostet haben soll, und derselben zur Vermehrung
und Verwaltung ihrer Bücherschätze eine große Summe vermachte.
Die Universitäten Oxford und Cambridge wetteiferten mit dem Hofe
in Bezug auf schöne und haltbare Einbände. Die gediegene und
sorgfältige Arbeit ist denn auch seit jener Zeit eine hervorstechende
Eigentümlichkeit des englischen Einbandes geworden, und diesen
Vorzug bewahrte sich die englische Buchbinderei auch im 18.
Jahrhundert, das sonst fast in allen Ländern ein Nachlassen der
früheren Tüchtigkeit mit sich brachte.
Die Ornamentierung der Lederbände des 16. und 17.
Jahrhunderts richtete sich nach den von Frankreich und Deutschland
herübergekommenen Mustern. Eine Zeitlang fand auch der
sächsische Einband mit den gemalten Bildnissen der Reformatoren
günstige Aufnahme und Nachahmung. Unter den ornamentalen
Mittelstücken finden sich manche, die mit den deutschen, an
Ätzarbeit erinnernden Prägestempeln formverwandt sind (vergl. Fig.
186).

Fig. 188. Zierformen von einem Bande aus der Bibliothek Jakobs I. (Nach
Quaritch.)

Einer eigentümlich englischen, vielleicht mit Jakob I. von


Schottland herübergekommenen Musterung der Decke begegnen wir
zuerst im Laufe des 17. Jahrhunderts. Quaritch teilt in seinem
»Facsimiles of bookbinding« einige Beispiele dieser schottischen Art
mit. Das Charakteristische daran ist der Blütenzweig oder Stengel,
der, mit dem Fußende nach dem Rande zu gerichtet oder auch
umgekehrt vom Mittelfelde zum Rande aufwachsend, unter steter
Wiederholung oder mit einem ähnlichen Motiv wechselnd den des
festen Gefüges entbehrenden Rahmen bildet. Auf schottischen
Einbänden des 18. Jahrhunderts zeigt auch das Mittelfeld dies
Gezweige, das sich von der Mitte aus nach unten und oben zu
entwickelt, ähnlich wie das Zweigwerk in den Seitenfeldern des oben
mitgeteilten steirischen Bandes (Fig. 184). Die Gehrung des
Rahmens ist mitunter durch den Stengel betont, der sich beiderseits
verzweigt und oben in einer Blume endet (Fig. 187). Ein von
Quaritch wiedergegebener Band aus der Bibliothek Jakobs I. hat ein
sonderbares Streumuster im Mittelfelde, Kronen, Zweige, Rosen und
andere kleine Ornamente sind regellos durcheinander gewürfelt und
umgeben dicht gedrängt das die Mitte einnehmende königliche
Wappen. Die weichen, der Naturform bisweilen sehr nahe
kommenden Stempelmotive (Fig. 188) lassen den Einfluß der
Stickerei erkennen, der im 18. Jahrhundert noch wunderlichere
Blüten treibt, wie aus dem Beispiel ersichtlich, das wir der von
Wheatley herausgegebenen Sammlung von Bucheinbänden des
Britischen Museums entlehnen. (Fig. 189.)
Fig. 189. Englischer Einband mit Stickmusterverzierung. Anfang des 18. Jahrh.
(Nach Wheatley.)
Fig. 190. Stempel von Harleybänden.

Fig. 191. Stempel von Roger Payne.

Im 18. Jahrhundert gab der große Bücherfreund H a r l e y, Graf


von Oxford, für die Deckenverzierung den Ton an. Die

You might also like