<rt id="qlaea"><optgroup id="qlaea"><button id="qlaea"></button></optgroup></rt>
    <rp id="qlaea"><meter id="qlaea"></meter></rp><strong id="qlaea"><span id="qlaea"></span></strong>
      <rp id="qlaea"></rp>
      1. <source id="qlaea"><nav id="qlaea"><strike id="qlaea"></strike></nav></source>

        計算機書籍控

        學習使用C指針(英文本)

           通過對C指針和內存管理的扎實理解來提高你的編程技能。在《學習使用C指針》這本貼合實際的書籍里,你將了解到指針是如何提供了相應的機制來動態操縱內存,增強對數據結構的支持,允許直接訪問硬件。作者Richard Reese(雷斯)通過本書中的內存模型為你展示了如何在數組、字符串、結構和函數中使用指針。    雖然難以掌握,但是指針為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 of Null
        Pointer Size and Types
        Memory Models
        Predefined Pointer—Related Types
        Pointer Operators
        Pointer Arithmetic
        Comparing Pointers
        Common Uses of Pointers
        Multiple Levels of Indirection
        Constants and Pointers
        Summary
        2.Dynamic Memory Management in C
        Dynamic Memory Allocation
        Memory Leaks
        Dynamic Memory Allocation Functions
        Using the malloc Function
        Using the calloc Function
        Using the realloc Function
        The alloca Function and Variable Length Arrays
        Deallocating Memory Using the free Function
        Assigning NULL to a Freed Pointer
        Double Free
        The Heap and System Memory
        Freeing Memory upon Program Termination
        Dangling Pointers
        Dangling Pointer Examples
        Dealing with Dangling Pointers
        Debug Version Support for Detecting Memory Leaks
        Dynamic Memory Allocation Technologies
        Garbage Collection in C
        Resource Acquisition Is Initialization
        Using Exception Handlers
        Summary
        3.Pointers and Functions
        Program Stack and Heap
        Program Stack
        Organization of a Stack Frame
        Passing and Returning by Pointer
        Passing Data Using a Pointer
        Passing Data by Value
        Passing a Pointer to a Constant
        Returning a Pointer
        Pointers to Local Data
        Passing Null Pointers
        Passing a Pointer to a Pointer
        Function Pointers
        Declaring Function Pointers
        Using a Function Pointer
        Passing Function Pointers
        Returning Function Pointers
        Using an Array of Function Pointers
        Comparing Function Pointers
        Casting Function Pointers
        Summary
        4.Pointers and Arrays
        Quick Review of Arrays
        One—Dimensional Arrays
        Two—Dimensional Arrays
        Multidimensional Arrays
        Pointer Notation and Arrays
        Differences Between Arrays and Pointers
        Using malloc to Create a One—Dimensional Array
        Using the realloc Function to Resize an Array
        Passing a One—Dimensional Array
        Using Array Notation
        Using Pointer Notation
        Using a One—Dimensional Array of Pointers
        Pointers and Multidimensional Arrays
        Passing a Multidimensional Array
        Dynamically Allocating a Two—Dimensional Array
        Allocating Potentially Noncontiguous Memory
        Allocating Contiguous Memory
        Jagged Arrays and Pointers
        Summary
        5.Pointers and Strings
        String Fundamentals
        String Declaration
        The String Literal Pool
        String Initialization
        Standard String Operations
        Comparing Strings
        Copying Strings
        Concatenating Strings
        Passing Strings
        Passing a Simple String
        Passing a Pointer to a Constant char
        Passing a String to Be Initialized
        Passing Arguments to an Application
        Returning Strings
        Returning the Address of a Literal
        Returning the Address of Dynamically Allocated Memory
        Function Pointers and Strings
        Summary
        6.Pointers and Structures
        Introduction
        How Memory Is Allocated for a Structure
        Structure Deallocation Issues
        Avoiding malloc/free Overhead
        Using Pointers to Support Data Structures
        Single—Linked List
        Using Pointers to Support a Queue
        Using Pointers to Support a Stack
        Using Pointers to Support a Tree
        Summary
        7.Security Issues and the Improper Use of Pointers
        Pointer Declaration and Initialization
        Improper Pointer Declaration
        Failure to Initialize a Pointer Before It Is Used
        Dealing with Uninitialized Pointers
        Pointer Usage Issues
        Test for NULL
        Misuse of the Dereference Operator
        Dangling Pointers
        Accessing Memory Outside the Bounds of an Array
        Calculating the Array Size Incorrectly
        Misusing the sizeof Operator
        Always Match Pointer Types
        Bounded Pointers
        String Security Issues
        Pointer Arithmetic and Structures
        Function Pointer Issues
        Memory Deallocation Issues
        Double Free
        Clearing Sensitive Data
        Using Static Analysis Tools
        Summary
        8.Odds and Ends
        Casting Pointers
        Accessing a Special Purpose Address
        Accessing a Port
        Accessing Memory using DMA
        Determining the Endianness of a Machine
        Aliasing, Strict Aliasing, and the restrict Keyword
        Using a Union to Represent a Value in Multiple Ways
        Strict Aliasing
        Using the restrict Keyword
        Threads and Pointers
        Sharing Pointers Between Threads
        Using Function Pointers to Support Callbacks
        Object—Oriented Techniques
        Creating and Using an Opaque Pointer
        Polymorphism in C
        Summary
        Index
        

        書籍下載

        尊重版權,請購買正版書籍

        正版書籍

        學習使用C指針(英文本)

        163A官方彩票导航网 www.vintage-denim.com:花垣县| www.limonychelo.com:禄丰县| www.zczww.cn:杭州市| www.foodtechnologys.com:唐河县| www.fsxianxin.com:项城市| www.ym577.com:徐水县| www.artbyandra.com:稻城县| www.mq665.com:辽阳县| www.alanseptictank.com:安泽县| www.axshiye.com:资兴市| www.imagefilm-prod.com:乌审旗| www.293385.com:永川市| www.materialhandler.net:佳木斯市| www.r-bowlder.com:平安县| www.fdcyxw.com:涞源县| www.tj-dqhcjt.com:阿巴嘎旗| www.texastroop424.org:来凤县| www.baidu48.com:左贡县| www.youthsportsfinder.com:定襄县| www.aiqinhaiszx.com:岳西县| www.omidfile.com:南通市| www.halothreads.com:鄂伦春自治旗| www.free0769.com:广灵县| www.aidaomu.com:河东区| www.70088p.com:长武县| www.informasijakarta.com:卢湾区| www.mobilespiele.org:措美县| www.pj558888.com:潢川县| www.du-pin.com:东光县| www.getallsites.com:临夏县| www.scacsl.net:鸡西市| www.3977886.com:湘潭县| www.aiwody.com:福海县| www.yuanrongxing.com:南阳市| www.theabsenceofsounds.com:乡宁县| www.ng335.com:长阳| www.mueryoubabing.com:政和县| www.jcsbw.com:新郑市| www.kidizzle.com:凤冈县| www.pure-gen.com:定结县| www.frederickpress.net:龙江县| www.alexferrismedia.com:蕉岭县| www.wzhxzhssls.com:新野县| www.xawydz.com:库伦旗| www.n3969.com:宜兰市| www.tjsj168.com:辰溪县| www.774006.com:广宗县| www.trade-perfect.com:宜宾市| www.bvidahealth.com:徐闻县| www.valentine1china.com:北流市| www.fanliboke.com:遂昌县| www.lomondtimberframe.com:沭阳县| www.4hzg.com:东乡族自治县| www.cherrystonesoftware.com:米易县| www.dennisforhire.com:阜平县| www.omegastresser.com:蓝山县| www.jatemweb.com:紫阳县| www.property-in-nigeria.com:清水河县| www.apexelpaso.com:嘉兴市| www.liansheng-tech.com:寻乌县| www.maskanshomal.com:长寿区| www.tasdy7700.com:阿拉善右旗| www.hsmyy.com:仙居县| www.emploi-quebec-trousse.com:济宁市| www.chaton-mignon.com:婺源县| www.lifesrest.com:望都县| www.globalnj.com:新营市| www.tuvikimhac.com:佛冈县| www.smrig.com:永昌县| www.feeling2007.com:垫江县| www.sdwxm.com:吴江市| www.torrezanefelipe.com:富宁县| www.szjrgb.com:武安市| www.la-esperanca.com:比如县| www.goodnewsbro.com:南汇区| www.madlypopn.com:桓台县| www.maltavizesi.net:兰州市| www.biosourcepharm.com:金山区| www.cp7172.com:罗田县| www.soundwirerecords.com:晴隆县| www.104cn.com:凤山县| www.ebuygift.com:吉水县| www.tjsj168.com:海兴县| www.wynnwords.com:日喀则市|