Obfuscated C and Other Mysteries

Overview

Writing functional, understandable programming code just got easier! Written by well-known author and columnist Don Libes, this insightful and at times humorous work takes you through good and bad codes, and helps you understand the differences between them. Through real-world examples, you're shown how to solve a variety of difficult problems you're likely to face. Hard-to-find essays have been reprinted and included. Chapters cover speeding up strcpy, threads, life with static buffers, implementing software ...
See more details below
Available through our Marketplace sellers.
Other sellers (Paperback)
  • All (11) from $4.50   
  • New (1) from $159.50   
  • Used (10) from $4.50   
Close
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any BN.com coupons and promotions
$159.50
Seller since 2014

Feedback rating:

(265)

Condition:

New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

New
Brand New Item.

Ships from: Chatham, NJ

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
Page 1 of 1
Showing All
Close
Sort by
Sending request ...

Overview

Writing functional, understandable programming code just got easier! Written by well-known author and columnist Don Libes, this insightful and at times humorous work takes you through good and bad codes, and helps you understand the differences between them. Through real-world examples, you're shown how to solve a variety of difficult problems you're likely to face. Hard-to-find essays have been reprinted and included. Chapters cover speeding up strcpy, threads, life with static buffers, implementing software timers, keeping track of malloc, variable-sized arrays, tcl (tool command language), and more.

Written in the friendly, characteristically witty style which has earned Libes a large following among readers, this book is a collection of classic articles previously only found in magazines. Each essay introduces practical C programming techniques for use in real-world programs. This collection also includes original material developed specifically for this book.

Read More Show Less

Product Details

  • ISBN-13: 9780471578055
  • Publisher: Wiley, John & Sons, Incorporated
  • Publication date: 10/16/1992
  • Series: Wiley Professional Computing
  • Edition number: 1
  • Pages: 432
  • Product dimensions: 7.55 (w) x 9.17 (h) x 1.02 (d)

Table of Contents

Preface - The Good, the Bad, and the Ugly
1 Implementing Variably-Sized Arrays 1
2 Writing a Translation Program 5
3 The 1984 Obfuscated C Code Contest 13
4 Implementing Sets with Bit Operations 25
5 Context-Independent Macros 31
6 Parsing Command-line Arguments - Getopt 35
7 Not Cast in Concrete 41
8 The 1985 Obfuscated C Code Contest 47
9 Garbage In 63
10 Keeping Track of Malloc 71
11 Linked Lists of Anything 79
12 The 1986 Obfuscated C Code Contest 87
13 For a Good Time, Call... 105
14 Byte Ordering 117
15 Double Trouble 125
16 Varargs - Varying Arguments 131
17 The 1987 Obfuscated C Code Contest 137
18 Win a Gold Medal in the Longjmp 151
19 Dump from the Hip 157
20 Pointers to Functions 163
21 Rmifdef 169
22 x = x++; 177
23 The 1988 Obfuscated C Code Contest 183
24 Speeding Up StrcVy 205
25 Register 213
26 Portability 219
27 Threads 225
28 The 1989 Obfuscated C Code Contest 233
29 Faster than Malloc 261
30 Updating Environment Variables 267
31 Life with Static Buffers 275
32 Using Yacc or Lex Twice in One Program 285
33 Tcl-Tool Command Language 291
34 The 1990 Obfuscated C Code Contest 297
35 Implementing Software Timers 335
36 Expect 343
37 Implementing a Trap Command 351
38 A Heap of Errors 361
39 The 1991 Obfuscated C Code Contest 369
40 C, Me, and a Few Good Books 395
Appendix - Addresses 403
Index 405
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)