出版時(shí)間:2006-5 出版社:人民郵電出版社 作者:科漢 頁數(shù):539 字?jǐn)?shù):675000
Tag標(biāo)簽:無
內(nèi)容概要
本書主要講解如何用C語言編程。書中涵蓋了C語言的所有特性,包括ANSI C99標(biāo)準(zhǔn)最新增加的特性。本書通過示例講解C語言,使用完整的程序來闡釋每個(gè)新概念,而且對所有C函數(shù)都提供了一步一步的說明。此外,每章結(jié)尾都配有習(xí)題,附錄還提供了詳細(xì)的C語言的小結(jié)和標(biāo)準(zhǔn)C語言庫,便于快速參考。讀者既可從本書中學(xué)到語言的基礎(chǔ),又可以學(xué)到好的編程實(shí)踐?! ? 無論是課堂講解還是自學(xué),本書都是理想的C語言教材。
作者簡介
Stephen G. Kochan有20多年使用C語言進(jìn)行軟件開發(fā)的經(jīng)驗(yàn),是多本暢銷的C語言和Unix方面經(jīng)典圖書的作者,包括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 Functions9 Working with Structures 10 Character Strings 11 Pointers 12 Operations on Bits 13 The Preprocessor14 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 LibraryC Compiling Programs with gcc D Common Programming Mistakes E Resources
圖書封面
圖書標(biāo)簽Tags
無
評論、評分、閱讀與下載