Skip to content

resautu6/Turing-Machine-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

软件依赖

本框架依赖于cmake进行编译,需安装3.13.0以上版本的cmake方可使用。

使用方法

本框架的使用方法为:

  1. 将所有.h 以及.cpp文件置于/turing-project文件夹下,或者将该框架的CMakeLists.txt复制至你的工程中的相应位置;
  2. 在含有CMakeLists.txt的文件夹下,使用指令cmake -B build
  3. 在含有CMakeLists.txt的文件夹下,使用指令cd ./build; make

测试框架将使用上述方法对工程进行编译。执行完毕后,在工程根目录下应当出现/bin文件夹,其中含有可执行文件turing,测试框架将对该可执行文件进行测试。

重点:提交时,你的工程根目录下应当有一个CMakeLists.txt文件用于指导cmake进行编译,且通过这种方式能够在/bin文件夹下生成可执行文件turing。在满足以上条件的前提下,你可以按实际需求对CMakeLists.txt的内容自行修改。同时,在/programs文件夹下,应有你编写case1.tmcase2.tm作为测试样例。

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published