O'Reilly logo

Just Enough C/C++ Programming by Guy W. Lecky-Thompson

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

Containing Code Blocks

All executable code is contained within a block. A program will be comprised of many blocks—this book, for example, is comprised of many topics, each in its own little section. If you wanted to pick it up and use it as a guide to reading a C program, you might have to consult sections more or less at random using the index.

In other words, you write your program as you would a structured document. However, whereas a document follows a top-down convention (it can be followed coherently from start to end), the same is not necessarily true of computer code.

The main function, for example, might not even occur at the start of the program, and so you need some way to make sure that the statements that it contains are identified ...

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