?? copy.cpp
字號:
// Created:10-10-98
// By Jeff Connelly
// File copying.
#include "stdafx.h"
#define EXPORTING
#include "comprlib.h"
#include "copy.h"
// Note: Byte-by-byte copying is slow. If you were writing to a file, try:
// long len = filelength(fileno(source_file));
// char* buf = xmalloc(len);
// fread (buf, 1, len, source_file)
// fwrite (buf, 1, len, dest_file);
// That would eliminate repeated function calls and ultimatly be faster.
void EXPORT copy()
{
while (!end_of_data())
write_byte(read_byte());
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -