跳轉至內容
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年11月13日
進行。 有
模板/檔案更改
等待審查。
概述
[
編輯
|
編輯原始碼
]
本章介紹字串和檔案處理。
章節大綱
[
編輯
|
編輯原始碼
]
字串
字串函式
字串格式化
檔案輸入和輸出
錯誤處理
從文字檔案載入陣列
程式碼示例
C++
C#
Java
JavaScript
Python
Swift
練習:字串和檔案
學習目標
[
編輯
|
編輯原始碼
]
瞭解關鍵術語和定義。
給定示例虛擬碼、流程圖和原始碼,建立一個程式來處理字串以解決給定問題。
給定示例虛擬碼、流程圖和原始碼,建立一個程式來處理文字檔案以解決給定問題。
瞭解如何在檔案中替換、新增或刪除字串。
能夠閱讀和理解給定的檔案和字串程式。
能夠從任何給定格式組織檔案。
瞭解如何在檔案和字串程式中使用外部函式。
瞭解如何刪除、讀取或建立檔案。
← 練習:陣列
程式設計基礎
字串 →
類別
:
書籍:程式設計基礎
華夏公益教科書