Home > Articles > Programming > C/C++

C/C++

61 Items

Sort by Date | Title

How to Build a Strong Virtual Team
By Karen N. Johnson
May 11, 2010
Karen N. Johnson provides valuable advice for establishing and maintaining virtual relationships with team members. Using senses other than just your sight, paying attention to subtle clues, and putting in a little extra effort to be available when needed can help you to build a strong team that works together even when they're physically separated.
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.
Improve Your Testing and Your Testers with Paired Testing
By Karen N. Johnson
Apr 27, 2010
Have you ever had testers on your team whose knowledge and skill sets were complementary, and wondered how you could encourage them to exchange and collaborate so that they could both increase their skills? Author Karen Johnson shows a different approach to testing and some of the advantages of pairing testers.
In Praise of C and C++
By Pete McBreen
Jul 19, 2002
See why many developers prefer C and C++ over other rapid development tools. C and C++ enable developers to create long-lived predictable applications and to interface to legacy code on practically any platform.
Interview with Andrei Alexandrescu (Part 1 of 3)
By Andrei Alexandrescu, Eric Niebler
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)
By Andrei Alexandrescu, Eric Niebler
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.
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 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.
Iterating Through Containers in C++, with Some Help from Boost's Lambda Library and Friends
By Jeff Cogswell
Jul 29, 2005
Don't be jealous of programmers using new languages, such as Python or C#! C++ gives you many ways to iterate through data you've stored in containers, supports for-each, and has helpful devices called lambda functions. Jeff Cogswell shows you how you can fly through your containers with ease.
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.
Move Semantics in C++11, Part 1: A New Way of Thinking About Objects
By Danny Kalev
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.
Move Semantics in C++11, Part 2: Design and Implementation of Special Move Functions
By Danny Kalev
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.
Multithreading and the C++ Type System
By Andrei Alexandrescu
Feb 8, 2002
Multithreaded programming is unwieldy, to say the least. You need all the help you can get, especially when your own compiler can graciously provide it.
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.
On Iteration
By Andrei Alexandrescu
Nov 9, 2009
Andrei Alexandrescu provides a fresh perspective on iteration and proposes a new approach to iteration that builds on the strengths of abstractions defined by other languages and libraries. The proposed framework is sensible and expressive, yet one that is simple and obvious in hindsight.
Parallel Programming in CUDA C
By Jason Sanders, Edward Kandrot
Jul 12, 2010
Much of the promise of GPU computing lies in exploiting the massively parallel structure of many problems. In this vein, this chapter examines how to execute parallel code on the GPU using CUDA C.
Preface to "Advanced Programming in the UNIX Environment, 3rd Edition"
By W. Richard Stevens, Stephen A. Rago
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.
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.
Preface to the Digital Edition of Kernighan and Ritchie's The C Programming Language
By Brian W. Kernighan
Oct 31, 2012
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.

< Prev Page 1 2 3 4 Next >