Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #11 from FTS427/Preview
Browse files Browse the repository at this point in the history
U | Preview Update
  • Loading branch information
FTS427 authored Dec 23, 2023
2 parents 527e3c5 + 0a04cd5 commit 2bd1f80
Show file tree
Hide file tree
Showing 9 changed files with 100 additions and 317 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,16 @@ on:
branches: [ "Preview" ]

jobs:
linux-pre:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: build-linux-pre
- name: build-linux
run: make
working-directory: src/
- name: Build Preview MCT-Linux
uses: actions/upload-artifact@v3.1.2
with:
name: MCT-Linux-Pre
path: src/MCT-Linux

windows-pre:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: build-windows-pre
run: g++ MCT-Windows.cpp -o MCT-Windows.exe
working-directory: src/Preview
- name: Build Preview MCT-Windows
uses: actions/upload-artifact@v3.1.2
with:
name: MCT-Windows.exe
path: src/MCT-Windows
name: MCT-Pre
path: src/MCT

35 changes: 11 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div align="center">
<img width="175" src="/other/MCT.png"></img>
<img width="175" src="/assets/MCT.png"></img>
</div>

<h1 align="center">MathCentralTool</h1>
Expand All @@ -24,35 +24,21 @@
[🀄简体中文](/README_zh.md) | 🔠[English](/README.md)

## 📃Introduce
A terminal-based math gadget that doesn't seem to be of any use.
A terminal-based math tool that runs on linux.

This program is free and open source, this source code can be used at will. We allow everyone to use the source code for enrichment, compilation, etc. But we don't take any responsibility for any problems!
This program is free and open source. We allow everyone to use the source code for enrichment, compilation, etc. But we don't take any responsibility for any problems!

note: This program is in the development stage and cannot be used for scientific precision calculations! If anything goes wrong, do so at your own risk!
worn: This program is in developing and cannot be used for scientific precision calculations! If anything goes wrong, do so at your own risk!

## ❔How to use

Look for the version in GitAction that matches your device
Look in the GitAction and choose you need.

Or clone and compile by yourself, but the source code of Linux and Windows is not the same, this needs to be noted!
Or clone and compile by yourself.

📦Linux compilation environment requirements: make, gcc
📦Compilation environment requirements: make, gcc

### 🐧Linux

Stable

Please open the terminal under src/stable and run "make" to compile.

Preview

Please open the terminal under src/stable and run "make" to compile.

### 💠Windows

Compile the cpp file yourself using the compiler.

## 🧑‍💻Contributing people
## 🧑‍💻Contribution and thanks

