Beginning C++ Programming
暫譯: C++ 程式設計入門

Richard Grimes

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

商品描述

Key Features

  • This book gets you started with the exciting world of C++ programming
  • It will enable you to write C++ code that uses the standard library, has a level of object orientation, and uses memory in a safe and effective way
  • It forms the basis of programming and covers concepts such as data structures and the core programming language

Book Description

C++ has come a long way and is now adopted in several contexts. Its key strengths are its software infrastructure and resource-constrained applications, including desktop applications, servers, and performance-critical applications, not to forget its importance in game programming. Despite its strengths in these areas, beginners usually tend to shy away from learning the language because of its steep learning curve.

The main mission of this book is to make you familiar and comfortable with C++. You will finish the book not only being able to write your own code, but more importantly, you will be able to read other projects. It is only by being able to read others' code that you will progress from a beginner to an advanced programmer. This book is the first step in that progression.

The first task is to familiarize you with the structure of C++ projects so you will know how to start reading a project. Next, you will be able to identify the main structures in the language, functions, and classes, and feel confident being able to identify the execution flow through the code. You will then become aware of the facilities of the standard library and be able to determine whether you need to write a routine yourself, or use an existing routine in the standard library.

Throughout the book, there is a big emphasis on memory and pointers. You will understand memory usage, allocation, and

商品描述(中文翻譯)

主要特點


  • 本書將帶您進入令人興奮的 C++ 程式設計世界

  • 它將使您能夠編寫使用標準庫的 C++ 代碼,具備物件導向的特性,並以安全有效的方式使用記憶體

  • 它構成了程式設計的基礎,涵蓋了資料結構和核心程式語言等概念

書籍描述

C++ 已經走過了漫長的歷程,現在在多個環境中被廣泛採用。它的主要優勢在於其軟體基礎架構和資源受限的應用,包括桌面應用程式、伺服器和性能關鍵的應用程式,更不用說它在遊戲程式設計中的重要性。儘管在這些領域具有優勢,初學者通常因為其陡峭的學習曲線而不願學習這門語言。

本書的主要任務是讓您熟悉並對 C++ 感到舒適。您將在完成本書後,不僅能夠編寫自己的代碼,更重要的是,您將能夠閱讀其他專案的代碼。只有能夠閱讀他人的代碼,您才能從初學者進步為高級程式設計師。本書是這一進步的第一步。

第一個任務是讓您熟悉 C++ 專案的結構,這樣您就知道如何開始閱讀一個專案。接下來,您將能夠識別語言中的主要結構、函數和類別,並對識別代碼的執行流程感到自信。然後,您將意識到標準庫的功能,並能夠判斷您是否需要自己編寫例程,或使用標準庫中現有的例程。

在整本書中,對記憶體和指標有很大的強調。您將了解記憶體的使用、分配,和