O'Reilly logo

Advanced Linux Programming by Alex Samuel, Jeffrey Oldham, Mark Mitchell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

1. Getting Started

image

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required