1. Getting Started
THIS CHAPTER SHOWS YOU HOW TO PERFORM THE BASIC steps required to create a C or C++ Linux program. In particular, this chapter shows you how to create and modify C and C++ source code, compile that code, and debug the result. If you’re already accustomed to programming under Linux, you can skip ahead to Chapter 2,“Writing Good GNU/Linux Software;” pay careful attention to Section 2.3, “Writing and Using Libraries,” for information about static versus dynamic linking that you might not already know.
Throughout this book, we’ll assume that you’re familiar with the C or C++ programming languages and the most common functions ...
Get Advanced Linux Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.