Home > Articles > Programming > C/C++

C/C++

362 Items

Sort by Date | Title

Preface to "Advanced Programming in the UNIX Environment, 3rd Edition"
May 16, 2013
This 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 Bjarne Stroustrup
May 15, 2013
Danny Kalev talks to Bjarne Stroustrup, C++ creator and author of The C++ Programming Language, fourth edition, about the impact of C++11, why he doesn't consider security to be the job of a programming language, his thoughts on garbage collection, and what's coming in C++14.
Warping Out with Hash-Table Containers in C++11
May 13, 2013
Brian Overland, author of C++ for the Impatient, discusses a technique for improving searches in your programs. By swapping your ordered maps for unordered maps, you may be able to give users access to warp speed.
Secure Coding in C and C++: Strings and Buffer Overflows
Apr 24, 2013
Buffer overflows are a primary source of software vulnerabilities. Type-unsafe languages, such as C and C++, are especially prone to such vulnerabilities. In this chapter, Robert C. Seacord discusses practical mitigation strategies that can be used to help eliminate vulnerabilities resulting from buffer overflows.
Secure Coding in C and C++: An Interview with Robert Seacord
Apr 18, 2013
Danny Kalev talks to Robert C. Seacord, the author of Secure Coding in C and C++, second edition, about the new edition of his book, which features in C11 may be more dangerous than programmers realize, and advice for making your code more secure.
Preface to Bjarne Stroustrup's "The C++ Programming Language, 4th Edition"
Mar 28, 2013
In the preface to the fourth edition of Bjarne Stroustrup's classic, The C++ Programming Language, he discusses why C++ feels like a new language and how its use has changed dramatically over the years.
Erica Sadun's Roadmap to Mac/iOS Development
Mar 7, 2013
There is a lot to learn if you want to become a Mac and iOS developer. Fear not, however, because bestselling author and developer Erica Sadun has developed this handy guide for getting you started with the best course of action and resources available.
C, the Foundation of Objective-C
Dec 6, 2012
This chapter is a basic introduction to the C programming language, and covers variables, operators, expressions and statements, program flow, preprocessor, and command line compiling and debugging.
More Effective C++ at 30 (Printings)
Dec 3, 2012
Scott Meyers reflects on the often troublesome process of writing More Effective C++: 35 New Ways to Improve Your Programs and Designs on the occasion of its thirtieth printing.
An Interview with Barbara Moo on C++11
Nov 12, 2012
C++ 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
Oct 31, 2012
An Interview with Brian Kernighan on C and The C Programming Language
Oct 1, 2012
Originally 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++
Sep 13, 2012
C++ 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
Jul 9, 2012
Move 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.
Move Semantics in C++11, Part 1: A New Way of Thinking About Objects
Jul 2, 2012
Not every resource transfer is a copy operation. In many programming tasks, the resource only moves from one object to another, emptying the source object in the process. The semantics and formal properties of these 'move semantics' are a new C++11 paradigm to make code more efficient and simulate real-world situations more accurately, as Danny Kalev explains in this two-part series.
An Overview of Go in Five Examples
Jun 20, 2012
Mark Summerfield provides a series of five explained examples of the Go programming language. Although the examples are tiny, each of them (apart from "hello who?") does something useful, and between them they provide a rapid overview of Go's key features and some of its key packages.
The Anatomy of a C++ Program
Jun 19, 2012
Learn the basic parts of a simple C++ program, find out what main() is, get an introduction to namespaces, and learn the basics of console input and output. You will be able to use a lot of these in every program you write.
A Tour of the iOS Media Frameworks
Jun 12, 2012
The sheer number of multimedia frameworks in the iOS SDK and their differing purposes, architectural legacies, and functional overlap all make it difficult to figure out which ones solve your problem. Chris Adamson sorts out the strengths and purposes of each.
Adding Open Source 3D Physics to Your iOS Applications
Jun 12, 2012
Erik Buck takes a step beyond 2D physics to explore realistic 3D physics simulation for iOS applications.
Looking Forward to Objective-C Literals
Jun 11, 2012
In this article you'll discover what enhanced literals are, how you use them, and why they'll help your day-to-day development. Bestselling author Erica Sadun introduces all the basics you need to get started.

<< < Prev Page 1 2 3 4 5 Next >