Àâòîðèçàöèÿ
Ïîèñê ïî óêàçàòåëÿì
Waite M., Prata S., Martin D. — C Primer Plus. User Friendly Guide to the C Programming Language
Îáñóäèòå êíèãó íà íàó÷íîì ôîðóìå
Íàøëè îïå÷àòêó? Âûäåëèòå åå ìûøêîé è íàæìèòå Ctrl+Enter
Íàçâàíèå: C Primer Plus. User Friendly Guide to the C Programming Language
Àâòîðû: Waite M., Prata S., Martin D.
Àííîòàöèÿ: The C language combines the efficiency and speed of assembly language with the structure and conciseness of Pascal. Consequently, over 80 percent of the software community is using C today. This revised and expanded edition of C Primer Plus presents everything that you need to immediately start using this exciting language, and more. The book's time-tested organization encourages you to solve problems, ask questions, and work exercises. Used in schools as a complete course in C programming, the book offers these features:
· Compatibility with UNIX™ and MS-DOS@
· Organization suited to beginners as well as advanced users
· Well-proven approach to such introductory concepts as data, I/O, strings, and loops
· Explanations of arrays and pointers, file I/O, bit fiddling, storage classes, macro functions, access to 8088 ports, structures, redirection, IBM@ PC sound, and graphics access
New topics added to this updated edition include:
· Information on C++, the successor to the C language, recently created by AT&T for "object-oriented programming"
· Details on the new American National Standards Institute (ANSI) C language standard-what is new and how to write programs that conform to it C Primer Plus, Revised Edition, is the perfect companion to the Sams/Waite UNIX Primer Plus, and is compatible with any IBM PC implementation of C that conforms to the Kernighan and Ritchie standard.
ßçûê:
Ðóáðèêà: Òåõíîëîãèÿ /
Ñòàòóñ ïðåäìåòíîãî óêàçàòåëÿ: Ãîòîâ óêàçàòåëü ñ íîìåðàìè ñòðàíèö
ed2k: ed2k stats
Èçäàíèå: revised edition
Ãîä èçäàíèÿ: 1987
Êîëè÷åñòâî ñòðàíèö: 557
Äîáàâëåíà â êàòàëîã: 10.12.2005
Îïåðàöèè: Ïîëîæèòü íà ïîëêó |
Ñêîïèðîâàòü ññûëêó äëÿ ôîðóìà | Ñêîïèðîâàòü ID
Ïðåäìåòíûé óêàçàòåëü
Divisional assignment operation 218 220
Do While loops 222—225 523
Documentation, and C++ 501
Double data type 53—54 518
Double data type, ranking of 117
Double data type, speed of calculations with 491
Double quotes, and #include 333
Double quotes, and character strings 66 377
Double quotes, and constant substitution 74
Double quotes, and macros 327 329—330
Double quotes, escape sequence for 51
Driver programs 259
Dyadic operators 98—99
Echo, and input 136
Editors, for program preparation 7—9
Electric bill program 167—169
elements, array 234—235 380
Elements, array, and pointers 347—349
else 165—172 523—524
Else-if 167—172
End-of-file indicators, for text files 141—143
Entry-condition loops see "For statements" "While
Enum and enumerated types 491—492
EOF (End Of File) 142—143
EOF (end of file), and scanf( ) function 240
Equal to operator 164
Equal to operator, compared to assignment operations 173—174
Equality, testing for with floating-point numbers 174
Error checking, and program design 318
Error checking, of input 190—191 310—311
escape sequences 25—26 50—51
Exclusive or, bitwise 528—529
Executable files 9 12
Execution time substitution 71
Exit( ) function 465
Exit-condition loops 222—225 523
Exponentiation program 272—275
Exponents and exponential notation 53—55
Expression tree, for precedence 102—103
Expressions 112—113 118
Expressions, relational 173—178
extensions, file 8—9
Extern and external variables 289—291 293 295 519
External arrays, initialization of 344—346
External static variables 292—293 295
External storage class 287—288 295
False value, and relational expressions 113 175—178
Fclose( ) function 451
Fflush( ) function, and fopen( ) 486—487
Fgets( ) function 455
Field width, and asterisk, in printf( ) function 85
Field width, and columns 86—87
Field width, for print formatting 79—80
Fields, and bit manipulation 530—531
File pointer, and fseek( ) 457
File reduction program 452—454
files, copying 146—147
Files, description of 449
files, executable 9 12
Files, inclusion of, with #include 333—335
Files, input-output of 141—143 447—459
Files, program 8
Files, redirection of 144—150
files, source 9
Floating-point numbers and float data type 39—42 53—56 518
Floating-point numbers and float data type, binary 534—535
Floating-point numbers and float data type, compared to integers 41—42
Floating-point numbers and float data type, conversions with 462—464
Floating-point numbers and float data type, division of 101
Floating-point numbers and float data type, precision of, and printf( ) function 79
Floating-point numbers and float data type, printing of 80—81
Floating-point numbers and float data type, ranking of 117
Floating-point numbers and float data type, testing for equality with 174
Floating-point numbers and float data type, variables for 36—37
fopen( ) function 450—451
Fopen( ) function, in ANSI C 486—487
for loops 212—220 522
For loops, and arrays 235
For loops, compared to while loops 223—225
Form feed, escape sequence for 51
Formal arguments 257—258 277
Formatting, with printf( ) function 79—87
FORTRAN, assignment and equality operators in 173
Forward declarations, of functions 275 489
Fprintf( ) function 454—455
Fputs( ) function 455—456
Fractions, binary 534—535
free( ) function 469
Fscanf( ) function 454—455
Fseek( ) function 456—459 486—487
Ftoa( ) function 464
Functions 18 273—275 278—280
Functions, and arrays and pointers 349—367
Functions, and braces 21
Functions, and multidimensional arrays 362—367
Functions, and parentheses 21
Functions, and pointers 268—272 386
Functions, and structures 428—433
Functions, and variables, calling program 263—265
Functions, arguments for 255—259
functions, calling 25 253
Functions, compared to macros 330—332
functions, definition 254
Functions, description of 26—27
Functions, macro 328—331
Functions, overloading of, in C++ 496—497
Functions, purpose of 251—252
functions, returning values from 259—263 277
Functions, standard see "Standard library functions"
Functions, statements for 115
Functions, types 274—277 481
functions, user-defined 29—30
Functions, void 276 481
Getarray( ) function, creation of 311—314
Getc( ) function 452
Getchar( ) function 134—144
Getche( ) function 136
Getint( ) function, creation of 301—308
Gets( ) function, and character strings 385—387
Gets( ) function, compared to scanf( ) function 387—388
Global variables 287—288 295 519
GOTO statement 229—233 295 525
Graphics program, using characters 151-152 184-191
Greater than operator 110 173
H suffix, for header files 73 333
header files 73 333—335
Headers 20
Headers, for functions 26—27
hexadecimal numbers 525
Hexadecimal numbers, conversions of, and printf( ) function 82
Hexadecimal numbers, prefix for 44—45
Hexadecimal numbers, representation of ASCII codes by 50
IBM PC, compiling C on 10—12 280
IBM PC, data type sizes in 57
IBM PC, music on 537—541
IBM PC, ports in 152—156 538
Identifiers, for printf( ) function 75
IF statements 163—172 523—524
If statements, avoiding goto statements in 230—231
If statements, compared to while loops 207
if-else statements 165—167 191—192
Increment operation 106—112
Increment operation, and macros 331
Increment operation, and pointers 354—355
Indices, array 234—235 344
Indirect membership operation 426—428 514
Indirection operation 266—267 271 513
Infinite loops 108 207
Initialization, expression, in for loops 212—220 522
Initialization, of arrays, and storage classes 344—347
Initialization, of character constants 49—50
Initialization, of character string arrays 378—379 381
Initialization, of multidimensional arrays 359—360
Initialization, of structure pointer 426
Initialization, of structures 417—418
Initialization, of variables 43—44 518
Inp( ) function, and ports 155
Input, buffered 136—137
Input, error checking of 190—191
Input, getchar( ) function 134—144
Input, integer, and getint( ) function 301—308
Input, of array data 237—241
Input, of numeric data 310—314
Input, standard 144
Input, stop signal for 310
Input, with scanf( ) function see "Scanf( ) function"
Input-output 133 157—158 see "Output"
Input-output, and stdio.h file 20—21 135
Input-output, character string 81 84 376—377 384—391
Input-output, file 141—143 452—459
Input-output, redirection 144—150
Input-output, using ports 152—156 538
Instructions, compared to statements 113—114
Integers and int data type 20 22 39—41 43—48 517
Integers and int data type, and modulus operator 105
Integers and int data type, compared to floating-point numbers 41—42
Integers and int data type, conversions involving 304—307 462—465
Integers and int data type, declaration of 22
Integers and int data type, division of 101
Integers and int data type, input of, and getint( ) function 301—308
Integers and int data type, overflow of 47
Integers and int data type, printing of 79—80
Integers and int data type, ranking of 117
Intel systems, 80386, data type sizes in 57
Intel systems, 8086/8088, ports for 152—156
Interaction, programs with 37
Interpreted languages 5 8
Inventory program 413—415
Isalnum( ) function 460
Isalpha( ) function 459
Isascii( ) function 460
Iscntrl( ) function 460
Isdigit( ) function 459
Islower( ) function 459
Ispunct( ) function 460
Isspace( ) function 459
Isupper( ) function 459
Iteration 207
Itoa( ) function 464
jumps 227—233 525—526
Kernighan, Brian, The C Programming Language 223 479—480
Kernighan, Brian, The C Programming Language, on goto statement 229
Keyboard, musical 537—541
keywords 22
Keywords, data type 56 517
Keywords, program flow 509
Keywords, storage class 519
L suffix, for long 48
L suffix, for long, and printf( ) function 79
Labels, for goto statement 229—230 525
Labels, with switch 195—197 524—525
Left shift operation 529
Length, of character strings 66 68—70 392
less than operator 95 173
Letterhead program 256—257
Library routines see "Standard library routines"
Lines, input of 140—141
link command 10—11
Linked structures 433
local variables 262 289 295 519
Logical operations 179—183 513
Logical operations, bitwise 527—529
Logo, assignment and equality operators in 173
Long 46—48 79 457 480 517—518
loops, Do While 222—225 523
loops, for see "For statements"
loops, infinite 108 207
Loops, nesting of 225—227
loops, while see "While statements"
Lowercase characters, testing for 459
Lowercase, conversion function for 460
Ls list command 9 146
Machine language code 9—10 12
Macro expansion 326
Macros, and preprocessor 326—338
Macros, compared to functions 330—332
Main( ) function 18 21 26 251 278
Main( ) function, and command-line arguments 400—403
malloc( ) function 465—468
Masking, with bitwise logical operations 528—529
Members and membership operations 514
Members and membership operations, and bit operations 530
Members and membership operations, as function arguments 428—430
Members and membership operations, structure 415 418
Members and membership operations, structure array 421—422 426—428
Memory allocation and arrays 235
Memory allocation and calloc 468—469
Memory allocation and character strings 384—385
Memory allocation and declarations 22 114
Memory allocation and malloc 465—468
Memory allocation and storage classes 289—290 295
Memory allocation and structures 416—417
Memory allocation and variable definitions 43
Memory allocation, for data types 46—47 57
Memory, units of 40
Microprocessors, Intel, 80386 data sizes 57
Microprocessors, Intel, 8086/8088, ports for 152—156
Microsoft C, compilation with 10—12 279
Mixed types, division with 101
Modes, for fopen( ) 450—451 486—487
Modes, with fseek( ) 457
Modification, program, and modularity 237
Modifiers, and type declarations 437—438 492—493
Modifiers, conversion specification, and printf( ) function 79—81 85
Modifiers, for scanf( ) function 85—86
Modularity and C 4
Modularity and C++ 501
Modularity and program design 318
Modularity and program modification 237
Modulo assignment operation 218 220
Modulus operation 105
Modulus operation and overflow 83
MS-DOS 2
MS-DOS, files 141
MS-DOS, redirection in 149—150
Msc compiler command 10
multidimensional arrays 356—367
Multiplication operation 28 98 102—104
Multiplication operation, by powers of two 529
Multiplicative assignment operation 215 218 220
Music, on IBM PC 537—541
named constants 492
Names, array 347—348 380
Names, for program files 8
Names, macro 326 332
Names, of variables 23 271—272
Negation, bitwise 528
Negative numbers, representation of 82
Nesting, and break statement 228
Nesting, and goto statement 231—232
Nesting, of #define 336
Nesting, of if statements 169—171
Nesting, of loops 225—227
Nesting, of macros 327
Nesting, of structures 422—424
Nesting, of while loops 157
newline character 20 25—26
Newline character, and scanf( ) function 68
Newline character, escape sequence for 51
nonprinting characters 50—52
Ðåêëàìà