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. |
內容
Compiling Programs with Two or More Source Code Files | |
The Operator | |
A First Look | |
Key Concepts | |
Arrays and Pointers | |
Character Strings and String Functions | |
Storage Classes Linkage and Memory Management | |
File InputOutput | |
Operators Expressions and Statements | |
Looping | |
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 | |
Standard Files | |
A SimpleMinded FileCondensing Program | |
f seek and ftell | |
Structures and Other Data Forms | |
Pointers to Structures | |
Saving the Structure Contents in a File | |
Bit Fiddling | |
The C Preprocessor and the C Library | |
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 calling function Chapter char character string command-line compiler const 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 recursion represent return value sample run scanf sizeof source code 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