[FTS427](https://github.com/FTS427) responsible for the entire project

Expand All @@ -62,6 +48,7 @@ Compile the cpp file yourself using the compiler.

Thank every developer very much for their help!👍

## 👀Othres things
## 👀Other
This project also powered by [ECCPH](https://github.com/QuantumLS-Studio/ECCPH)

See for older versions[MathCentralTools](https://github.com/FTS427/MathCentralTools)(Archived🗃️)
Old versions[MathCentralTools](https://github.com/FTS427/MathCentralTools)(Archived🗃️)
24 changes: 5 additions & 19 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
[![Stable](https://img.shields.io/github/actions/workflow/status/QuantumLS-Studio/MathCentralTool/stable-build.yml?label=Stable&style=for-the-badge "Stable")](https://github.com/QuantumLS-Studio/MathCentralTool/actions/workflows/stable-build.yml)
[![Preview](https://img.shields.io/github/actions/workflow/status/QuantumLS-Studio/MathCentralTool/preview-build.yml?label=Preview&style=for-the-badge "Preview")](https://github.com/QuantumLS-Studio/MathCentralTool/actions/workflows/preview-build.yml)

![C++](https://img.shields.io/badge/c++-4B0082?style=for-the-badge&logoColor=white)

![邮箱](https://img.shields.io/badge/邮箱-fts427%40outlook.com-4169E1?style=for-the-badge&logoColor=white)

</div>
Expand All @@ -27,7 +25,7 @@

## 📃介绍

一个似乎没有什么用的基于终端的数学小工具
一个基于终端的数学小工具

本程序是免费开源的,此源代码可以随意使用。允许任何人使用源代码进行扩充,编译等操作。出现任何问题,本人不承担任何责任!

Expand All @@ -37,25 +35,11 @@

在GitAction中寻找符合自己设备的版本

或自行拉取编译,但Linux和Windows的源代码不一样,注意!
或自行拉取编译

📦编译环境需求(Linux):make,gcc

### 🐧Linux

Stable

请在src/Stable下打开终端,执行“make“即可编译

Preview

请在src/Preview下打开终端,执行“make“即可编译

### 💠Windows

自行使用编译器编译cpp文件

## 🧑‍💻贡献人员
## 🧑‍💻感谢

[FTS427](https://github.com/FTS427)负责了整个项目

Expand All @@ -67,4 +51,6 @@ Preview

## 👀其他

本项目使用了头文件[ECPPH](https://github.com/QuantumLS-Studio/ECPPH)

先前的版本参见[MathCentralTools](https://github.com/FTS427/MathCentralTools)(已归档🗃️)
77 changes: 77 additions & 0 deletions change_log.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# 数学集成工具

> 注:本更新日志从 v0.0.0.7 开始使用
先前的版本参见[MathCentralTools](https://github.com/FTS427/MathCentralTools)(已归档)

## Stable

- v0.0.0.7 :
- 功能 : 未更新
- UI : 微调 , 修复小Bug
- 整体 : 修复小问题 , 简化代码 , 判断方式更新 , 减少无用死循环
- v0.0.0.8 :
- 功能 : 添加了对乘方的支持
- UI : "计算器"UI部分更改
- 整体 : 简化代码(函数)
- v0.0.0.9 :
- 功能 : 未更新
- UI : 部分更改
- 整体 : 更新日志采用“MarkDown”文档
- v0.0.1.0
- 功能:增加"About" , UI模块
- UI:部分大改
- 整体:部分已知Bug修复,代码模块化,简化
- v0.0.1.1
- 功能 : 未更新
- UI:部分更改
- 整体:部分已知Bug修复,代码简化
- v0.0.1.2
- 功能 : 未更新
- UI:部分更改
- 整体:部分已知Bug修复,代码简化,引用了“ECPPH”头文件辅助开发

## Preview

> 注:原有的“Insider”于2023年7月8日更名为“Preview”
- v0.0.0.8-Alpha
- 功能:添加了对乘方的支持
- UI:未更新
- 整体:添加了输出函数“print”,简化代码(函数)
- v0.0.1.0-Alpha
- 功能:添加了”设置“部分(未启用)和”清屏“clear()部分
- UI:部分小更改
- 整体:运算更新,简化代码(函数)
- v0.0.1.0-Beta-01
- 功能:增加了”EEOER“函数,报错结构更容易,程序模块化
- UI:部分区域更改
- 整体:简化代码,部分已知Bug修复
- v0.0.1.0-Beta-02
- 功能:增加显示版本号的功能
- UI:部分修复
- 整体:部分已知Bug修复
- v0.0.1.0-Beta-03
- 功能:增加显示的“关于”功能
- UI:部分大改
- 整体:部分已知Bug修复,代码模块化,简化
- v0.0.1.0-Beta-04(v0.0.1.0)
- 功能:增加UI模块
- UI:部分大改
- 整体:部分已知Bug修复,代码模块化,简化
- v0.0.1.1-Alpha
- 功能:未更新
- UI:部分更改
- 整体:部分已知Bug修复,代码简化
- v0.0.1.2-Alpha
- 功能:增加“几何”功能
- UI:未更新
- 整体:部分微调
- v0.0.1.2-4-Pre
- 功能:未更新
- UI:大改界面
- 整体:引用了“ECPPH”头文件,整体代码逻辑修改,更便于维护
- v0.0.1.3-3
- 功能:移除对Windows、Mac平台的支持
- UI:部分微调
- 整体:简化代码逻辑,便于维护
Binary file renamed src/linux/MCT-Linux → src/MCT-Linux
Binary file not shown.
2 changes: 2 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
MCT-Build: main.cpp
g++ main.cpp -o ../bin/MCT
2 changes: 0 additions & 2 deletions src/linux/Makefile

This file was deleted.

2 changes: 1 addition & 1 deletion src/linux/MCT-Linux.cpp → src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//Preview, be careful

#include "../head/ECPPH.h"
#include "./head/ECPPH.h"
#include <stdio.h>
char q;

Expand Down
Loading

0 comments on commit 2bd1f80

Please sign in to comment.