C Brain Teasers: Exercise Your Mind
暫譯: C 認知挑戰:鍛鍊你的思維

Gookin, Dan

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2024-04-30
  • 售價: $1,360
  • 貴賓價: 9.5$1,292
  • 語言: 英文
  • 頁數: 120
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 9798888650486
  • ISBN-13: 9798888650486
  • 相關分類: C 程式語言
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

You thought you knew C, but can you solve 25 puzzles in this popular programming language? Noted C programmer and author Dan Gookin provides a series of pointed questions, puzzles, and problems to keep your C programming skills sharp. Each one will provide insight into various aspects of handling strings, numeric operations, and other activities, giving you techniques to take the best advantage of all C has to offer. Challenge yourself, and get to know some powerful tricks and details for writing better, faster, more accurate C code.

Most C programming books present the information sequentially, teaching you the right way to code and only rarely describing what could go wrong. In this book, the goal is to find out what did go wrong - or what potentially goes right. Explore interesting and unusual programming concepts and approaches with small, to-the-point, programs and exercises. Hone your C programming skills and expand your knowledge.

By working through the brain teasers in this book, you'll fill in gaps in your knowledge and work with advanced concepts such as pointers and recursion. All of the teaser topics were selected to give you food for thought, explaining the technical details behind each puzzle. Look at a code sample and try to guess what output it will give. Code it yourself and see the result. Is it what you expected? Then read the author's lighthearted explanation of exactly why the language does what it does, and how you can take advantage of it. You'll come away with a much better understanding of how the language works, and how to use it for efficient and effective programming.

What You Need:

You need to know the basics of coding in C, and have an environment for compiling and executing your C code. Any Windows, MacOS, or Linux system with a C compiler does the job. Use the terminal window for traditional C programming. Or obtain an Integrated Development Enviornment (IDE) such as Visual Studio Code, which contains all the software tools you need: Editor, Compiler, and Output.

商品描述(中文翻譯)

你以為你了解 C 語言,但你能在這個受歡迎的程式語言中解決 25 道謎題嗎?知名的 C 程式設計師和作者 Dan Gookin 提供了一系列尖銳的問題、謎題和挑戰,以保持你的 C 程式設計技能鋒利。每一個謎題都將提供有關處理字串、數值運算和其他活動的各個方面的見解,讓你掌握充分利用 C 語言所提供的各種技術。挑戰自己,了解一些強大的技巧和細節,以編寫更好、更快、更準確的 C 代碼。

大多數 C 程式設計書籍按順序呈現資訊,教你正確的編碼方式,並且很少描述可能出錯的情況。在這本書中,目標是找出實際上發生了什麼錯誤——或是潛在的正確做法。透過小而精確的程式和練習,探索有趣且不尋常的程式設計概念和方法。磨練你的 C 程式設計技能,擴展你的知識。

通過解決這本書中的腦筋急轉彎,你將填補知識的空白,並接觸到指標和遞迴等進階概念。所有的謎題主題都是精心挑選的,旨在引發你的思考,解釋每個謎題背後的技術細節。查看一個代碼範例,試著猜測它會產生什麼輸出。自己編寫代碼並查看結果。這是你所預期的嗎?然後閱讀作者輕鬆幽默的解釋,了解語言為什麼這樣運作,以及你如何利用它。你將對語言的運作方式有更深入的理解,並學會如何進行高效且有效的程式設計。

你需要的:
你需要了解 C 語言的基本編碼知識,並擁有一個編譯和執行 C 代碼的環境。任何具有 C 編譯器的 Windows、MacOS 或 Linux 系統都可以完成這項工作。使用終端窗口進行傳統的 C 程式設計。或者獲取一個集成開發環境(IDE),例如 Visual Studio Code,該環境包含你所需的所有軟體工具:編輯器、編譯器和輸出。

最後瀏覽商品 (20)