📄 停用词.cpp
字号:
#include <iostream>
#include <fstream>
#include <string>
int main()
{
{
ifstream stopWordFile("stop.txt");
if(!stopWordFile.is_open())
return false;
// assert(stopWordFile);
char stopword[10];
stopWordFile.getline(stopword, 10);
while(strlen(stopword) != 0)
{
stop.push_back(stopword);
stopWordFile.getline(stopword, 10);
}
return true;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -