Home > Articles > Programming > C/C++

C/C++

362 Items

Sort by Date | Title

C++ Basics
Feb 5, 2016
Learn the fundamental features of C++, including variables, operators, expressions and statements, functions, error handling, I/O, arrays, pointers, and references, and structuring software projects.
Start Using C++
Jan 20, 2016
Nothing succeeds like success. This chapter from C++ Without Fear: A Beginner's Guide That Makes You Feel Smart, 3rd Edition focuses on successfully installing and using the C++ compiler—the tool that translates C++ statements into an executable program (or application).
Going Large-Scale with C++, Part 1: Successful Small Projects Will Often Grow
Dec 17, 2015
A single-purpose application with efficient, error-free code is a beautiful dream. In the real world, however, software is typically created by groups working with nearly impossible challenges against tight deadlines. Must successful small programs inevitably become unwieldy behemoths? In this two-part series, John Lakos, author of Large-Scale C++ LiveLessons (Workshop): Applied Hierarchical Reuse Using Bloomberg's Foundation Libraries, explains why large development efforts are fundamentally different from small ones, and explores methodologies for meeting this scalability challenge.
Going Large-Scale with C++, Part 2: Maximizing Returns on Scale with Hierarchical Reuse
Dec 17, 2015
John Lakos, author of Large-Scale C++ LiveLessons (Workshop): Applied Hierarchical Reuse Using Bloomberg's Foundation Libraries, concludes his two-part series by discussing how hierarchical reuse avoids common pitfalls of large development projects and takes advantage of economies of scale.
Learn C the Hard Way: Using Makefiles to Build
Sep 23, 2015
In this excerpt from Learn C the Hard Way: Practical Exercises on the Computational Subjects You Keep Avoiding (Like C), Zed A. Shaw uses a program called make to simplify building exercise code. You'll learn just enough Makefile syntax to get started.
Learn C the Hard Way: Dust Off That Compiler
Sep 22, 2015
In this chapter from Learn C the Hard Way: Practical Exercises on the Computational Subjects You Keep Avoiding (Like C), Zed Shaw has you write a small but extensive C program to confirm that your compiler works.
C/C++ Memory Management, Bit Fields, and Function Pointers
Aug 26, 2015
You're sure that your C/C++ memory-allocation code is bulletproof, but will the code work when the host platform is under stress? Consider using bit flags for applications that require low-level data access. Modern programming also routinely requires the use of complex language features such as callbacks and function pointers. As Stephen B. Morris explains, the use cases for these features are both simple and powerful.
Migrating C/C++ from 32-Bit to 64-Bit
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
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
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
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
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
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
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.
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.
How to Work with Variables, Data Types, and Arithmetic Expressions in the C Programming Language
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
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
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
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.

Page 1 2 3 4 5 Next >