Procedural C++ for Science and Engineering
暫譯: 科學與工程的程序式 C++

Dr. Okon H Akpan

  • 出版商: CreateSpace Independ
  • 出版日期: 2014-06-27
  • 售價: $2,280
  • 貴賓價: 9.5$2,166
  • 語言: 英文
  • 頁數: 800
  • 裝訂: Paperback
  • ISBN: 1495982696
  • ISBN-13: 9781495982699
  • 相關分類: C++ 程式語言
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

“Procedural C++ for Science and Engineering” is an introductory programming text on the procedural C++. The need for another book on C++, when the market is already flooded with books on this great programming language, is due to a strong desire for a programming text which emphasizes to a greater extent -- than most similar books do -- some of the capabilities of the language while serving as a step-by-step instructional guide for students and for self-taught programmers. The book lays a solid foundation for disciplined programming design and implementation not only in C++ but also in other programming languages. For years, I have applied the same learning approach and the programming methods that are featured in this book in teaching programming in languages that include C, Python, Perl, PHP, and Java. This book encourages and embraces programming-instruction methodology that embodies the following features: a) An early introduction of the relationship that exists between the program components and the hardware subsystems of the computer system on which the program runs and code designs which reflect that relationship. b) Availability in the language of all numeric data formats -- binary, octal, decimal, and hexadecimal – and importance of choice of appropriate formats for given applications. c) Utilization of bit-wise operations including those which require extractions of bit-fields (e.g. bit flags, and bit masks) required in certain applications. d) Choice of bit-wise operations for some arithmetic operations for certain scientific and mathematical applications; for example, the fast left-shift bit-wise operation as opposed to the slow conventional multiplication or the speedy and more efficient right-shift bit-wise operation instead of the slow conventional division. e) Design of program modules directly from algorithm steps each of which capable of performing one and only one task, and presenting some of those modules as functions in the final C++ programs. (Of course, the result being that each function can/should perform one and only one operation.) f) Importance of choice of identifier names which are always descriptive; for example, nouns for value-returning functions and verbs for non-value-returning (or void) functions. g) Demonstration of covered-programming concepts and the syntactic features of C++ with full programming examples – as opposed to program fragments – the examples ready to be compiled and run.

商品描述(中文翻譯)

《科學與工程的程序式 C++》是一本關於程序式 C++ 的入門程式設計教材。儘管市場上已經有許多關於這種優秀程式語言的書籍,但仍然需要另一本 C++ 書籍,因為有強烈的需求希望能有一本更強調語言某些能力的程式設計教材,並且作為學生和自學程式設計師的逐步指導手冊。本書為 C++ 及其他程式語言的有序程式設計和實作奠定了堅實的基礎。多年來,我在教授包括 C、Python、Perl、PHP 和 Java 等語言的程式設計時,應用了本書中所介紹的相同學習方法和程式設計方法。本書鼓勵並採納以下特徵的程式設計教學方法論:

a) 早期介紹程式元件與運行程式的計算機系統硬體子系統之間的關係,以及反映該關係的程式碼設計。

b) 提供所有數值數據格式的語言支援——二進位、八進位、十進位和十六進位——以及針對特定應用選擇適當格式的重要性。

c) 利用位元運算,包括在某些應用中需要提取位元欄位(例如位元標誌和位元遮罩)的運算。

d) 在某些科學和數學應用中,選擇位元運算來進行某些算術運算;例如,快速的左移位元運算取代傳統的慢速乘法,或快速且更有效的右移位元運算取代傳統的慢速除法。

e) 直接從算法步驟設計程式模組,每個模組能夠執行一個且僅一個任務,並將其中一些模組作為最終 C++ 程式中的函數呈現。(當然,結果是每個函數可以/應該執行一個且僅一個操作。)

f) 選擇描述性標識符名稱的重要性;例如,對於返回值的函數使用名詞,對於不返回值(或空)的函數使用動詞。

g) 以完整的程式範例展示所涵蓋的程式設計概念和 C++ 的語法特徵——而不是程式片段——這些範例可以編譯並運行。