现在有一个文件操作,比如说读取data.txt中字母A的数量,并把A的数量输出到屏幕 #117
-
代码如下 int main() {
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
[{"status":0,"exitStatus":0,"time":1165614,"memory":221184,"runTime":5385604,"files":{"stderr":"输出结果4\n","stdout":""},"originalStatus":"Accepted"}] |
Beta Was this translation helpful? Give feedback.
files 参数的下标是有意义的,0,1,2分别是 stdin stdout 和 stderr ,是linux标准。和 name 没有关系。