如果我进入命令行C:myprogram myfile.txt
如何在程序中使用myfile.我是否必须扫描它或是否有任意方式访问它.
我的问题是如何在我的程序中使用myfile.txt.
int main(){ /* So in this area how do I access the myfile.txt to then be able to read from it./*
c arguments file command-line-arguments
arguments ×1
c ×1
command-line-arguments ×1
file ×1