C Primer PlusPearson Education, 2004/11/23 - 984 ページ The new classic! C Primer Plus, now in its 5th edition, has been revised to include over 20 new programming exercises, newly improved examples and the new ANSI/ISO standard, C99. Task-oriented examples will teach you the fundamentals of C programming. From extended integer types and compound literals to Boolean support and variable-length arrays, you will learn to create practical and real-world applications with C programming. Review questions and programming exercises at the end of each chapter will reinforce what you have learned. This friendly and easy-to-use self-study guide will help you understand the fundamentals of this core programming language. |
目次
Operators Expressions and Statements | |
Looping | |
Storage Classes Linkage and Memory Management | |
Type Qualifiers | |
Looping | |
File InputOutput | |
Standard Files | |
A SimpleMinded FileCondensing Program | |
f seek and ftell | |
Structures and Other Data Forms | |
Key Concepts | |
Operators Expressions and Statements | |
Type Conversions | |
The while Statement | |
Using Relational Operators and Expressions | |
Indefinite Loops and Counting Loops | |
+ | |
do while | |
Introducing Arrays | |
Branching and Jumps | |
Character InputOutput and Input Validation | |
Redirection and Files | |
Summary | |
Functions | |
Recursion | |
Bit Fiddling | |
Compiling Programs with Two or More Source Code Files | |
The Operator | |
A First Look | |
Arrays and Pointers | |
Character Strings and String Functions | |
Arrays of Structures | |
Data and C | |
Nested Structures | |
Saving the Structure Contents in a File | |
Bit Fiddling | |
Other Number Bases | |
Bit Fields | |
Key Concepts | |
The C Preprocessor and the C Library | |
Gaining Access to the C Library | |
Summary | |
Advanced Data Representation | |
Abstract Data Types ADTs | |
Getting Queued with an | |
Simulating with a Queue | |
The Linked List Versus the Array | |
Other Directions | |
APPENDIX A Answers to the Review Quesions | |
APPENDIXES | |
他の版 - すべて表示
多く使われている語句
allocated ANSI array ASCII assigned automatic binary bits block buffer bytes Chapter character string color command-line compiler constant conversion specification converts copy count create ctype.h declaration define digits display element end-of-file enter error example executed expression external fgets float floating-point floating-point number function call function prototypes function returns getchar header file hexadecimal implementation include stdio.h increment initialize input int main(void integer internal linkage keyword Listing look loop macro malloc memory newline newline character notation null character operand operator output parameter plist pointer preprocessor printf printf("Enter printf("The putchar recursion represent return value sample run scanf sizeof source code space specifier standard starbar statement static storage class stored strcmp strcpy strlen struct structure symbolic constants terminates type int typedef Unix unsigned int variable void whitespace Write a program zippo