2.1. Reading Code

This is what developers do every time.

  • They read the code.
  • Read the lines of code others have written.
  • Other developer’s code for code maintenance.
  • The API Signatures / Function prototypes
  • The values of constants.
  • They read the same code written just few minutes back.

Note

Hello World Vs. Zlib

Eclipse is more than what meets the eye. To cover all the features of Eclipse, A Hello World project would not be enough. We have chosen Zlib. The examples / screen shots shown in this book are from Zlib

If you want to take Do-It-Yourself approach along with this book, refer to Setting up Zlib Source and then come back to this chapter.

This is how an opened file, example.c would look in Eclipse.

../../_images/c-default-example-dot-c-file-view.png

These are the topics discussed in further detail: