Advanced C

Tips and Techniques

Paul L. Anderson, Gail C. Anderson

Publisher: SAMS, 1988, 446 pages

ISBN: 0-672-48417-X

Keywords: Programming

Last modified: May 24, 2021, 6 p.m.

If you're a member of the ever-growing legion of C programmers, you'll want to learn more about this poplar language. Advanced C: Tips and Techniques shows you new ways to use C for applications and system programming.

Advanced C: Tips and Techniques contains a wealth of information about how to use C effectively. It's practical examples and easy-to-understand exercises help you learn new techniques and explores related topics. Programmers and students alike will find this book helpful in any of C's operating systems.

In these pages, you'll find:

  • A review of the C language
  • A "behind-the-scenes" look at C's run time environment, including the text, stack, data, and heap program areas
  • Efficiency techniques with arrays and pointers, and how to allocate storage for multi-dimensional arrays at run time
  • Explanations of sequence guarantee points and the right-left rule that help you work more confidently with C expressions
  • Techniques for debugging C programs
  • The source code for a memory object allocator
  • Useful appendices that discuss the popular C compilers under UNIX and DOS

All the programs featured in Advanced C: Tips and Techniques run on the UNIX and DOS operating systems. They were compiled under UNIX with the AT&T standard C compiler, Microport System V/AT C, SCO's XENIX System V 286 and 386 C compilers, and Sun Microsystem's C compiler. Under DOS, programs were compiled with Microsoft C 5.0 and Turbo C.

  1. C Refresher
    • Data Representation
    • Functions
    • Operators and Expressions
    • Control Flow Constructs
    • Arrays and Pointers
    • Structures and Unions
    • Storage Classes
    • Preprocessor Directives and Macros
    • Casts
    • Summary
    • Exercises
  2. The Run Time Environment
    • Program Areas
    • The Text Area
    • The Stack
    • The Data Area
    • The Heap
    • Putting It All Together
    • Summary
    • Exercises
  3. An Array of Choices
    • Pointer and Array Fundamentals
    • Pointer Expressions and Arrays
    • Multidimensional Arrays Revisited
    • Performance Pointers
    • Multidimensional Arrays at Run Time
    • Summary
    • Exercises
  4. A Closer Look at C
    • Sequence Guarantee Points
    • Right-Left Rule
    • Lvalues in Expressions
    • Fast Array Transfers
    • Passing Entire Arrays to Functions
    • Functions with Varying Arguments
    • Summary
    • Exercises
  5. C Debugging Techniques
    • C Preprocessor
    • ASCII and Hexadecimal Debug Display
    • Command Line Flaags
    • Signals with Debug Output
    • Assertions
    • Selective Debug Print Statements
    • Customized Memory Allocators
    • Summary
    • Exercises
  6. A Memory Object Allocator
    • Project ATL
    • The Object Allocator
    • Implementing Dynamic Strings
    • Putting It All Together
    • Summary
    • Exercises
  1. The Standard C Compiler Under UNIX
    • Compiler Options
    • Link Editor Options
    • Preprocessor Options
    • Compiler Debugging Options
  2. C Under Microport System V/AT
    • Memory Models
    • Other Features
  3. C Under SCO XENIX System V
    • Memory Models
    • Function Calling Conventions
  4. Microsoft C  5.0 Compiler
    • Memory Models
    • ANSI C Features
    • Other Features
  5. Turbo C
    • Memory Models
    • ANSI C Features
    • Low Level Support
    • Other Features

Reviews

Advanced C

Reviewed by Roland Buresund

Bad ** (2 out of 10)

Last modified: May 21, 2007, 2:54 a.m.

Meaningless and basic. Avoid.

Comments

There are currently no comments

New Comment

required

required (not published)

optional

required

captcha

required