学习使用C指针(影印版)

学习使用C指针(影印版)
作 者: Ricbard Reese
出版社: 东南大学出版社
丛编项:
版权说明: 本书为公共版权或经版权方授权,请支持正版图书
标 签: C C++ C# VC VC++ 程序设计 计算机/网络
ISBN 出版时间 包装 开本 页数 字数
未知 暂无 暂无 未知 0 暂无

作者简介

暂缺《学习使用C指针(影印版)》作者简介

内容简介

通过对C指针和内存管理的扎实理解来提高你的编程技能。在这本贴合实际的书籍里,你将了解到指针是如何提供了相应的机制来动态操纵内存,增强对数据结构的支持,允许直接访问硬件。作者RichardReese通过《学习使用C指针(影印版)》中的内存模型为你展示了如何在数组、字符串、结构和函数中使用指针。虽然难以掌握,但是指针为c语言提供了灵活性和强大能力,不过很少有资料来讲述这种数据类型。无论你是初学者还是有经验的C或者c++编程人员和开发者,这本详尽的书籍都有着你所需要的知识。

图书目录

Preface

1.Introduction

Pointers and Memory

Why You Should Become Proficient with Pointers

Declaring Pointers

HOW to Read a Declaration

Address of operator

Displaying Pointer Values

Dereferencing a Pointer Using the Indirection Operator

Pointers to Functions

The Concept ofNull

Pointer Size and Types

Memory Models

Predefined PointerRelated Types

Pointer operators

Pointer Arithmetic

Comparing Pointers

Common Uses of Pointers

Multiple Levels of Indirection

Constants and Pointers

Summary2.DynamicMemoryManagementinC

Dynamic Memory Allocation

Memory Leaks

Dynamic Memory Allocation Functions

Using the malloc Function

Using the calloc Function

……

3.Pointers and Functions

4.Pointers and Arrays

5.Pointers and Strings

6.Pointers and Structures

7.Sechrity Lssues and the lmproper Use of pointers

8.Odds and Ends

lndex