• Complain

Ivor Horton - Beginning C++17: From Novice to Professional

Here you can read online Ivor Horton - Beginning C++17: From Novice to Professional full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2018, publisher: Apress, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Ivor Horton Beginning C++17: From Novice to Professional

Beginning C++17: From Novice to Professional: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Beginning C++17: From Novice to Professional" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Learn how to program using the updated C++17 language. Youll start with the basics and progress through step-by-step examples to become a working C++ programmer. All you need are Beginning C++17 and any recent C++ compiler and youll soon be writing real C++ programs. There is no assumption of prior programming knowledge.All language concepts that are explained in the book are illustrated with working program examples, and all chapters include exercises for you to test and practice your knowledge. Code downloads are provided for all examples from the text and solutions to the exercises.This latest edition has been fully updated to the latest version of the language, C++17, and to all conventions and best practices of so-called modern C++. Beginning C++17 also introduces the elements of the C++ Standard Library that provide essential support for the C++17 language. What Youll Learn- Define variables and make decisions- Work with arrays and loops, pointers and references, strings, and more- Write your own functions, types, and operators- Discover the essentials of object-oriented programming- Use overloading, inheritance, virtual functions and polymorphism- Write generic function templates and class templates - Get up to date with modern C++ features: auto type declarations, move semantics, lambda expressions, and more- Examine the new additions to C++17Who This Book Is ForProgrammers new to C++ and those who may be looking for a refresh primer on the C++17 programming language in general.

Ivor Horton: author's other books


Who wrote Beginning C++17: From Novice to Professional? Find out the surname, the name of the author of the book and a list of all author's works by series.

Beginning C++17: From Novice to Professional — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Beginning C++17: From Novice to Professional" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Ivor Horton and Peter Van Weert 2018
Ivor Horton and Peter Van Weert Beginning C++17
1. Basic Ideas
Ivor Horton 1 and Peter Van Weert 2
(1)
Stratford-upon-Avon, Warwickshire, UK
(2)
Kessel-Lo, Belgium
In this book we sometimes will use certain code in the examples before having explained it in detail. This chapter is intended to help you when this occurs by giving presenting an overview of the major elements of C++ and how they hang together. Well also explain a few concepts relating to the representation of numbers and characters in your computer.
In this chapter, youll learn:
  • What is meant by modern C++
  • What the terms C++11 , C++14 , and C++17 mean
  • What the C++ Standard Library is
  • What are the elements of a C++ program
  • How to document your program code
  • How your C++ code becomes an executable program
  • How object-oriented programming differs from procedural programming
  • What binary, hexadecimal, and octal number systems are
  • What floating-point numbers are
  • How a computer represents numbers using nothing but bits and bytes
  • What Unicode is
Modern C++
The C++ programming language was originally developed in the early 1980s by Danish computer scientist Bjarne Stroustrup. That makes C++ one of the older programming languages still in active usevery old, in fact, in the fast-paced world of computer programming. Despite its age, though, C++ is still standing strong, steadily maintaining its top-five position in most popularity rankings for programming languages. Theres no doubt whatsoever that C++ still is one of the most widely used and most powerful programming language in the world today.
Just about any kind of program can be written in C++, from device drivers to operating systems and from payroll and administrative programs to games. Major operating systems, browsers, office suites, email clients, multimedia players, database systemsname one and chances are its written at least partly in C++. Above all else, C++ is perhaps best suited for applications where performance matters, such as applications that have to process large amounts of data, modern games with high-end graphics, or apps that target embedded or mobile devices. Programs written in C++ are still easily many times faster than those written in other popular languages. Also, C++ is far more effective than most other languages for developing applications across an enormous range of computing devices and environments, including for personal computers, workstations, mainframe computers, tablets, and mobile phones.
The C++ programming language may be old, but its still very much alive and kicking. Or, better yet: its again very much alive and kicking. After its initial development and standardization in the 1980s, C++ evolved slowlyuntil 2011, that is, when the International Organization for Standardization (ISO) released a new version of the standard that formally defines the C++ programming language. This edition of the standard, commonly referred to as C++11 , revived C++ and catapulted the somewhat dated language right back into the 21st century. It modernized the language and the way we use it so profoundly that you could almost call C++11 a completely new language.
Programming using the features of C++11 and beyond is referred to as modern C++ . In this book, well show you that modern C++ is about more than simply embracing the languages new featureslambda expressions, auto type deduction, and range-based for loops, to name a few. More than anything else, modern C++ is about modern ways of programming, the consensus of what constitutes good programming style. Its about applying an implicit set of guidelines and best practices, all designed to make C++ programming easier, less error-prone, and more productive. A modern, safe C++ programming style replaces traditional low-level language constructs with the use of containers (Chapters ), and so on. Of course, all this probably means little to nothing to you yet. But not to worry: in this book, well gradually introduce everything you need to know to program in C++ today!
The C++11 standard appears to have revived the C++ community, which has been actively working hard on extending and further improving the language ever since. Every three years, a new version of the standard is published. In 2014, the C++14 standard was finalized, and in 2017 the C++17 edition. This book relates to C++ as defined by C++17. All code should work on any compiler that complies with the C++17 edition of the standard. The good news is that most major compilers have been keeping up with the latest developments, so if your compiler does not support a particular feature yet, it soon will.
Standard Libraries
If you had to create everything from scratch every time you wrote a program, it would be tedious indeed. The same functionality is required in many programsreading data from the keyboard, calculating a square root, and sorting data records into a particular sequence are examples. C++ comes with a large amount of prewritten code that provides facilities such as these so you dont have to write the code yourself. All this standard code is defined in the Standard Library .
The Standard Library is a huge collection of routines and definitions that provide functionality that is required by many programs. Examples are numerical calculations, string processing, sorting and searching, organizing and managing data, and input and output. Well introduce major Standard Library functionalities in virtually every chapter and will later zoom in a bit more specifically on some key data structures and algorithms in Chapter . Nevertheless, the Standard Library is so vast that we will only scratch the surface of what is available in this book. It really needs several books to fully elaborate all the capabilities it provides. Beginning STL (Apress, 2015) is a companion book that is a tutorial on using the Standard Template Library, which is the subset of the C++ Standard Library for managing and processing data in various ways. For a compact yet complete overview of everything the modern Standard Library has to offer, we also recommend the book C++ Standard Library Quick Reference (Apress, 2016).
Given the scope of the language and the extent of the library, its not unusual for a beginner to find C++ somewhat daunting. It is too extensive to learn in its entirety from a single book. However, you dont need to learn all of C++ to be able to write substantial programs. You can approach the language step-by-step, in which case it really isnt difficult. An analogy might be learning to drive a car. You can certainly become a competent and safe driver without necessarily having the expertise, knowledge, and experience to drive in the Indianapolis 500. With this book you can learn everything you need to program effectively in C++. By the time you reach the end, youll be confidently writing your own applications. Youll also be well equipped to explore the full extent of C++ and its Standard Library.
C++ Program Concepts
There will be much more detail on everything we discuss in this section later in the book. Well jump straight in with the complete, fully working C++ program shown in Figure , which also explains what the various bits are. Well use the example as a base for discussing some more general aspects of C++.
Figure 1-1 A complete C program Source Files and Header Files The file - photo 1
Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Beginning C++17: From Novice to Professional»

Look at similar books to Beginning C++17: From Novice to Professional. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Beginning C++17: From Novice to Professional»

Discussion, reviews of the book Beginning C++17: From Novice to Professional and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.