
Nguồn ngoài
Introduction to Programming with C++
As part of OER project funded by Fresno City College OER Award Program, this book was created based on CSCI 40 course curriculum at Fresno City College, which was aligned to CID course descriptions of Comp 112 and Comp 122. The book can be used for the first semester of computer programming courses. It uses C++ as a vehicle to convey the basis concepts in computer programming. It focuses on programming logic, structure, and methodology. It covers the programming fundamentals such as variables an
- Tác giả
- Jin He
- Nhà xuất bản
- Fresno City College
- Nguồn
- LibreTexts
- Giấy phép
- CC BY-NC-SA
- Ngôn ngữ
- EN
- Danh mục
- Công nghệ thông tin
Mục lục· 65 mục
- 01: Chapter 1 Introduction to Computer Programming
- 1.01: Introduction to Computer Science
- 1.02: What Is a Computer and What Is a Computer Program
- 1.03: Compilers and the Apps We Need for Learning C Programming
- 1.04: Download and Install App for C Programming (PC Users)
- 1.05: Download and Install App for C Programming (Mac Users)
- 1.06: Save a Copy of Source File
- 1.07: Understanding the Code of the First C Program
- 1.08: Case Study- Using setw() to Format the Output
- 02: Chapter 2 Elementary Programming
- 2.01: Constants and Variables
- 2.02: Console Input and Output
- 2.03: Assignment Statements
- 2.04: Case Study- Sum of Numbers
- 2.05: Numerical Operators
- 2.06: Coding a Mathematical Formula
- 2.07: C Examples
- 2.08: Case Study- Find the Sum of Numbers
- 03: Chapter 3 Selection Statements
- 3.01: Relational Operators and Relational Statements
- 3.02: Selection Statement- if-statement
- 3.03: Case Study- Find the Largest Number
- 3.04: Case Study- Sorting Numbers
- 3.05: Selection Statement- if-else Statement
- 3.06: Radom Number and Logical Operators
- 3.07: Conditional Expression
- 3.08: Case Study- Practice Multiplication
- 3.09: Switch Statements and Menu Driven Programs
- 04: Chapter 4 Characters and Strings
- 4.01: Character Data Type and ACII Code
- 4.02: String Data Type
- 05: Chapter 5 Looping Statements
- 5.01: The Structure and The Logic of a while Loop Statement
- 5.02: Case Study- Find The Largest Number
- 5.03: Case Study- Find The Sum
- 5.04: Sentinel Control Loop and do-while Loop Statement
- 5.05: for Loop Statement
- 5.06: Nested Loop Statements
- 5.07: Case Study- Display a Rectangle
- 06: Chapter 6 C Functions
- 6.01: Introduction to C Functions
- 6.02: More Examples and Further Discussion about Functions
- 6.03: Global Local and Static Variable
- 6.04: Passing by Value vs Passing by Reference
- 6.05: Function Overloading
- 07: Chapter 7 Arrays
- 7.01: Introduction to Arrays
- 7.02: Working with the Data Stored in Arrays
- 7.03: Case Study- Sorting Data Stored in an Array
- 7.04: User-Defined functions with an Array as its Input
- 7.05: C-String and String Variables
- 08: Introduction to Object Oriented Programming
- 8.01: Introduction to Object Oriented Programming (PC Users)
- 8.02: Introduction to Object Oriented Programming (Mac Users)
- 8.03: Class Contructors
- 8.04: Case Study- C Class- StudentRecord
- 8.05: Case Study- C Class- Bag
- 09: Pointers
- 9.01: What is a Pointer
- 9.02: Pointer and Dynamic Memory Allocation
- 9.03: Case Study- Array Copy
- 10: Recursive Functions
- 10.01: Understand Recursive Functions
- 10.02: Recursive Functions v.s. Loop Statements
- 10.03: Using Array as Input of a Recursive Function