Home > Articles > Programming > C/C++


RSS Feed Subscribe to this topic  RSS details

360 Items

Sort by Date | Title

Migrating C/C++ from 32-Bit to 64-Bit
By Stephen B. Morris
May 11, 2015
A 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.
Video: Large Scale C++: Logical/Physical Coherence
By John Lakos
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.
Video: Large Scale C++: Uniform Depth of Physical Aggregation
By John Lakos
Apr 13, 2015
In this video excerpt from the Process and Architecture section of Large-Scale C++ LiveLessons (Workshop): Applied Hierarchical Reuse Using Bloomberg's Foundation Libraries, John Lakos discusses the three levels of physical aggregation: the Component, the Package, and the Package Group.
From Mathematics to Generic Programming: An Interview with Alexander Stepanov and Daniel Rose
By John Lakos, Alexander A. Stepanov, Daniel E. Rose
Feb 16, 2015
John 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.
Better Multi-language Programming with Metrics
By Stephen B. Morris
Dec 22, 2014
Stephen B. Morris describes how to get ahead in the new era of multi-language programming. Do you get bogged down with complex script coding in multiple languages? Are you having problems producing robust concurrent C, C++, or Java solutions? You can use metrics to apply your existing programming skills in learning new languages.
Video: Introduction to C++ Concurrency: Start a Thread with std::async
By Bartosz Milewski
Dec 4, 2014
In this video excerpt from Introduction to C++ Concurrency LiveLessons (Video Training), Bartosz Milewski shows you how to start a thread with std::async.
A Video Interview with C++ Author John Lakos
By John Lakos, Brian Overland
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
By Herb Sutter, Brian Overland
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.
A Video Interview with Andrei Alexandrescu on the D Programming Language
By Andrei Alexandrescu, Brian Overland
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.
How to Work with Variables, Data Types, and Arithmetic Expressions in the C Programming Language
By Stephen G. Kochan
Aug 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.
Why We Need Another C++ Conference
By Jon Kalb
Aug 18, 2014
Jon Kalb, the conference coordinator for CPPCon, talks about how the conference came to be, and the value of meeting face to face in this age of easy digital connectivity.
Introduction to Programming in C, Fourth Edition
By Stephen G. Kochan
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.
Notes to the Reader of Bjarne Stroustrup's Programming: Principles and Practice Using C++, 2nd Edition
By Bjarne Stroustrup
Jun 5, 2014
This 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 Stroustrup
May 29, 2014
This chapter from Bjarne Stroustrup's Programming: Principles and Practice Using C++, 2nd Edition describes how vectors are copied and accessed through subscripting.
Put on Your Sorting Hat: Which Algorithm Makes Your Sort 500 Times Faster?
By Brian Overland
May 27, 2014
Are you in a hurry? Brian Overland explains how to speed up your program's sorting capabilities by specifying the right type of sort for each occasion. Is your sort type fast to program but pokey to run? Zippy but a space hog? Learn why one algorithm is speedier than another—potentially hundreds of times faster!
Safety in Numbers: Introducing C++14's Binary Literals, Digit Separators, and Variable Templates
By Danny Kalev
May 14, 2014
Danny 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.
Regular Expressions 102: Text Translation in C++
By Brian Overland
May 7, 2014
With the new Regular Expression library in the C++11 specification, you can perform complex text translation simply by specifying a couple of text patterns and then just calling a function. Brian Overland, author of C++ for the Impatient, demonstrates how easy and yet powerful these features are to use.
Preface to Bjarne Stroustrup's Programming: Principles and Practice Using C++, 2nd Edition
By Bjarne Stroustrup
May 5, 2014
Bjarne 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.
Exception Management in C++ and Python Development: Planning for the Unexpected
By Stephen B. Morris
May 1, 2014
Stephen B. Morris digs deeper into the terrain between C++ and Python, both of which provide powerful exception-management facilities. Later maintainers of your code will thank you for implementing decent exception logic! In addition to the maintenance advantages, careful use of exception handlers can facilitate effective integration between Python and C++.
Accessing Shared Atomic Objects from within a Signal Handler in C
By Robert C. Seacord
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.

Page 1 2 3 4 5 Next >