| C++ Basics
                                By
                                Peter GottschlingFeb 5, 2016Learn the fundamental features of C++, including variables, operators, expressions and statements, functions, error handling, I/O, arrays, pointers, and references, and structuring software projects.
 | 
| C/C++ Memory Management, Bit Fields, and Function Pointers
                                By
                                Stephen B. MorrisAug 26, 2015You're sure that your C/C++ memory-allocation code is bulletproof, but will the code work when the host platform is under stress? Consider using bit flags for applications that require low-level data access. Modern programming also routinely requires the use of complex language features such as callbacks and function pointers. As Stephen B. Morris explains, the use cases for these features are both simple and powerful.
 | 
| Migrating C/C++ from 32-Bit to 64-Bit
                                By
                                Stephen B. MorrisMay 11, 2015A major driver of modern C/C++ development is the need for producing native 64-bit code. In most cases, servers and desktop systems are now almost exclusively 64-bit machines. Given this fact, isn't the move to 64-bit C/C++ code just a matter of changing a few build settings? Stephen B. Morris explains why it's not so simple.
 | 
| From Mathematics to Generic Programming: An Interview with Alexander Stepanov and Daniel Rose 
                                By
                                John Lakos, Alexander A. Stepanov, Daniel E. RoseFeb 16, 2015John Lakos interviews  Alexander Stepanov and Daniel Rose, authors of From Mathematics to Generic  Programming, on  their new book, why it applies to everyday programmers, and their positions on  some closely related technical issues — including value semantics, concepts, contracts, and polymorphic memory resources — facing the C++ Standards Committee today.
 | 
| How to Work with Variables, Data Types, and Arithmetic Expressions in the C Programming Language
                                By
                                Stephen G. KochanAug 21, 2014 C has a rich variety of math operators that you can use to manipulate your data. In this chapter from Programming in C, 4th Edition, Stephen G. Kochan covers the int, float, double, char, and _Bool data types, modifying data types with short, long, and long long, the rules for naming variables, basic math operators and arithmetic expressions, and type casting.
 | 
| Introduction to Programming in C, Fourth Edition
                                By
                                Stephen G. KochanAug 14, 2014Stephan G. Kochan provides some background about the C programming language and describes the contents and organization of the fourth edition of his book, Programming in C.
 | 
| Notes to the Reader of Bjarne Stroustrup's Programming: Principles and Practice Using C++, 2nd Edition 
                                By
                                Bjarne StroustrupJun 5, 2014This chapter from Programming: Principles and Practice Using C++, 2nd Edition is a grab bag of information; it aims to give you an idea of what to expect from the rest of the book. Please skim through it and read what you find interesting.
 | 
| Programming: Principles and Practice Using C++: Vectors and Arrays
                                By
                                Bjarne StroustrupMay 29, 2014This chapter from Bjarne Stroustrup's Programming: Principles and Practice Using C++, 2nd Edition describes how vectors are copied and accessed through subscripting.
 | 
| Safety in Numbers: Introducing C++14's Binary Literals, Digit Separators, and Variable Templates
                                By
                                Danny KalevMay 14, 2014Danny Kalev highlights three new core features in C++14 that simplify the design and implementation of numeric apps. Binary literals such as 0b10101 enable you to parse binary numbers without the onus of converting them to decimal; the new digit separator improves code readability; and, finally, variable templates let you define parameterized constants instead of resorting to cumbersome static member functions.
 | 
| Preface to Bjarne Stroustrup's Programming: Principles and Practice Using C++, 2nd Edition
                                By
                                Bjarne StroustrupMay 5, 2014Bjarne Stroustrup introduces the second edition of his book, Programming: Principles and Practice Using C++, which will give you a solid foundation for writing useful, correct, maintainable, and efficient code.
 | 
| Protect C++ Legacy Programs by Using Python
                                By
                                Stephen B. MorrisFeb 11, 2014Stephen B. Morris illustrates a simple way to execute C++ programs by using Python. This approach is lightweight and yet robust, taking advantage of Python's powerful exception-management facilities. Learn how to achieve deeper integration between C++ and Python, while addressing important design issues.
 | 
| Data and the C Programming Language
                                By
                                Stephen PrataDec 20, 2013This chapter explores the two great families of data types: integer and floating point. C offers several varieties of these types. This chapter tells you what the types are, how to declare them, and how and when to use them. Also, you discover the differences between constants and variables.
 | 
| The Components of a C Program
                                By
                                Bradley L. Jones, Peter Aitken, Dean MillerNov 18, 2013 In this lesson you will learn the components of a short C program, the purpose of each program component, and how to compile and run a sample program.
 | 
| The Absolute Beginner's Guide to Writing Your First C Program
                                By
                                Greg Perry, Dean MillerAug 22, 2013This chapter introduces you to your first C program, your first function, and teaches you to identify different kinds of data used in programs.
 | 
| Preface to "Advanced Programming in the UNIX Environment, 3rd Edition"
                                By
                                W. Richard Stevens, Stephen A. RagoMay 16, 2013This preface to the highly-anticipated 3rd edition of Advanced Programming in the UNIX Environment, 3rd Edition contains Stephen Rago's current Introduction, his Introduction from the 2nd edition, and also W. Richard Stevens' original Introduction from the 1st edition.
 | 
| An Interview with Barbara Moo on C++11
                                By
                                Barbara E. Moo, Danny KalevNov 12, 2012C++ Primer has been one of the most popular C++ textbooks for nearly two decades. Now in its new fifth edition, it covers all of the new  C++11 core features and library changes. Danny Kalev interviewed co-author Barbara Moo about the new edition of C++ Primer, the writing process, her experiences from the early days of AT&T’s C++ project, and her future plans.
 | 
| Preface to the Digital Edition of Kernighan and Ritchie's The C Programming Language
                                By
                                Brian W. KernighanOct 31, 2012
 | 
| An Interview with Brian Kernighan on C and The C Programming Language
                                By
                                John Wait, Brian W. KernighanOct 1, 2012Originally published  in 1978 and updated in 1988, The C  Programming Language is considered a “must-read” classic by most  programmers and is generally known simply as “K&R.”  To mark the  publication of an ebook version of the 1988 second edition, we interviewed coauthor  Brian Kernighan about the C programming language, the book, and future trends.
 | 
| Working with Dynamic Memory in C++
                                By
                                Stanley B. Lippman, Josée LaJoie, Barbara E. MooSep 13, 2012C++ lets you allocate objects dynamically.  The authors of C++ Primer discuss why properly freeing dynamic memory is a rich source of bugs, and how the new library defines smart pointers—shared_ptr, unique_ptr, and weak_ptr—that make managing dynamic memory much safer.
 | 
| Move Semantics in C++11, Part 2: Design and Implementation of Special Move Functions
                                By
                                Danny KalevJul 9, 2012Move semantics in C++11 can improve your code's performance dramatically. Danny Kalev concludes this series with a close look at the design and implementation of move-enabled code. Find out what the state of a moved-from object should be, and learn the guidelines for writing move constructors and move assignment operators.
 |