Skip to content

现在有一个文件操作,比如说读取data.txt中字母A的数量,并把A的数量输出到屏幕 #117

Closed Answered by criyle
QuincyWuzefeng asked this question in Q&A
Discussion options

You must be logged in to vote

files 参数的下标是有意义的,0,1,2分别是 stdin stdout 和 stderr ,是linux标准。和 name 没有关系。

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@criyle
Comment options

Answer selected by QuincyWuzefeng
@QuincyWuzefeng
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants