C++ Programming With 558 Solved Problems
C++ Programming With 558 Solved Problems
with
558 Solved Problems
Our first book titled C++ programming with 469 solved problems (2009, 7 Chapters)
was updated to this new book. This book covers the C++ programming language in 9
chapters with more than 558 solved examples using Microsoft Visual Studio 2010
up Integrated Development Environment. There are two chapters were added:
Ch8:Numerical Analysis and numerical Methods in C++, and Ch9:Introduction to
Algorithm with C++ programming. In addition to that: introduction to string
and string representation and programming was added. It is presented as an
introductory to advance course but can be used as reference book
I have taught C++ programming a lot during six years ago in computer science
departments. I have an experience how to present this language in this book. C++
language is still an important topic in all universities and it is a computer science
course requirement in any science collage and information technology.
Chapter 5 introduces you to be able to use pointers and to be able to use pointers to
pass arguments to functions by call-by-reference. I explained relationships among
pointers, arrays and strings.
Chapter 6 introduces you to understand how to create structures, to create, use, and
destroy class objects. And how to access to object data members and member
functions to be able to specify constant members of class. Also to understand the use
of this pointer. Finally I presented a lot of solved examples.
Chapter 7 introduces you file processing to be able to create, read, write and update
files to become familiar with sequential and random-access access files processing.
Chapter 8: This chapter offers students both an introduction to input/output files using
programming in C++ and clear explanations of the basics of numerical methods,
including numerical integration and the solution of ordinary differential equations,
nonlinear equations.
In this book, I have presented 558 solved examples in C++ language copied into CD-
ROM which included all examples code and their running outputs. It was distributed
on all chapters as follows:
The solved examples (whole code , and run the program results) in Ch1, Ch2,
Ch3, Ch4, Ch5, Ch6, Ch7,Ch8, and Ch9 are 45, 120, 64, 83, 88, 64, 28 ,45, 21
respectively. In addition to the three samples of exam with their answer included
12 solved questions. And I want to say that: the all topics in this book, I have taught
them at computer science department through six years and I have collected, run, and
explained all these problems (i.e., code and results) in easy way depending on what
the students require for understanding C++ language and I have depended on recent
references, spatially the references 1 and 2. Finally This book included two
appendices as follows
Acknowledgements
The author gratefully acknowledges the assistance of Baghdad university for
publishing this book in the final phase of production.
I also give a very special thanks to my students for their questions, comments,
discussions, and suggestion which provided special inspiration for this book.