Home > Articles > Programming > C/C++


RSS Feed Subscribe to this topic  RSS details

339 Items

Sort by Date | Title

Protect C++ Legacy Programs by Using Python
By Stephen B. Morris
Feb 11, 2014
Stephen B. Morris illustrates a simple way to execute C++ programs by using Python. This approach is lightweight and yet robust, taking advantage of Python's powerful exception-management facilities. Learn how to achieve deeper integration between C++ and Python, while addressing important design issues.
Data and the C Programming Language
By Stephen Prata
Dec 20, 2013
This chapter explores the two great families of data types: integer and floating point. C offers several varieties of these types. This chapter tells you what the types are, how to declare them, and how and when to use them. Also, you discover the differences between constants and variables.
The Components of a C Program
By Bradley L. Jones, Peter Aitken, Dean Miller
Nov 18, 2013
In this lesson you will learn the components of a short C program, the purpose of each program component, and how to compile and run a sample program.
An Overview of C++ and Java Facilities and Techniques for Defining Classes
By Conrad Weisert
Sep 24, 2013
This chapter from Object-Oriented Computation in C++ and Java: A Practical Guide to Design Patterns for Object-Oriented Computing covers the choices we face among language facilities that have duplicate or overlapping functionality, the background of various traditions in C++ and Java programming, and established principles of good programming practice as they apply to building and using object-oriented classes.
Preface to Bjarne Stroustrup's "A Tour of C++"
By Bjarne Stroustrup
Sep 11, 2013
Bjarne Stroustrup, the designer and original implementer of C++, introduces his new book, A Tour of C++, which is intended to give an experienced programmer—in as short a time as possible—a clear idea of what constitutes modern C++.
The Absolute Beginner's Guide to Writing Your First C Program
By Greg Perry, Dean Miller
Aug 22, 2013
This chapter introduces you to your first C program, your first function, and teaches you to identify different kinds of data used in programs.
Be Smart About C++11 Smart Pointers
By Brian Overland
Jul 9, 2013
Smart pointers are an improved, more reliable way to manage resources such as dynamically allocated memory and file handles. Brian Overland, author of C++ for the Impatient, explores the advantages - and hazards - of using smart pointers in your code.
A Primer on Object-Oriented Concepts
By Jesse Smith
Jul 8, 2013
Programming Expert Jesse Smith shows you how valuable understanding object oriented concepts are to facilitate good code design.
C Secure Coding Rules: Past, Present, and Future
By Robert C. Seacord
Jun 26, 2013
CERT’s Secure Coding Initiative has been developing secure coding standards since 2006. Expert programmer Robert C. Seacord, author of Secure Coding in C and C++, Second Edition, offers a history of this effort, provides detailed information about the ISO/IEC TS 17961 C Secure Coding Rules Technical Specification currently making its way through the standardization process, and discusses the future of these coding standards.
C++11 Regular-Expression Library
By Brian Overland
Jun 25, 2013
C++11 makes the capabilities of regular expressions directly available to you, without your having to write a regular-expression engine yourself. In this chapter from C++ for the Impatient, Brian Overland explains all the basic functionality so you can learn how to do just about anything you’d want to do.
Regular Expressions 101: Regex in C++11
By Brian Overland
Jun 10, 2013
Brian Overland, author of C++ for the Impatient, speeds through the basics of regular expression grammar as groundwork for explaining how C++11 regular expressions work.
Introduction to C Programming
By Paul Deitel, Harvey Deitel
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.
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.
An Interview with Bjarne Stroustrup
By Danny Kalev, Bjarne Stroustrup
May 15, 2013
Danny Kalev talks to Bjarne Stroustrup, C++ creator and author of The C++ Programming Language, fourth edition, about the impact of C++11, why he doesn't consider security to be the job of a programming language, his thoughts on garbage collection, and what's coming in C++14.
Warping Out with Hash-Table Containers in C++11
By Brian Overland
May 13, 2013
Brian Overland, author of C++ for the Impatient, discusses a technique for improving searches in your programs. By swapping your ordered maps for unordered maps, you may be able to give users access to warp speed.
Secure Coding in C and C++: Strings and Buffer Overflows
By Robert C. Seacord
Apr 24, 2013
Buffer overflows are a primary source of software vulnerabilities. Type-unsafe languages, such as C and C++, are especially prone to such vulnerabilities. In this chapter, Robert C. Seacord discusses practical mitigation strategies that can be used to help eliminate vulnerabilities resulting from buffer overflows.
Secure Coding in C and C++: An Interview with Robert Seacord
By Danny Kalev, Robert C. Seacord
Apr 18, 2013
Danny Kalev talks to Robert C. Seacord, the author of Secure Coding in C and C++, second edition, about the new edition of his book, which features in C11 may be more dangerous than programmers realize, and advice for making your code more secure.
Preface to Bjarne Stroustrup's "The C++ Programming Language, 4th Edition"
By Bjarne Stroustrup
Mar 28, 2013
In the preface to the fourth edition of Bjarne Stroustrup's classic, The C++ Programming Language, he discusses why C++ feels like a new language and how its use has changed dramatically over the years.
Erica Sadun's Roadmap to Mac/iOS Development
By Erica Sadun
Mar 7, 2013
There is a lot to learn if you want to become a Mac and iOS developer. Fear not, however, because bestselling author and developer Erica Sadun has developed this handy guide for getting you started with the best course of action and resources available.
C, the Foundation of Objective-C
By Robert Clair
Dec 6, 2012
This chapter is a basic introduction to the C programming language, and covers variables, operators, expressions and statements, program flow, preprocessor, and command line compiling and debugging.

1 2 3 4 5 Next >