Applications programming in ANSI C
著者
書誌事項
Applications programming in ANSI C
Prentice Hall, c1996
3rd ed
大学図書館所蔵 全6件
  青森
  岩手
  宮城
  秋田
  山形
  福島
  茨城
  栃木
  群馬
  埼玉
  千葉
  東京
  神奈川
  新潟
  富山
  石川
  福井
  山梨
  長野
  岐阜
  静岡
  愛知
  三重
  滋賀
  京都
  大阪
  兵庫
  奈良
  和歌山
  鳥取
  島根
  岡山
  広島
  山口
  徳島
  香川
  愛媛
  高知
  福岡
  佐賀
  長崎
  熊本
  大分
  宮崎
  鹿児島
  沖縄
  韓国
  中国
  タイ
  イギリス
  ドイツ
  スイス
  フランス
  ベルギー
  オランダ
  スウェーデン
  ノルウェー
  アメリカ
注記
Includes bibliographical references and index
内容説明・目次
内容説明
The introductory text to applications programming in ANSI C assumes no prior programming experience in C or any other language. Sample applications allow students to see the development of a complete C program. This edition includes a chapter on computer systems and program development to provide background for readers with no programming experience, and a chapter on advanced topics. Over 700 new section review exercises are presented, as well as more than 200 programming exercises.
目次
(NOTE: Each chapter ends with common programming errors and programming exercises).
0. Computer Systems and Program Development.
Algorithms. Computer Systems. Internal representations. Programming Languages. Program Development. Why C?
1. Introduction to C.
A First C Program. Sample application: Conversion of lengths. Identifiers. The while statement. Sample Application: Computing Income Tax. The if statement. More on the if statement. Redirecting input and output. Files.
2. Variables, Operators, and Control Flow.
Characters and integers. Floating-point variables. Arithmetic operations. Relational and logical operators and the assignment operator. Sample application: Statistical measures. The for statement and the comma operator. The operators ++ and -. Sample application: Printing a bar graph.
3. More Operators and Control Flow.
The break and continue statements. Sample application: Generating prime numbers. The switch statement. The goto statement and labels. Conditional expressions. Sample application: Printing a calendar. The cast operator. The sizeof operator. Getchar and putchar. Bitwise operators.
4. Functions and Program Structure.
Introduction. Arguments and parameters. Call by value. Sample application: Computing Resistance. The scope of variables. The preprocessor. Sample application: Simulating a dice game. Recursion. Sample application: Recursive tiling. Functions with a arbitrary number of arguments.
5. Arrays.
Why arrays? Array indexes and cell offsets. Sample application: Tracking and reporting car sales. Character strings as arrays of characters. Sample application: Formatting text with a given line length. Arrays as function arguments. String-handling functions. Sample application: Computing a string's length. Multidimensional arrays. Sample application: Matrix multiplication. Sample application: Sorting and searching. Sample application: Forest fire percolation.
6. Pointers.
Pointer variables. Levels of indirection. Pointers and arrays. Pointers as arguments to functions. Sample application: Reversing a string in place. Sample application: Parallel computing. Pointers and multidimensional arrays. Command line arguments. Pointers to functions. Sample application: Comparing sorting algorithms.
7. Storage Classes and Type Qualifiers.
Storage classes in a single-source file: auto, extern, static. Sample application: Breaking text into pages. The storage class register. Storage classes in multiple-source files. Sample application: An interactive calculator. Nested blocks. Storage classes for functions. Type qualifiers: const and volatile. Sample application: A scheduling problem.
8. Input and Output.
Opening and closing files. Character input/output. Sample application: Determining a source file's size in bytes. String input/output. Formatted input/output. Unformatted input/output. Moving around in a file: fseek, ftell, rewind. Sample application: A random access file.
9. Structures, Unions, and Enumerated Types.
Introduction to structures. Sample application: Pattern recognition. The typedef construct. Operations on structures. Pointers to structures, nested structures, and self-referential structures. Structures and functions. Sample application: Sales reporting. Unions and bit fields. Enumerated types.
10. Introduction to Data Structures.
Compile-time and run-time storage allocation. Linked lists. Sample application: A text editor. Stacks and queues. Sample application: Converting from infix to postfix. Graphs and trees. Tree traversals. Breadth-first search and depth-first search. Sample application: Heuristic graph search.
11. Advanced Topics.
Assertions. Exception-handling and jumps. Graphics support for C. Sample application: Fractals. C and C++.
Appendices. ASCII and EBCDIC tables. Summary of the C language. Syntax diagrams of C. Some C functions. C and UNIX. VAX-11 C Borland C++, and Microsoft C++. Changes from traditional C.
Hints and Solutions to Odd-Numbered Exercises.
Index.
「Nielsen BookData」 より