|

Addison-Wesley / Prentice Hall

Computer Science

My Instructor Resource Center :  Log in or request access

C Programming FAQs: Frequently Asked Questions
Steve Summit

ISBN-10: 0201845199
ISBN-13:  9780201845198

Publisher:  Addison-Wesley Professional
Copyright:  1996
Format:  Paper; 432 pp
Published:  11/07/1995
Status: Instock


Suggested retail price: $34.99
Buy from myPearsonStore





1. Declarations and Initializations.

Basic Types.

Pointer Declarations.

Declaration Style.

Storage Classes.

Typedefs.

The const Qualifier.

Complex Declarations.

Array Sizes.

Declaration Problems.

Namespace.

Initialization.



2. Structures, Unions, and Enumerations.

Structure Declarations.

Structure Operations.

Structure Padding.

Accessing Members.

Miscellaneous Structure Questions.

Unions.

Enumerations.

Bit-fields.



3. Expressions.

Evaluation Order.

Other Expression Questions.

Preserving Rules.



4. Pointers.

Basic Pointer Use.

Pointer Manipulations.

Pointers as Function Parameters.

Miscellaneous Pointer Use.



5. Null Pointers.

Null Pointers and Null Pointer Constants.

The NULL Macro.

Retrospective.

What's Really at Address 0?



6. Arrays and Pointers.

Basic Relationship of Arrays and Pointers.

Arrays Can't Be Assigned.

Retrospective.

Pointers to Arrays.

Dynamic Array Allocation.

How can I avoid fixed-sized arrays?

Functions and Multidimensional Arrays.

Sizes of Arrays.



7. Memory Allocation.

Basic Allocation Problems.

Calling malloc.

malloc Problems.

Freeing Memory.

Sizes of malloc'ed Blocks.

Other Allocation Functions.



8. Characters and Strings.


9. Boolean Expressions and Variables.


10. C Preprocessor.

Macro Definitions.

Header Files.

Conditional Compilation.

Fancier Processing.

Macros with Variable-Length Argument Lists.



11. ANSI/ISO Standard C.

The Standard Itself.

Function Prototypes.

The const Qualifier.

Using main().

Preprocessor Features.

Other ANSI C Issues.

Old or Non-Standard Compilers.

Compliance.



12. Stdio.

printf Formats.

scanf Formats.

scanf Problems.

Other stdio Function.

Opening and Manipulating Files.

Redirecting stdin and stdout.

"Binary" I/O.



13. Library Functions.

13 String Functions.

Sorting.

Date and Time.

Random Numbers.

Other Library Functions.



14. Floating Point.


15. Variable-Length Argument Lists.

Calling Varargs Functions.

Implementing Varargs Functions.

Extracting Variable-Length Arguments.

Harder Problems.



16. Strange Problems.


17. Style.


18. Tools and Resources.

Tools.

Lint.

Resources.



19. System Dependencies.

Keyboard and Screen I/O.

Other I/O.

Files and Directories.

Accessing Raw Memory.

"System" Commands.

Process Environment.

Other System-Dependent Operations.

Retrospective.



20. Miscellaneous.

Miscellaneous Techniques.

Bits and Bytes.

Efficiency.

Switch Statements.

Miscellaneous Language Features.

Other Languages.

Algorithms.

Trivia. 0201845199T04062001

Meet Steve Summit

Steve Summit, a graduate of Massachusetts Institute of Technology, has been programming in C for 15 years. He is a respected voice on the Internet and maintains the FAQ list for the Usenet newsgroup comp.lang.c. He is currently teaching and working on a variety of projects in C and UNIX, with an emphasis on aggressively portable code and interface design.



0201845199AB04062001

Summit furnishes you with answers to some of the most frequently asked questions in C. Extensively revised from his popular FAQ list on the Internet, more than 400 questions are answered to illustrate key points and to provide practical guidelines for programmers. C Programming FAQs is a welcomed reference for all C programmers, providing accurate answers, insightful explanations, and clarification of fine points along with numerous code examples.

Highlights
  • How-to-manual covering the C language in a practical, nuts-and-bolts way
  • Concise answers to more than 400 most frequently asked questions with definitively correct answers
  • Description of real problems that crop up when writing actual programs
  • Clarification of widely misunderstood issues: subtle portability problems, proper language usage, system-specific issues.



0201845199B04062001

Source Code
Summit
©1996 | Addison-Wesley Professional | On-line Supplement | Instock
ISBN-10: 0321314336 | ISBN-13: 9780321314338


Interwrite Personal Response System
EduCue, Addison-Wesley & Benjamin Cummings
©2004 | Addison-Wesley Professional | Electronic Supplement | Instock
ISBN-10: 0321267354 | ISBN-13: 9780321267351


Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students contact your Pearson Higher Education representative.