Pointers in C Programming: A Modern Approach to Memory Management, Recursive Data Structures, Strings, and Arrays

Mailund, Thomas

  • 出版商: Apress
  • 出版日期: 2021-04-23
  • 定價: $2,250
  • 售價: 8.0$1,800
  • 語言: 英文
  • 頁數: 537
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484269268
  • ISBN-13: 9781484269268
  • 相關分類: C 程式語言Algorithms-data-structures
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Gain a better understanding of pointers, from the basics of how pointers function at the machine level, to using them for a variety of common and advanced scenarios. This short contemporary guide book on pointers in C programming provides a resource for professionals and advanced students needing in-depth hands-on coverage of pointer basics and advanced features. It includes the latest versions of the C language, C20, C17, and C14.

You'll see how pointers are used to provide vital C features, such as strings, arrays, higher-order functions and polymorphic data structures. Along the way, you'll cover how pointers can optimize a program to run faster or use less memory than it would otherwise.

There are plenty of code examples in the book to emulate and adapt to meet your specific needs.

What You Will Learn

  • Work effectively with pointers in your C programming
  • Learn how to effectively manage dynamic memory
  • Program with strings and arrays
  • Create recursive data structures
  • Implement function pointers

Who This Book Is For

Intermediate to advanced level professional programmers, software developers, and advanced students or researchers. Prior experience with C programming is expected.

商品描述(中文翻譯)

深入了解指標,從指標在機器層級的基本功能到在各種常見和高級情境中使用指標,讓您更好地理解它們。這本關於 C 語言指標的短篇當代指南為專業人士和需要深入實踐指標基礎和高級功能的高級學生提供了一個資源。它包含了最新版本的 C 語言,包括 C20、C17 和 C14。

您將看到指標如何用於提供 C 語言的重要功能,例如字符串、數組、高階函數和多態數據結構。在此過程中,您將了解指標如何優化程序,使其運行速度更快或使用的內存更少。

書中有大量的代碼示例,可以模仿和適應您的特定需求。

您將學到什麼:
- 在 C 編程中有效地使用指標
- 學習如何有效地管理動態內存
- 使用字符串和數組進行編程
- 創建遞歸數據結構
- 實現函數指標

適合對象:
中級到高級程式設計師、軟體開發人員、高級學生或研究人員。需要有 C 編程的先備知識。

作者簡介

Thomas Mailund is an associate professor in bioinformatics at Aarhus University, Denmark. He has a background in math and computer science, including experience programming and teaching in the C and R programming languages. For the last decade, his main focus has been on genetics and evolutionary studies, particularly comparative genomics, speciation, and gene flow between emerging species.

作者簡介(中文翻譯)

Thomas Mailund是丹麥奧胡斯大學生物信息學的副教授。他具有數學和計算機科學的背景,包括在C和R編程語言方面的編程和教學經驗。在過去的十年中,他的主要研究方向是遺傳學和進化研究,尤其是比較基因組學、物種形成和新興物種之間的基因流動。