Learn C the Hard Way: Practical Exercises on the Computational Subjects You Keep Avoiding (Like C) (Paperback)

Zed A. Shaw

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

商品描述

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 succeed–just 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 , you’ll learn C by working through 52 brilliantly crafted exercises. Watch Zed Shaw’s teaching video and read the exercise. Type his code precisely. (No copying and pasting!) Fix your mistakes. Watch the programs run. As you do, you’ll 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, you’ll 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 you’ll 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

 

It’ll Be Hard at First. But Soon, You’ll Just Get It–And That Will Feel Great!

This tutorial will reward you for every minute you put into it. Soon, you’ll know one of the world’s most powerful programming languages. You’ll 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. 

 

商品描述(中文翻譯)

你將學習 C 語言!

Zed Shaw 為那些渴望在任何程式語言中提升技能的初學者 C 程式設計師打造了完美的課程。跟著這個課程,你將學習到早期和初級程式設計師所需的許多技能,就像 Zed 已經教授給數以千計的程式設計師一樣!你需要帶來的是紀律、承諾、毅力和對任何程式語言的經驗;作者提供其餘一切。

 

以困難的方式學習 C 語言 讓你通過 52 個精心設計的練習來學習 C 語言。觀看 Zed Shaw 的教學視頻並閱讀練習內容。精確地輸入他的程式碼(不要複製和貼上!)。修正你的錯誤。觀察程式運行。在這個過程中,你將學習到好的、現代化的 C 語言程式應該是什麼樣子;如何更有效地思考程式碼;以及如何更高效地找到和修正錯誤。最重要的是,你將掌握嚴謹的防禦性程式設計技巧,這樣你就可以使用任何程式語言來創建能夠自我保護免受惡意活動和缺陷的軟體。

 

通過實際項目,你將應用所學來建立對自己新技能的信心。Shaw 教授了開始撰寫優秀 C 語言軟體所需的關鍵技能,包括

 

  • 建立 C 環境
  • 基本語法和慣用法
  • 編譯、製作檔案和連結器
  • 運算子、變數和資料類型
  • 程式控制
  • 陣列和字串
  • 函式、指標和結構
  • 記憶體配置
  • 輸入/輸出和檔案
  • 函式庫
  • 資料結構,包括連結串列、排序和搜尋
  • 堆疊和佇列
  • 除錯、防禦性程式設計和自動化測試
  • 修復堆疊溢位、非法記憶體存取等問題
  • 破解和駭客自己的 C 程式碼

 

起初會很困難。但很快,你就會掌握它,並感到非常棒!

這個教程將為你投入其中的每一分鐘帶來回報。很快,你將掌握世界上最強大的程式語言之一。你將成為一名 C 程式設計師。

 

也別忘了觀看 Zed 的視頻!附帶的 DVD 包含超過 5 小時的熱情洋溢、有力的教學:一個完整的 C 語言視頻課程!如果你購買了數位版,請務必閱讀電子書末尾的「附帶內容檔案在哪裡」,以了解如何訪問視頻。