• Complain

Zed A. Shaw - Learn C the Hard Way. Practical Exercises on the Computational Subjects You Keep Avoiding (Like C)

Here you can read online Zed A. Shaw - Learn C the Hard Way. Practical Exercises on the Computational Subjects You Keep Avoiding (Like C) full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2015, publisher: Addison-Wesley Professional, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

No cover
  • Book:
    Learn C the Hard Way. Practical Exercises on the Computational Subjects You Keep Avoiding (Like C)
  • Author:
  • Publisher:
    Addison-Wesley Professional
  • Genre:
  • Year:
    2015
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

Learn C the Hard Way. Practical Exercises on the Computational Subjects You Keep Avoiding (Like C): summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Learn C the Hard Way. Practical Exercises on the Computational Subjects You Keep Avoiding (Like C)" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

You Will Learn C!

Zed Shaw has crafted the perfect course for the beginning C programmer eager to advance their skills in any language. Follow it and you will learn the many skills early and junior programmers need to succeedjust like the hundreds of thousands of programmers Zed has taught to date! You bring discipline, commitment, persistence, and experience with any programming language; the author supplies everything else.

In Learn C the Hard Way , youll learn C by working through 52 brilliantly crafted exercises. Watch Zed Shaws teaching video and read the exercise. Type his code precisely. (No copying and pasting!) Fix your mistakes. Watch the programs run. As you do, youll learn what good, modern C programs look like; how to think more effectively about code; and how to find and fix mistakes far more efficiently. Most importantly, youll master rigorous defensive programming techniques, so you can use any language to create software that protects itself from malicious activity and defects.

Through practical projects youll apply what you learn to build confidence in your new skills. Shaw teaches the key skills you need to start writing excellent C software, including

  • Setting up a C environment
  • Basic syntax and idioms
  • Compilation, make files, and linkers
  • Operators, variables, and data types
  • Program control
  • Arrays and strings
  • Functions, pointers, and structs
  • Memory allocation
  • I/O and files
  • Libraries
  • Data structures, including linked lists, sort, and search
  • Stacks and queues
  • Debugging, defensive coding, and automated testing
  • Fixing stack overflows, illegal memory access, and more
  • Breaking and hacking your own C code

ItllBe Hard at First. But Soon, Youll Just Get ItAnd That Will Feel Great!

This tutorial will reward you for every minute you put into it. Soon, youll know one of the worlds most powerful programming languages. Youll be a C programmer.

Watch Zed, too! The accompanying DVD contains 5+ hours of passionate, powerful teaching: a complete C video course! If you purchase the digital edition, be sure to read Where Are the Companion Content Files at the end of the eBook to learn how to access the videos.

Zed A. Shaw: author's other books


Who wrote Learn C the Hard Way. Practical Exercises on the Computational Subjects You Keep Avoiding (Like C)? Find out the surname, the name of the author of the book and a list of all author's works by series.

Learn C the Hard Way. Practical Exercises on the Computational Subjects You Keep Avoiding (Like C) — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Learn C the Hard Way. Practical Exercises on the Computational Subjects You Keep Avoiding (Like C)" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
About This eBook

ePUB is an open, industry-standard format for eBooks. However, support of ePUB and its many features varies across reading devices and applications. Use your device or app settings to customize the presentation to your liking. Settings that you can customize often include font, font size, single or double column, landscape or portrait mode, and figures that you can click or tap to enlarge. For additional information about the settings and features on your reading device or app, visit the device manufacturers Web site.

Many titles include programming code or configuration examples. To optimize the presentation of these elements, view the eBook in single-column, landscape mode and adjust the font size to the smallest setting. In addition to presenting code and configurations in the reflowable text format, we have included images of the code that mimic the presentation found in the print book; therefore, where the reflowable format may compromise the presentation of the code listing, you will see a Click here to view code image link. Click the link to view the print-fidelity code image. To return to the previous page viewed, click the Back button on your device or app.

Learn C The Hard Way

Practical Exercises on the Computational Subjects You Keep Avoiding (Like C)

Zed A. Shaw

New York Boston Indianapolis San Francisco Toronto Montreal London Munich Paris - photo 1

New York Boston Indianapolis San Francisco
Toronto Montreal London Munich Paris Madrid
Capetown Sydney Tokyo Singapore Mexico City

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals.

The author and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein.

For information about buying this title in bulk quantities, or for special sales opportunities (which may include electronic versions; custom cover designs; and content particular to your business, training goals, marketing focus, or branding interests), please contact our corporate sales department at or (800) 382-3419.

For government sales inquiries, please contact .

