Home > Articles > Programming > C/C++

C/C++

362 Items

Sort by Date | Title

Interview with Andrei Alexandrescu (Part 3 of 3)
Aug 25, 2010
Eric Niebler and Andrei Alexandrescu conclude their conversation about the D programming language by discussing concurrency, the complications of sharing data, dynamic loading, specification and licensing, and the future of D.
Video: Large Scale C++: Logical/Physical Coherence
Apr 21, 2015
In this excerpt from Large-Scale C++ LiveLessons (Workshop): Applied Hierarchical Reuse Using Bloomberg's Foundation Libraries, John Lakos discusses logical/physical coherence, where each logical subsystem is tightly encapsulated by a corresponding physical aggregate.
2D Graphics
Jan 1, 2008
A Boost Graph Library Tutorial
Mar 1, 2002
This sample chapter from The Boost Graph Library: User Guide and Reference Manual introduces concepts and provides some motivation for the choice of concepts in the BGL.
A Brief History of Programming, Part 1
Oct 26, 2007
David Chisnall takes a look at some of the developments that created the current crop of languages.
A Glitch in Time Saves Nine
May 6, 2010
Whether you're a car manufacturer or a state tax agency, software glitches can have extensive — and expensive — repercussions. In this article, Jeff Papows, President and CEO of WebLayers, explains that proper IT governance can prevent many of these problems.
A Half-Way Step to Apple’s Source Code: An Interview with David Chisnall
Jun 5, 2009
Longtime InformIT contributor David Chisnall talks Cocoa, GNUstep, and the Étoilé project with Linda Leung.
A Magic Spell: Using auto and decltype in C++11 to Declare Objects Without Spelling Out Their Types
Mar 15, 2012
C++11 weaves its magic to help you eliminate keystrokes and simplify your code, safely transferring some of your workload to the compiler. With two new C++11 features, you can omit the type of an object from its declaration, and the compiler ingeniously deduces the missing type by examining the initializer used in the declaration. Danny Kalev reveals the secret behind the curtain.
A Practical Introduction to eBay's Web API
Oct 14, 2005
A Practical Legal Guide to iPhone Application Development
Jan 12, 2010
Legal expert Robert McHale examines the common legal pitfalls specific to iPhone application development, and the measures developers can adopt to minimize risk and maximize protection of their intellectual property rights.
A Primer on Object-Oriented Concepts
Jul 8, 2013
Programming Expert Jesse Smith shows you how valuable understanding object oriented concepts are to facilitate good code design.
A Tour of C++
Jan 18, 2002
In this excerpt from his book The C++ Programming Language, Special Edition, Bjarne Stroustrup takes a tour of the basic features that make C++ such a great language.
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.
A Tour of the Standard Library
Jan 18, 2002
In this excerpt from his book The C++ Programming Language, Special Edition, Bjarne Stroustrup gives a quick tour of key library facilities to give you an idea what can be done using C++ and its standard library.
A Video Interview with Andrei Alexandrescu on the D Programming Language
Oct 14, 2014
Andrei Alexandrescu, author of The D Programming Language, answers Brian Overland's questions about D, how one can integrate D into an existing C++ code base, D compilers, the advantages of working with a large and comprehensive language, and where to go to learn more about D.
A Video Interview with C++ Author John Lakos
Nov 10, 2014
John Lakos, author of Large-Scale C++ LiveLessons (Workshop): Applied Hierarchical Reuse Using Bloomberg's Foundation Libraries and senior software architect at Bloomberg, talks with Brian Overland about applied hierarchical reuse, the problem with undefined behavior, the use of macros in C++, the importance of using the right tool for the job, and the challenge of getting people to do things your way.
A Video Interview with Herb Sutter on C++ Standards
Oct 16, 2014
Herb Sutter, the lead software architect for C++ at Microsoft, head of the ISO C++ standards committee, and co-author of C++ Coding Standards talks with Brian Overland about how the standards committee evaluates proposals, the importance of being egoless, how to submit a proposal to the standards committee, why the committee decided to update the standard every three years, and the adoption of C++ in cross-platform mobile apps.
Accessing a MySQL Database from a C++ CGI Program
Oct 31, 2003
If you want to access a MySQL database through CGI, C++ is a great option. Sure, you can use other languages such as PHP or Perl, and they might be easy to use, but C++ has the advantage of being fast, powerful, and fully compiled, thereby hiding your original code. In this article, Jeff Cogswell shows you how you can write CGI programs in C++ to access a MySQL database.
Accessing Shared Atomic Objects from within a Signal Handler in C
Apr 24, 2014
Robert C. Seacord, author of Secure Coding in C and C++, Second Edition, describes how accessing shared objects in signal handlers can result in race conditions that can leave data in an inconsistent state. Historically, the only conforming way to access a shared object from a signal handler was to read from or write to variables of type volatile sig_atomic_t. With the advent of C11, atomics are now a better choice for accessing shared objects in signal handlers.
Adding an Easy File Save and File Load Mechanism to Your C++ Program
Jul 1, 2005
Why waste your time figuring out an algorithm for storing things in a file? And why spend time debugging the code? Let the Boost library do it for you. Saving your data to your own custom-made file formats is easy with the help of the Boost serialization templates. Jeff Cogswell shows you how to save the data and read it back in with ease.

Page 1 2 3 4 5 Next >