⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 algorithm.h

📁 用C++编写的产生文章的程序
💻 H
字号:
#pragma once
#ifndef Algorithm_H
#define Algorithm_H
#include<string>
#include<iostream>
#include<deque>
#include<map>
#include<vector>
#include "share.h"
using std::string;
using std::ostream;
using std::istream;
using std::map ;
using std::deque ;
using std::vector ;

class algorithm
{
private:
   
    map<Prefix,vector<string> > table;  //状态表
public:
	algorithm()
	{
	}
	~algorithm()
	{
	}
	void build( Prefix &prefix,istream &in);
	void add(Prefix &prefix,const string &s);
	void generate(int nwords,ostream &out);


};
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -