跳转至内容
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
练习:字符串和文件
学习目标
[
编辑
|
编辑源代码
]
了解关键术语和定义。
给定示例伪代码、流程图和源代码,创建一个程序来处理字符串以解决给定问题。
给定示例伪代码、流程图和源代码,创建一个程序来处理文本文件以解决给定问题。
了解如何在文件中替换、添加或删除字符串。
能够阅读和理解给定的文件和字符串程序。
能够从任何给定格式组织文件。
了解如何在文件和字符串程序中使用外部函数。
了解如何删除、读取或创建文件。
← 练习:数组
编程基础
字符串 →
类别
:
书籍:编程基础
华夏公益教科书