Beginning C++ Programming

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++ 專案的結構,以便您知道如何開始閱讀一個專案。接下來,您將能夠識別語言中的主要結構,如函數和類,並且能夠自信地識別代碼中的執行流程。然後,您將了解標準庫的功能,並能夠判斷您是否需要自己編寫一個程式,還是使用標準庫中的現有程式。

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