Computer Programming in C for Beginners
暫譯: 初學者的C語言程式設計

Gonzalez, Avelino J.

  • 出版商: Springer
  • 出版日期: 2021-11-02
  • 售價: $2,640
  • 貴賓價: 9.5$2,508
  • 語言: 英文
  • 頁數: 204
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 3030507521
  • ISBN-13: 9783030507527
  • 相關分類: C 程式語言R 語言
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Chapter 1: Installing and Using Code:: Blocks; creating a source file, compiling and executing it

1.1 Downloading and installing Code:: Blocks

1.2 Compiling and executing your first C program

1.3 Writing your first program

Chapter 2: Variables, memory and operators

1.1 Variables - a brief Introduction

1.2 Declaring simple variables

1.2.1 Declaring and initializing integer variables

1.2.2 Setting values of variables

1.2.2.1 Integer variables

1.2.2.2 Floating point variables

1.2.2.3 Double Precision floating point variables

1.2.2.4 Character variables

1.2.3 Mixing up data types

1.3 Working with variables and operators

1.3.1 Addition, subtraction and multiplication

1.3.2 Division

1.3.2.1 Integer division

1.3.2.2 Mixing up integer and floating point division

1.3.3 Increment/decrement operators

1.4 Constants

1.5 Summary

Chapter 3: Selection Structures

3.1 Selection Structures - a short intro

3.2 Single-selection structures

3.3 Double-selection structures

3.4 Multiple-selection structures

3.5 Exercise for the student

3.6 The switch structure

3.7 Summary

Chapter 4: Repetition Structures

4.1 Repetition Structures - a short intro

4.2 for Loops

4.3 The while loop

4.4 The do-while loop

4.5 Summary

Chapter 5: Defining and Calling Programmer-defined Functions

5.1 Defining and calling functions - a short intro

5.2 Defining functions

5.3 Calling functions

5.4 Returning values

5.5 Passing values of variables to functions

5.6 Summary

Chapter 6: Pointer variables

6.1 Pointers - a short intro

6.2 Declaring and initializing pointers

6.3 Input/output with pointers

6.4 Calling functions by reference with pointers

6.5 Pointer arithmetic

6.6 Double pointers

6.7 Summary

Chapter 7: Arrays

7.1 Arrays - a short intro

7.2 Declaring and initializing arrays

7.3 Arrays, pointers and pointer math

7.4 Arrays and loops

7.5 Passing arrays to functions

7.6 Summary

Chapter 8: Structures

8.1 structures - a short intro

8.2 Instantiating structure variables

8.2.1 Instantiating within the body of the struct definition

8.2.2 Instantiating structure variables using the structure tag

8.2.3 Defining new data types with typedef

8.3 Member access operators: the Dot and the Arrow operators

8.4 Passing structures to functions

8.5 Structures, arrays and loops

8.6 Summary

Chapter 9: Strings, Advanced I/O

9.1 Strings - a deeper treatment

9.1.1 Initializing strings

9.1.2 Setting values to string variables

9.1.3 The length of a string

9.1.4

商品描述(中文翻譯)

第 1 章: 安裝與使用 Code::Blocks;創建源文件、編譯並執行它
1.1 下載與安裝 Code::Blocks
1.2 編譯並執行你的第一個 C 程式
1.3 撰寫你的第一個程式

第 2 章: 變數、記憶體與運算子
1.1 變數 - 簡介
1.2 宣告簡單變數
1.2.1 宣告與初始化整數變數
1.2.2 設定變數的值
1.2.2.1 整數變數
1.2.2.2 浮點變數
1.2.2.3 雙精度浮點變數
1.2.2.4 字元變數
1.2.3 混合數據類型

1.3 使用變數與運算子
1.3.1 加法、減法與乘法
1.3.2 除法
1.3.2.1 整數除法
1.3.2.2 混合整數與浮點除法
1.3.3 增量/減量運算子

1.4 常數
1.5 總結

第 3 章: 選擇結構
3.1 選擇結構 - 簡介
3.2 單選結構
3.3 雙選結構
3.4 多選結構
3.5 學生練習
3.6 switch 結構
3.7 總結

第 4 章: 重複結構
4.1 重複結構 - 簡介
4.2 for 迴圈
4.3 while 迴圈
4.4 do-while 迴圈
4.5 總結

第 5 章: 定義與呼叫程式設計師定義的函數
5.1 定義與呼叫函數 - 簡介
5.2 定義函數
5.3 呼叫函數
5.4 返回值
5.5 將變數的值傳遞給函數
5.6 總結

第 6 章: 指標變數
6.1 指標 - 簡介
6.2 宣告與初始化指標
6.3 使用指標進行輸入/輸出
6.4 通過指標以引用方式呼叫函數
6.5 指標運算
6.6 雙指標
6.7 總結

第 7 章: 陣列
7.1 陣列 - 簡介
7.2 宣告與初始化陣列
7.3 陣列、指標與指標運算
7.4 陣列與迴圈
7.5 將陣列傳遞給函數
7.6 總結

第 8 章: 結構
8.1 結構 - 簡介
8.2 實例化結構變數
8.2.1 在結構定義的主體內實例化
8.2.2 使用結構標籤實例化結構變數
8.2.3 使用 typedef 定義新數據類型
8.3 成員訪問運算子:點運算子與箭頭運算子
8.4 將結構傳遞給函數
8.5 結構、陣列與迴圈
8.6 總結

第 9 章: 字串、高級 I/O
9.1 字串 - 更深入的探討
9.1.1 初始化字串
9.1.2 設定字串變數的值
9.1.3 字串的長度