?? textcopy.c
字號(hào):
#include <stdio.h>
void main(int argc, char **argv)
{
FILE *input, *output;
char string[256];
if ((input = fopen(argv[1], "r")) == NULL)
printf("Error opening %s\n", argv[1]);
else if ((output = fopen(argv[2], "w")) == NULL)
{
printf("Error opening %s\n", argv[2]);
fclose(input);
}
else
{
while (fgets(string, sizeof(string), input))
fputs(string, output);
fclose(input);
fclose(output);
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -