跳轉到內容
Main menu
Main menu
move to sidebar
hide
Navigation
Main Page
Help
Browse
Cookbook
Wikijunior
Featured books
Recent changes
Random book
Using Wikibooks
Community
Reading room forum
Community portal
Bulletin Board
Help out!
Policies and guidelines
Contact us
Search
Search
Donations
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Discussion for this IP address
目錄
移動到側邊欄
隱藏
開始
1
概述
2
章節大綱
3
學習目標
切換目錄
程式設計基礎/函式
Add languages
Add links
Book
Discussion
English
Read
Latest draft
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Latest draft
Edit
Edit source
View history
General
What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Sister projects
Wikipedia
Wikiversity
Wiktionary
Wikiquote
Wikisource
Wikinews
Wikivoyage
Commons
Wikidata
MediaWiki
Meta-Wiki
Print/export
Create a collection
Download as PDF
Printable version
In other projects
外觀
移動到側邊欄
隱藏
來自華夏公益教科書,開放的書籍,開放的世界
<
程式設計基礎
最新稽核版本於
2019年10月5日
檢查
。有
模板/檔案更改
等待稽核。
概述
[
編輯
|
編輯原始碼
]
本章介紹模組化程式設計、函式、引數、返回值和作用域。
章節大綱
[
編輯
|
編輯原始碼
]
模組化程式設計
層次結構或結構圖
函式示例
引數和實參
按值呼叫與按引用呼叫
返回值語句
void 資料型別
作用域
程式設計風格
標準庫
程式碼示例
C++
C#
Java
JavaScript
Python
Swift
練習:函式
學習目標
[
編輯
|
編輯原始碼
]
理解關鍵術語和定義。
給定示例虛擬碼、流程圖和原始碼,建立一個程式,使用函式、引數和返回值來解決給定問題。
← 練習:資料和運算子
程式設計基礎
模組化程式設計 →
類別
:
書籍:程式設計基礎
華夏公益教科書