C++ through Examples


C++ through Examples
March 21,2020
by: Alex Vasilev
Series: Through Examples (Book 1)
Print Length 页数: 335 pages
Publisher finelybook 出版社: Independently published (March 21,2020)
Language 语言: English
ISBN-13: 9788629182832
ASIN: B0863TQ24L


Book Description
By finelybook

This book is about the C++ programming language. If you have no (or little) experience in C++,if you want to succeed in programming in C++,and if you are ready to study hard,then the book is for you.
The book consists of specially selected examples and problems. They cover all main subjects essential for programming in C++.
The first chapter gives a general notion of what we can do in C++. There we learn how to create a program. The chapter also contains information about input and output operators,variables,functions,loop statements,conditional statements,and arrays.
The second chapter is devoted to the control statements. In this chapter,we consider in detail the conditional statement,loop statements,the selection statement. We also will get a notion about handling and throwing exceptions.
In the third chapter,we discuss pointers,arrays,and references. Namely,we consider how to create and use pointers. We discuss the relationship between pointers and arrays,and also we investigate how and when we can use references. Moreover,the chapter contains information about memory allocation. As well,there we analyze the peculiarities of character arrays used to implement strings.
The fourth chapter is about functions. There we learn what a function can do and how we can use it. We overload functions,define the arguments with default values,and use recursion. We will get to know how arguments are passed to functions and how we pass a function as an argument. Also,we learn how functions operate with arrays,references,and pointers.
In the fifth chapter,we discuss the principles of object-oriented programming. We learn how to describe classes and create objects. Also,the chapter contains information about public and private members,constructors and destructors,overloading methods and operators,using inheritance.
In the sixth chapter,we continue discussing classes and objects. Namely,we get familiar with pointers to objects,arrays of objects,and functors. We will use objects whose fields are arrays and implement object indexing. We will get familiar with virtual methods and multiple inheritance,and do some other tricks with classes and objects.
In the seventh chapter,we investigate template functions and classes. There we create and overload template functions with several parameters. We will come to know how to define default values for template parameters. There we also apply inheritance for template classes. Moreover,in the chapter,we consider how to use integer template parameters.
In the eighth chapter,we consider different programs. The chapter explains how to use structures,complex numbers,and containers. We will also get familiar with multithreading.
The ninth chapter is devoted to mathematical problems. In that chapter,we show how to implement methods for solving algebraic and differential equations,calculate integrals,and create interpolation polynomials

相关文件下载地址

打赏
未经允许不得转载:finelybook » C++ through Examples

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