main.cpp
来自「字符频度统计」· C++ 代码 · 共 18 行
CPP
18 行
#include <iostream.h>
#include <fstream.h>
#include <string.h>
#include "Frequencer.h"
#include "HashTable.h"
void main()
{
char filename[80];
cout<<"please enter file name:";
cin.getline(filename,80);
HashTable<CharNode> htable(12,hashfunc);
Frequencer f;
f.OpenFile(filename);
f.Analyze(htable);
cout<<htable<<endl;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?