新书报道
当前位置: 首页 >> 电子电气计算机信息科学 >> 正文
Programming in C(C语言程序设计)
发布日期:2006-11-08  浏览
[内容简介]
本书主要讲解如何用C语言编程。书中涵盖了C语言的所有特性,包括ANSI C99标准最新增加的特性。本书通过示例讲解C语言,使用完整的程序来阐释每个新概念,而且对所有C函数都提供了一步一步的说明。此外,每章结尾都配有习题,附录还提供了详细的C语言的小结和标准C语言库,便于快速参考。读者既可从本书中学到语言的基础,又可以学到好的编程实践。  
无论是课堂讲解还是自学,本书都是理想的C语言教材
[目次]
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

关闭


版权所有:西安交通大学图书馆      设计与制作:西安交通大学数据与信息中心  
地址:陕西省西安市碑林区咸宁西路28号     邮编710049

推荐使用IE9以上浏览器、谷歌、搜狗、360浏览器;推荐分辨率1360*768以上