A Tour of C++ (C++ In-Depth Series) by Bjarne Stroustrup

By Bjarne Stroustrup

The C++11 regular permits programmers to specific principles extra truly, easily, and at once, and to jot down quicker, extra effective code. Bjarne Stroustrup, the fashion designer and unique implementer of C++, completely covers the main points of this language and its use in his definitive reference, The C++ Programming Language, Fourth Edition.
In A journey of C++ , Stroustrup excerpts the assessment chapters from that entire reference, increasing and embellishing them to provide an skilled programmer–in quite a few hours–a transparent concept of what constitutes smooth C++. during this concise, self-contained consultant, Stroustrup covers so much significant language positive factors and the most important standard-library components–not, in fact, in nice intensity, yet to a degree that offers programmers a significant evaluate of the language, a few key examples, and useful assist in getting started.

Stroustrup offers the C++ positive aspects within the context of the programming kinds they aid, corresponding to object-oriented and established programming. His journey is remarkably complete. insurance starts off with the fundamentals, then levels extensively via extra complicated issues, together with many who are new in C++11, reminiscent of flow semantics, uniform initialization, lambda expressions, more desirable bins, random numbers, and concurrency. The travel ends with a dialogue of the layout and evolution of C++ and the extensions further for C++11.

This advisor doesn't target to coach you the way to application (see Stroustrup’s Programming: rules and perform utilizing C++ for that); nor will or not it's the one source you’ll want for C++ mastery (see Stroustrup’s The C++ Programming Language, Fourth variation, for that). If, even though, you're a C or C++ programmer short of higher familiarity with the present C++ language, or a programmer versed in one other language wishing to achieve a correct photograph of the character and merits of contemporary C++, you can’t discover a shorter or easier creation than this travel presents.

Show description

Read or Download A Tour of C++ (C++ In-Depth Series) PDF

Best software development books

Managing Humans: Biting and Humorous Tales of a Software Engineering Manager

Handling people is a variety of the easiest essays from Michael Lopp's site, Rands in Repose. Drawing on Lopp's administration reviews at Apple, Netscape, Symantec, and Borland, this booklet is stuffed with tales in keeping with businesses within the Silicon Valley the place humans were identified to yell at one another.

Essential Software Architecture (2nd Edition)

Task titles like "Technical Architect" and "Chief Architect" these days abound within the software program undefined, but many folks suspect that "architecture" is without doubt one of the such a lot overused and least understood phrases in specialist software program improvement. Gorton's e-book is helping get to the bottom of this main issue.

Official (ISC)2 Guide to the CSSLP ((ISC)2 Press)

Because the worldwide chief in info safeguard schooling and certification, (ISC)2® has a confirmed tune list of teaching and certifying details safety execs. Its latest certification, the qualified safe software program Lifecycle expert (CSSLP®) is a testomony to the organization’s ongoing dedication to info and software program safeguard.

Lehrbuch der Softwaretechnik: Basiskonzepte und Requirements Engineering

Die Softwaretechnik bildet einen Grundpfeiler der Informatik. Jede Softwareentwicklung basiert auf Prinzipien, Methoden und Werkzeugen. Mit Basiskonzepten kann die Statik, Dynamik und Logik von Softwaresystemen beschrieben und modelliert werden. Die Anforderungen an ein neues Softwareprodukt zu ermitteln, zu spezifizieren, zu analysieren, zu validieren und daraus eine fachliche Lösung abzuleiten bzw.

Additional resources for A Tour of C++ (C++ In-Depth Series)

Example text

The return statement is the means by which the result of the function is indicated. Note the distinction between a function which returns a result and is called as part of an expression, and a procedure which does not have a result and is called as a single statement. The package Simple_IO will be in two parts: the specification which describes its interface to the outside world, and the body which contains the details of how it is implemented. If it just contained the procedures that we have used, its specification might be package Simple_IO is procedure Get(F: out Float); procedure Put(F: in Float); procedure Put(S: in String); procedure New_Line(N: in Integer := 1); end Simple_IO; The parameter of Get is an out parameter because the effect of a call such as Get(X); is to transmit a value out from the procedure to the actual parameter X.

All the control structures of Ada have this closed form rather than the open form of Pascal and C which can lead to poorly structured and incorrect programs. We will now consider in outline the possible general form of the function Sqrt and the package Simple_IO that we have been using. The function Sqrt will have a structure similar to that of our main subprogram; the major difference will be the existence of parameters. function Sqrt(F: Float) return Float is R: Float; begin -- compute value of Sqrt(F) in R ...

The various statements and declarations all terminate with a semicolon; this is like C but unlike Pascal where semicolons are separators rather than terminators. The program contains various words such as procedure, Put and X. These fall into two categories. A few (73 in fact) such as procedure and is are used to indicate the structure of the program; they are reserved words and can be used for no other purpose. All others, such as Put and X, can be used as identifiers for whatever purpose we desire.

Download PDF sample

Rated 4.62 of 5 – based on 11 votes