C语言程序设计

C语言程序设计
分享
扫描下方二维码分享到微信
打开微信,点击右上角”+“,
使用”扫一扫“即可将网页分享到朋友圈。
作者:
2006-05
版次: 1
ISBN: 9787115147639
定价: 55.00
装帧: 平装
开本: 其他
纸张: 胶版纸
页数: 539页
字数: 675千字
24人买过
  • 本书主要讲解如何用C语言编程。书中涵盖了C语言的所有特性,包括ANSI C99标准最新增加的特性。本书通过示例讲解C语言,使用完整的程序来阐释每个新概念,而且对所有C函数都提供了一步一步的说明。此外,每章结尾都配有习题,附录还提供了详细的C语言的小结和标准C语言库,便于快速参考。读者既可从本书中学到语言的基础,又可以学到好的编程实践。  
      
      
      无论是课堂讲解还是自学,本书都是理想的C语言教材。 Stephen G. Kochan有20多年使用C语言进行软件开发的经验,是多本畅销的C语言和Unix方面经典图书的作者,包括Programming in ANSI C、Topics in C Program-ming、Exploring the Unix System、Unix Shell Programming 和Unix System Security,最近还出版了Programming in Obje 1 Introduction 

    2 Some Fundamentals 

      Programming 

      Higher-Level Languages  

      Operating Systems  

      Compiling Programs  

      Integrated Development Environments  

      Language Interpreters 

    3 Compiling and Running Your First Program  

      Compiling Your Program  

      Running Your Program  

      Understanding Your First Program  

      Displaying the Values of Variables  

      Comments 

      Exercises  

    4 Variables, Data Types, and Arithmeti Expressions 

      Working with Variables 

      Understanding Data Types and Constants 

        The Basic Integer Type int 

        The Floating Number Type float 

        The Extended Precision Type double  

        The Single Character Type char 

        The Boolean Data Type  Bool  

        Type Specifiers: long, long long, short,unsigned,and signed  

      Working with Arithmetic Expressions  

        Integer Arithmetic and the Unary Minus Operator 

        The Modulus Operator  

        Integer and Floating-Point Conversions 

        Combining Operations with Assignment: The Assignment Operators

        Types, Complex and Imaginary  

        Exercises  

    5 Program Looping  

      The for Statement 

        Relational Operators 

        Aligning Output  

        Program Input  

        Nested for Loops  

        for Loop Variants  

      The while Statement 

      The do Statement  

        The break Statement  

        The continue Statement  

      Exercises  

    6 Making Decisions  

      The if Statement  

        The if-else Construct 

        Compound Relational Tests 

        Nested if Statements  

        The else if Construct 

      The switch Statement  

      Boolean Variables

      The Conditional Operator  

      Exercises 

    7 Working with Arrays 

      Defining an Array 

      Initializing Arrays  

      Character Arrays 

      Multidimensional Arrays  

      Variable-Length Arrays  

      Exercises  

    8 Working with Functions

    9 Working with Structures  

    10 Character Strings 

    11 Pointers 

    12 Operations on Bits  

    13 The Preprocessor

    14 More on Data Types  

    15 Working with Larger Programs  

    16 Input and Output Operations in C  

    17 Miscellaneous and Advanced Features  

    18 Debugging Programs 

    19 Object-Oriented Programming 

    A C Language Summary 

    B The Standard C Library

    C Compiling Programs with gcc 

    D Common Programming Mistakes 

    E Resources
  • 内容简介:
    本书主要讲解如何用C语言编程。书中涵盖了C语言的所有特性,包括ANSI C99标准最新增加的特性。本书通过示例讲解C语言,使用完整的程序来阐释每个新概念,而且对所有C函数都提供了一步一步的说明。此外,每章结尾都配有习题,附录还提供了详细的C语言的小结和标准C语言库,便于快速参考。读者既可从本书中学到语言的基础,又可以学到好的编程实践。  
      
      
      无论是课堂讲解还是自学,本书都是理想的C语言教材。
  • 作者简介:
    Stephen G. Kochan有20多年使用C语言进行软件开发的经验,是多本畅销的C语言和Unix方面经典图书的作者,包括Programming in ANSI C、Topics in C Program-ming、Exploring the Unix System、Unix Shell Programming 和Unix System Security,最近还出版了Programming in Obje
  • 目录:
    1 Introduction 

    2 Some Fundamentals 

      Programming 

      Higher-Level Languages  

      Operating Systems  

      Compiling Programs  

      Integrated Development Environments  

      Language Interpreters 

    3 Compiling and Running Your First Program  

      Compiling Your Program  

      Running Your Program  

      Understanding Your First Program  

      Displaying the Values of Variables  

      Comments 

      Exercises  

    4 Variables, Data Types, and Arithmeti Expressions 

      Working with Variables 

      Understanding Data Types and Constants 

        The Basic Integer Type int 

        The Floating Number Type float 

        The Extended Precision Type double  

        The Single Character Type char 

        The Boolean Data Type  Bool  

        Type Specifiers: long, long long, short,unsigned,and signed  

      Working with Arithmetic Expressions  

        Integer Arithmetic and the Unary Minus Operator 

        The Modulus Operator  

        Integer and Floating-Point Conversions 

        Combining Operations with Assignment: The Assignment Operators

        Types, Complex and Imaginary  

        Exercises  

    5 Program Looping  

      The for Statement 

        Relational Operators 

        Aligning Output  

        Program Input  

        Nested for Loops  

        for Loop Variants  

      The while Statement 

      The do Statement  

        The break Statement  

        The continue Statement  

      Exercises  

    6 Making Decisions  

      The if Statement  

        The if-else Construct 

        Compound Relational Tests 

        Nested if Statements  

        The else if Construct 

      The switch Statement  

      Boolean Variables

      The Conditional Operator  

      Exercises 

    7 Working with Arrays 

      Defining an Array 

      Initializing Arrays  

      Character Arrays 

      Multidimensional Arrays  

      Variable-Length Arrays  

      Exercises  

    8 Working with Functions

    9 Working with Structures  

    10 Character Strings 

    11 Pointers 

    12 Operations on Bits  

    13 The Preprocessor

    14 More on Data Types  

    15 Working with Larger Programs  

    16 Input and Output Operations in C  

    17 Miscellaneous and Advanced Features  

    18 Debugging Programs 

    19 Object-Oriented Programming 

    A C Language Summary 

    B The Standard C Library

    C Compiling Programs with gcc 

    D Common Programming Mistakes 

    E Resources
查看详情
相关图书 / 更多