For questions about sales outside the U.S., please contact .

Visit us on the Web: informit.com/aw

Library of Congress Cataloging-in-Publication Data

Shaw, Zed, author.
Learn C the hard way : practical exercises on the computational subjects you keep avoiding (like C) /
Zed A. Shaw.
pages cm
Includes index.
ISBN 978-0-321-88492-3 (pbk. : alk. paper)ISBN 0-321-88492-2 (pbk. : alk. paper)
1. C (Computer program language)Problems, exercises, etc. I. Title.
QA76.73.C15S473 2016
005.133dc23 2015020858

Copyright 2016 Zed A. Shaw

All rights reserved. Printed in the United States of America. This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. To obtain permission to use material from this work, please submit a written request to Pearson Education, Inc., Permissions Department, 200 Old Tappan Road, Old Tappan, New Jersey 07657, or you may fax your request to (201) 236-3290.

ISBN-13: 978-0-321-88492-3
ISBN-10: 0-321-88492-2

Text printed in the United States on recycled paper at RR Donnelley in Crawfordsville, Indiana.
First printing, August 2015

Acknowledgments I would like to thank three kinds of people who helped make - photo 2
Acknowledgments

I would like to thank three kinds of people who helped make this book what it is today: the haters, the helpers, and the painters.

The haters helped make this book stronger and more solid through their inflexibility of mind, irrational hero worship of old C gods, and complete lack of pedagogical expertise. Without their shining example of what not to be, I would have never worked so hard to make this book a complete introduction to becoming a better programmer.

The helpers are Debra Williams Cauley, Vicki Rowland, Elizabeth Ryan, the whole team at Addison-Wesley, and everyone online who sent in fixes and suggestions. Their work producing, fixing, editing, and improving this book has formed it into a more professional and better piece of writing.

The painters, Brian, Arthur, Vesta, and Sarah, helped me find a new way to express myself and to distract me from deadlines that Deb and Vicki clearly set for me but that I kept missing. Without painting and the gift of art these artists gave me, I would have a less meaningful and rich life.

Thank you to all of you for helping me write this book. It may not be perfect, because no book is perfect, but its at least as good as I can possibly make it.

This Book Is Not Really about C

Please dont feel cheated, but this book is not about teaching you C programming. Youll learn to write programs in C, but the most important lesson youll get from this book is rigorous defensive programming. Today, too many programmers simply assume that what they write works, but one day it will fail catastrophically. This is especially true if youre the kind of person who has learned mostly modern languages that solve many problems for you. By reading this book and following my exercises, youll learn how to create software that defends itself from malicious activity and defects.

Im using C for a very specific reason: C is broken. It is full of design choices that made sense in the 1970s but make zero sense now. Everything from its unrestricted, wild use of pointers to its severely broken NUL terminated strings are to blame for nearly all of the security defects that hit C. Its my belief that C is so broken that, while its in wide use, its the most difficult language to write securely. I would fathom that Assembly is actually easier to write securely than C. To be honest, and youll find out that Im very honest, I dont think that anybody should be writing new C code.

If thats the case, then why am I teaching you C? Because I want you to become a better, stronger programmer, and there are two reasons why C is an excellent language to learn if you want to get better. First, Cs lack of nearly every modern safety feature means you have to be more vigilant and more aware of whats going on. If you can write secure, solid C code, you can write secure, solid code in any programming language. The techniques you learn will translate to every language you use from now on. Second, learning C gives you direct access to a mountain of legacy code, and teaches you the base syntax of a large number of descendant languages. Once you learn C, you can more easily learn C++, Java, Objective-C, and JavaScript, and even other languages become easier to learn.

I dont want to scare you away by telling you this, because I plan to make this book incredibly fun, easy, and devious. Ill make it fun to learn C by giving you projects that you might not have done in other programming languages. Ill make this book easy by using my proven pattern of exercises that has you doing C programming and building your skills slowly. Ill make it devious by teaching you how to break and then secure your code so you understand why these issues matter. Youll learn how to cause stack overflows, illegal memory access, and other common flaws that plague C programs so that you know what youre up against.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Learn C the Hard Way. Practical Exercises on the Computational Subjects You Keep Avoiding (Like C)»

Look at similar books to Learn C the Hard Way. Practical Exercises on the Computational Subjects You Keep Avoiding (Like C). We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Learn C the Hard Way. Practical Exercises on the Computational Subjects You Keep Avoiding (Like C)»

Discussion, reviews of the book Learn C the Hard Way. Practical Exercises on the Computational Subjects You Keep Avoiding (Like C) and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.