Home > Articles > Programming > C/C++

C/C++

362 Items

Sort by Date | Title

Internet Packet Routing with the Boost Graph Library
Mar 1, 2002
In a continuing look at the Boost Graph Library (BGL), Jeremy Siek walks you through the process of implementing the core of an Internet router that adheres to the Open Shortest Path First (OSPF) protocol.
Interview with Andrei Alexandrescu (Part 1 of 3)
Aug 11, 2010
In part 1 of this three-part series, Eric Niebler talks with his pal and fellow InformIT contributor Andrei Alexandrescu about the D programming language and Andrei's new book about it: what makes D different from other languages, whether D's class libraries rival those of Java and .NET, and why Andrei claims not to be a guru.
Interview with Andrei Alexandrescu (Part 2 of 3)
Aug 18, 2010
Part 2 of this interview about the D programming language finds Eric Niebler and Andrei Alexandrescu deep in discussion about structs versus classes, the difficulties of copy semantics, rvalue references, the intricacies of garbage collection, and Andrei's occasional failure in serving as the standard-bearer for policy-based design.
Interview with Bruce Eckel
Sep 21, 2001
Author Bruce Eckel, whose book Thinking in Java, Second Edition recently won the JavaWorld Editors' Choice Award, speaks with InformIT about his theories on programming, changes in the industry, and the future of programming.
Interview with Donald Knuth
Apr 25, 2008
Andrew Binstock and Donald Knuth converse on the success of open source, the problem with multicore architecture, the disappointing lack of interest in literate programming, the menace of reusable code, and that urban legend about winning a programming contest with a single compilation.
Introduction to C Programming
Jun 3, 2013
The C language facilitates a structured and disciplined approach to computer-program design. In this chapter Paul Deitel and Harvey Deitel introduce C programming and present several examples that illustrate many important features of C, including simple input and output statements, fundamental data types, and arithmetic operators.
Introduction to C++ Programming
By Paul Deitel, Harvey Deitel
May 10, 2011
In this chapter, Harvey and Paul Deitel offer five examples that demonstrate how your programs can display messages and obtain information from the user for processing.
Introduction to Design Patterns in C++ with Qt: Models and Views
Sep 13, 2011
In this chapter, you will learn how to use the model classes in Qt to represent many different kinds of data.
Introduction to Programming in C, Fourth Edition
Aug 14, 2014
Stephan 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.
Introduction to Programming in C++
Feb 21, 2003
Steve Heller defines some programming terms and gives you an idea of how programming works.
iOS Developer's Bookshelf: A Reading List by Erik Buck
Oct 5, 2011
Cocoa developer and entrepreneur Erik Buck provides a glimpse at some of the books he has found invaluable in his career as a developer and instructor.
iOS Developer's Bookshelf: A Reading List by Michael Bluestein
Oct 5, 2011
MonoTouch developer Michael Bluestein shares some of the most important books in his programming library and explains why each is so valuable.
iPhone App Development Fundamentals: Using the Painter Application
Jun 1, 2010
This video excerpt is from iPhone App Development Fundamentals LiveLessons (Video Training).
iPhone/iPad Programming with C# and .NET: Loading Default User Settings in MonoTouch
May 19, 2010
Bryan Costanich, using MonoTouch, shows how to get past the failure of the iPhone OS to preload your application defaults.
Item 16: Know how to pass vector and string data to legacy APIs.
Jun 22, 2001
Some legacy C APIs traffic in arrays and char* pointers instead of vector and string objects. Such APIs will exist for a long time, so we must make peace with them if we are to use the STL effectively. Fortunately, it's easy.
Item 2: Beware the illusion of container-independent code.
Jun 22, 2001
When you write your own containers, iterators, and algorithms, don't generalize the notion of a container--a vector is not a deque is not a list. Container-independent code is a nice idea, but almost always misguided.
Item 21: Always have comparison functions return false for equal values.
Jun 22, 2001
If you use the wrong comparison function, equal values are, by definition, not equivalent! Isn't that cool? Well, not really.
Item 27: Minimize casting
May 12, 2005
The rules of C++ are designed to guarantee that type errors are impossible. Casting, however, subverts the type system and can lead to pesky errors in compiled code. This chapter explains why it's a good idea to forgo casting as much as possible in C++.
Item 44: Prefer member functions to algorithms with the same names.
Jun 22, 2001
When choosing between an STL algorithm or a container member function with the same name, go for the member function. It's probably more efficient, and better integrated with the container's usual behavior.
Item 47: Use traits classes for information about types
May 12, 2005

<< < Prev Page 8 9 10 11 12 Next >