Rating:

(13 reviews)
Author: Richard Reese
ISBN : B00CLX8PL0
New from $13.49
Format: PDF, EPUB
Free download Free Understanding and Using C Pointers for everyone book with Mediafire Link Download Link
Improve your programming through a solid understanding of C pointers and memory management. With this practical book, you’ll learn how pointers provide the mechanism to dynamically manipulate memory, enhance support for data structures, and enable access to hardware. Author Richard Reese shows you how to use pointers with arrays, strings, structures, and functions, using memory models throughout the book.
Difficult to master, pointers provide C with much flexibility and power—yet few resources are dedicated to this data type. This comprehensive book has the information you need, whether you’re a beginner or an experienced C or C++ programmer or developer.
- Get an introduction to pointers, including the declaration of different pointer types
- Learn about dynamic memory allocation, de-allocation, and alternative memory management techniques
- Use techniques for passing or returning data to and from functions
- Understand the fundamental aspects of arrays as they relate to pointers
- Explore the basics of strings and how pointers are used to support them
- Examine why pointers can be the source of security problems, such as buffer overflow
- Learn several pointer techniques, such as the use of opaque pointers, bounded pointers and, the restrict keyword
Download latest books on mediafire and other links compilation Free Understanding and Using C Pointers [Kindle Edition]
- File Size: 3038 KB
- Print Length: 226 pages
- Simultaneous Device Usage: Unlimited
- Publisher: O'Reilly Media; 1 edition (May 1, 2013)
- Sold by: Amazon Digital Services, Inc.
- Language: English
- ASIN: B00CLX8PL0
- Text-to-Speech: Enabled
X-Ray:
- Lending: Not Enabled
- Amazon Best Sellers Rank: #38,054 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
- #11
in Kindle Store > Kindle eBooks > Computers & Technology > Programming > C & C++ - #18
in Books > Computers & Technology > Programming > Languages & Tools > C
- #11
in Kindle Store > Kindle eBooks > Computers & Technology > Programming > C & C++ - #18
in Books > Computers & Technology > Programming > Languages & Tools > C
Free Understanding and Using C Pointers
This book is a useful overview of what pointers are, how they work, and how they should be managed for security and effectiveness. It is great to have a recent book devoted entirely to pointers. Many books on C either scant the topic, or deal with woefully out of date C standards. Reese takes into account the current C11 standard, which alone makes it very welcome.
The book, however, has several flaws. A lot of the material deals with nonstandard libraries. For example, the section on pointers and threads mentions C11 support for threads, but then discusses the POSIX standard rather than going into any details about the C standard. I found this and other references to extensions outside the C standard annoying; a book about C should focus on portable code.
Also, the book is not well organized. Throughout the book there are "forward references" saying that the topic being mentioned will be discussed elsewhere later. This leads to a lot of back-and-forth flipping of pages. For example, pointer arithmetic is explained in Chapter 1, but is used only in Chapter 4; a particular data structure is minimally introduced on page 133, then actually used sixty pages later. The way information is presented and explained could have been more systematic.
The biggest flaw is that some of the code is nonstandard and frankly, quite ugly. For instance:
(1) a function on page 89 uses pointers to memory that has already been deallocated, which is undefined behavior. The same function has redundant variables "length" and "currentPosition" -- one of the two would have been sufficient to accomplish the task.
(2) Elsewhere, Reese defines a linked list header structure with pointers to the head node, the tail node, and the current node.
Download Link 1