From a4523c2c0c49ee198b9d628e1d930f2ad9c84007 Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sat, 18 Nov 2023 21:35:35 +0800 Subject: [PATCH 01/22] D | CI unsupport MacOS --- .github/workflows/preview-build.yml | 15 +- src/Stable/ECPPH.h | 93 --------- src/Stable/MCT-Linux | Bin 33240 -> 0 bytes src/Stable/MCT-Linux.cpp | 232 ---------------------- src/Stable/MCT-Windows.cpp | 232 ---------------------- src/Stable/Makefile | 2 - src/{Preview => }/head/ECPPH.h | 0 src/{Preview => }/linux/MCT-Linux-Pre | Bin src/{Preview => }/linux/MCT-Linux-Pre.cpp | 0 src/{Preview => }/linux/Makefile | 0 src/{Preview => }/win/MCT-Windows-Pre.cpp | 0 11 files changed, 1 insertion(+), 573 deletions(-) delete mode 100644 src/Stable/ECPPH.h delete mode 100755 src/Stable/MCT-Linux delete mode 100644 src/Stable/MCT-Linux.cpp delete mode 100644 src/Stable/MCT-Windows.cpp delete mode 100644 src/Stable/Makefile rename src/{Preview => }/head/ECPPH.h (100%) rename src/{Preview => }/linux/MCT-Linux-Pre (100%) rename src/{Preview => }/linux/MCT-Linux-Pre.cpp (100%) rename src/{Preview => }/linux/Makefile (100%) rename src/{Preview => }/win/MCT-Windows-Pre.cpp (100%) diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml index 010e73a..b78b3fd 100644 --- a/.github/workflows/preview-build.yml +++ b/.github/workflows/preview-build.yml @@ -19,20 +19,7 @@ jobs: with: name: MCT-Linux-Pre path: src/Preview/MCT-Linux-Pre - - macos-pre: - runs-on: macos-latest - steps: - - uses: actions/checkout@v3 - - name: build-macos-pre - run: make - working-directory: src/Preview - - name: Build Preview MCT-Macos - uses: actions/upload-artifact@v3.1.2 - with: - name: MCT-Macos-Pre - path: src/Preview/MCT-Linux-Pre - + windows-pre: runs-on: windows-latest steps: diff --git a/src/Stable/ECPPH.h b/src/Stable/ECPPH.h deleted file mode 100644 index 9e61600..0000000 --- a/src/Stable/ECPPH.h +++ /dev/null @@ -1,93 +0,0 @@ -#include -#include -#include -#include -#include -#include -using namespace std; -//Easy C++ Head - -void error(){ - cout<<"\033[1,31mERROR!\033[0m\a\n"; -} - -void clear(int i){ - if(i==0) - system("clear"); - else if(i==1) - system("CLS"); - else - error(); -} - -void print(const char T[],string color,bool i){ - if(i==true){ - if(color=="no") - cout<1){ - print(S,color,false); - l--; - } - print(S,color,true); - } -} - -void dash(const char T[]){ - cout<<" - "<yd9ZFB18iec`lF)_XfQ3VG5_au?}smwMZ!o}$Up zpNcAfl8y8?LE=WzsmP-+mH#ppsaGZSBIyh%uPBv4A*a=!-<|TZrCw^Tz=@=v2{uzy zmG?8~kzamjknUvjWO*^$LHe^$QtBrZ#uOJV9+xquIDd3;QAuUh=&A|hMvu!#sVGfJ zGEIi#CJPL6#t@26s9Q={nNq5<$mgG1K8^(Dg^Ar44+?^Pgap#mZ12*@` zBwn=O0l-;NGVVYHheqMYqu^-r&p|#Kzc~hfQ;c$pWAOhJqueiJ@HfC&(d_9T!=9Bf z_*-M}UyOnO^BDFYhA*Sp^HdD{X))?G4gED5PD%`%eKF)`#;_+41Lu|)_4;WHKdgyS z?#3A9&Wj;m8iQXS!yXzpcKk(#)iLU|JcgeE9~Ea=jB+oHA>TiS`~=jiKO4mC<-*c| zR3O4((4nj!8#-I0he-Zv_?hI{je?&n`ONKJ;wvq2SNJ{Uez%*sv*yon=X=Y&ONuJ| z-tzf#GK)(~yz@Pai@hQ*dd`BmIsWl(cV1PM!{JCs$DLPNw%kp*70&Fu>?`wf#>0jMIsS6UbyalE120{`!@hE_ z$CowVJwMg$%o*pNmy=Gq-LPc58+G>hJusnr01gKb@;qgpydwW{r;mdap-S`ejVSyF z+c>v~M@x$OXs_D zCb)C_X{iOJ<;y(f`R*e02amrL?dVy;O-#=#D$#3_J#$`8X^z{;bJ83|r4??plh=*w zVY#P#xx1*O$iI|&TUC|2%v)YjTH+~&v)oHl3F6Ar?>-s4#Q@nYZN14k!0DHs>2S`w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t;ECnwKc~h{cN+~NZ#o2cL%l@n_ZPu1Wzk4`-TH<$25eILnVtcH|gtPkFfqrW1yWqbQHBC=V*7K*vuCFH*o` zkTZJa%7>S$)VBXWrS$xeZu#K$G!FxDznFre>iMDI3Rx8=O1Hyst5MgVAoUfUiac|W zw|R6H{;hVHewEZ$RNc>13b+j&7U;H&x%~U3zM}RpX?n&I9)5u&UZ0|4OLQ9$|>N&8Y>bWuLlTM`mZ@{A>6h5;fLBY;{nR-4hQeE5seq@;S?NU$Cuv?NMTaUVy-tgoJbD2m&IVIi{rJ}vc?|J8FdMN{!S#2g~ae?CHA zJ!e$(GqW<{k>wwX&>#MDp`hrn2nE%C3ie2Z{_F)JM^XMyf0VG4H6>Xq67(ov4m15c zKXs0HWO*vB=qJ#nXTeHey*IIS5ts-{PNa;q;(vz>>U&CGJ&#rA!Y9jyq47gO>8W<; zfySrySNiH4!6sY@DWnRb|0;b&dq?Q2=f0ZM=is`wQNGfr&(E35SI-}`>x7aTrwT&p zsq`Qy6HnQ%KNs)_iK%+Wlxd|X>0nuYWIdVGj~u@c=fO-Pis1QnsgI)}d7$@zaqD0A pzp58y>$Y=A@ngSU&_mR@OhJ{aSp5-+rXQ>l67=4&IYcDc{{ut2R~-NV diff --git a/src/Stable/MCT-Linux.cpp b/src/Stable/MCT-Linux.cpp deleted file mode 100644 index f5acc95..0000000 --- a/src/Stable/MCT-Linux.cpp +++ /dev/null @@ -1,232 +0,0 @@ -#include "ECPPH.h" - -char q; - -void hy(const char T[]){cout<<"欢迎使用"<> num1 >> o >> num2; - //加 - if (o == '+') - cout << num1 << "+" << num2 << "=" << num1 + num2 << endl; - //减 - else if (o == '-') - cout << num1 << "-" << num2 << "=" << num1 - num2 << endl; - //乘 - else if (o == '*') - cout << num1 << "*" << num2 << "=" << num1 * num2 << endl; - //除 - else if (o == '/'){ - if (num2 == 0) - error(); - else - cout << num1 << "/" << num2 << "=" << num1/num2 << endl; - } - //乘方 - else if (o == '^') { - int n=num2; - if (num1 == 0 && num2 == 0) - error(); - else { - num3 = 1; - while (num2 > 0) { - num3 *= num1; - num2--; - } - } - cout << num1 << "^" << n << "=" << num3 << endl; - } - //退出 - else if(o == 'c' && num1 == 0 && num2 ==0){ - clear(0); - break; - } - //报错 - else - error(); - } -} - -//B函数,计算最大公约数 -void B(){ - clear(0); - double num3, num4; - hy("最大公约数"); - print("\033[1;43;37m注意\033[0m:本功能只支持两个数之间的运算!","no",true); - while(true){ - line("-",20,"yellow"); - print("输入任意值继续,输入\033[33;1mC\033[0m退出...","no",true); - cin >> q; - if(q == 'c' || q == 'C'){ - clear(0); - break; - } - else{ - print("请输入第一个数:","white",true); - cin >> num3; - print("请输入第二个数:","white",true); - cin >> num4; - num3 = abs(num3); - num4 = abs(num4); - while (num3 != num4){ - if (num3 > num4) - num3 -= num4; - else - num4 -= num3; - } - cout << "这两个数的的最大公约数是: " << num3 + num4 << endl; - } - } -} - -//C函数,计算最小公倍数 -void C(){ - clear(0); - hy("最小公倍数"); - print("\033[1;43;37m注意\033[0m:本功能只支持两个数之间的运算!","no",true); - while(true){ - line("-",20,"yellow"); - print("输入任意值继续,输入\033[33;1mC\033[0m退出...","no",true); - cin >> q; - if(q == 'c' || q == 'C'){ - clear(0); - break; - } - else{ - int n3; - double num5, num6; - while (true){ - print("请输入第一个数:","white",true); - cin >> num5; - print("请输入第二个数:","white",true); - cin >> num6; - if (num5 != int(num5) || num6 != int(num6)) - error(); - else - break; - } - n3 = (num5 > num6) ? num5 : num6; - while (true){ - if (n3 % int(num5) == 0 && n3 % int(num6) == 0){ - cout << "这两个数的的最小公倍数是:" << n3 << endl; - break; - } - else - ++n3; - } - } - } -} - - -//D函数,数值分析器 -void D(){ - clear(0); - long double x, a; - hy("数值分析器"); - while(true){ - line("-",20,"yellow"); - print("输入任意值继续,输入\033[1;33mC\033[0m退出...","no",true); - cin >> q; - if (q == 'c' || q == 'C'){ - clear(0); - break; - } - else{ - print("请输入一个数:","blue",true); - cin >> x; - if (x == 0){ - cout << x << "是整数" << endl; - cout << x << "是正数" << endl; - cout << x << "不分质数合数" << endl; - cout << x << "是偶数" << endl; - } - else{ - if (modf(x, &a) == 0.0) - cout << x << "是整数" << endl; - else - cout << x << "是分数" << endl; - if (x > 0) - cout << x << "是正数" << endl; - else - cout << x << "是负数" << endl; - if (x == 1) - cout << x << "不分质数合数" << endl; - else if (int(x) - x != 0) - cout << x << "不分质数合数" << endl; - else{ - int n=0, i; - for(i=2;i0) - cout << x << "是合数" << endl; - else - cout << x << "是质数" << endl; - } - if (int(x) == x){ - if (int(x) % 2 == 0) - cout << x << "是偶数" << endl; - else - cout << x << "是奇数" << endl; - } - else{ - if (x/2 - int(x)/2 == 0) - cout << x << "是偶数" << endl; - else - cout << x << "是奇数" << endl; - } - } - } - } -} - -//主函数 -int main(){ - clear(0); - hy("集成数学工具"); - char u; - while(true){ - line("-",20,"yellow"); - dash("\033[1;34m(1)\033[34m计算器\033[0m"); - dash("\033[1;35m(2)\033[35m最大公约数\033[0m"); - dash("\033[1;36m(3)\033[36m最小公倍数\033[0m"); - dash("\033[1;32m(4)\033[32m数值分析器\033[0m"); - dash("\033[0m(a)关于\033[0m"); - dash("\033[1;33m(e)退出\033[0m"); - print("请键入所需功能:","white",false); - cin >> u; - if (u=='1') - calc(); - else if (u=='2') - B(); - else if (u=='3') - C(); - else if (u=='4') - D(); - else if (u=='E'||u=='e') - break; - else if (u=='A'||u =='a'){ - clear(0); - line("=",20,"blue"); - dash("MCT Stable v0.0.1.2"); - dash("Made by QuantumLS-Studio"); - dash("Github:https://github.com/QuantumLS-Studio/MathCentralTool"); - line("=",20,"blue"); - } - else - error(); - } - return 0; -} diff --git a/src/Stable/MCT-Windows.cpp b/src/Stable/MCT-Windows.cpp deleted file mode 100644 index ae58832..0000000 --- a/src/Stable/MCT-Windows.cpp +++ /dev/null @@ -1,232 +0,0 @@ -#include "ECPPH.h" - -char q; - -void hy(const char T[]){cout<<"欢迎使用"<> num1 >> o >> num2; - //加 - if (o == '+') - cout << num1 << "+" << num2 << "=" << num1 + num2 << endl; - //减 - else if (o == '-') - cout << num1 << "-" << num2 << "=" << num1 - num2 << endl; - //乘 - else if (o == '*') - cout << num1 << "*" << num2 << "=" << num1 * num2 << endl; - //除 - else if (o == '/'){ - if (num2 == 0) - error(); - else - cout << num1 << "/" << num2 << "=" << num1/num2 << endl; - } - //乘方 - else if (o == '^') { - int n=num2; - if (num1 == 0 && num2 == 0) - error(); - else { - num3 = 1; - while (num2 > 0) { - num3 *= num1; - num2--; - } - } - cout << num1 << "^" << n << "=" << num3 << endl; - } - //退出 - else if(o == 'c' && num1 == 0 && num2 ==0){ - clear(1); - break; - } - //报错 - else - error(); - } -} - -//B函数,计算最大公约数 -void B(){ - clear(1); - double num3, num4; - hy("最大公约数"); - print("\033[1;43;37m注意\033[0m:本功能只支持两个数之间的运算!","no",true); - while(true){ - line("-",20,"yellow"); - print("输入任意值继续,输入\033[33;1mC\033[0m退出...","no",true); - cin >> q; - if(q == 'c' || q == 'C'){ - clear(1); - break; - } - else{ - print("请输入第一个数:","white",true); - cin >> num3; - print("请输入第二个数:","white",true); - cin >> num4; - num3 = abs(num3); - num4 = abs(num4); - while (num3 != num4){ - if (num3 > num4) - num3 -= num4; - else - num4 -= num3; - } - cout << "这两个数的的最大公约数是: " << num3 + num4 << endl; - } - } -} - -//C函数,计算最小公倍数 -void C(){ - clear(1); - hy("最小公倍数"); - print("\033[1;43;37m注意\033[0m:本功能只支持两个数之间的运算!","no",true); - while(true){ - line("-",20,"yellow"); - print("输入任意值继续,输入\033[33;1mC\033[0m退出...","no",true); - cin >> q; - if(q == 'c' || q == 'C'){ - clear(1); - break; - } - else{ - int n3; - double num5, num6; - while (true){ - print("请输入第一个数:","white",true); - cin >> num5; - print("请输入第二个数:","white",true); - cin >> num6; - if (num5 != int(num5) || num6 != int(num6)) - error(); - else - break; - } - n3 = (num5 > num6) ? num5 : num6; - while (true){ - if (n3 % int(num5) == 0 && n3 % int(num6) == 0){ - cout << "这两个数的的最小公倍数是:" << n3 << endl; - break; - } - else - ++n3; - } - } - } -} - - -//D函数,数值分析器 -void D(){ - clear(1); - long double x, a; - hy("数值分析器"); - while(true){ - line("-",20,"yellow"); - print("输入任意值继续,输入\033[1;33mC\033[0m退出...","no",true); - cin >> q; - if (q == 'c' || q == 'C'){ - clear(1); - break; - } - else{ - print("请输入一个数:","blue",true); - cin >> x; - if (x == 0){ - cout << x << "是整数" << endl; - cout << x << "是正数" << endl; - cout << x << "不分质数合数" << endl; - cout << x << "是偶数" << endl; - } - else{ - if (modf(x, &a) == 0.0) - cout << x << "是整数" << endl; - else - cout << x << "是分数" << endl; - if (x > 0) - cout << x << "是正数" << endl; - else - cout << x << "是负数" << endl; - if (x == 1) - cout << x << "不分质数合数" << endl; - else if (int(x) - x != 0) - cout << x << "不分质数合数" << endl; - else{ - int n=0, i; - for(i=2;i0) - cout << x << "是合数" << endl; - else - cout << x << "是质数" << endl; - } - if (int(x) == x){ - if (int(x) % 2 == 0) - cout << x << "是偶数" << endl; - else - cout << x << "是奇数" << endl; - } - else{ - if (x/2 - int(x)/2 == 0) - cout << x << "是偶数" << endl; - else - cout << x << "是奇数" << endl; - } - } - } - } -} - -//主函数 -int main(){ - clear(1); - hy("集成数学工具"); - char u; - while(true){ - line("-",20,"yellow"); - dash("\033[1;34m(1)\033[34m计算器\033[0m"); - dash("\033[1;35m(2)\033[35m最大公约数\033[0m"); - dash("\033[1;36m(3)\033[36m最小公倍数\033[0m"); - dash("\033[1;32m(4)\033[32m数值分析器\033[0m"); - dash("\033[0m(a)关于\033[0m"); - dash("\033[1;33m(e)退出\033[0m"); - print("请键入所需功能:","white",false); - cin >> u; - if (u=='1') - calc(); - else if (u=='2') - B(); - else if (u=='3') - C(); - else if (u=='4') - D(); - else if (u=='E'||u=='e') - break; - else if (u=='A'||u =='a'){ - clear(1); - line("=",20,"blue"); - dash("MCT Stable v0.0.1.2"); - dash("Made by QuantumLS-Studio"); - dash("Github:https://github.com/QuantumLS-Studio/MathCentralTool"); - line("=",20,"blue"); - } - else - error(); - } - return 0; -} diff --git a/src/Stable/Makefile b/src/Stable/Makefile deleted file mode 100644 index cac51b9..0000000 --- a/src/Stable/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -MCT-Linux-Build: MCT-Linux.cpp ECPPH.h - g++ MCT-Linux.cpp -o MCT-Linux diff --git a/src/Preview/head/ECPPH.h b/src/head/ECPPH.h similarity index 100% rename from src/Preview/head/ECPPH.h rename to src/head/ECPPH.h diff --git a/src/Preview/linux/MCT-Linux-Pre b/src/linux/MCT-Linux-Pre similarity index 100% rename from src/Preview/linux/MCT-Linux-Pre rename to src/linux/MCT-Linux-Pre diff --git a/src/Preview/linux/MCT-Linux-Pre.cpp b/src/linux/MCT-Linux-Pre.cpp similarity index 100% rename from src/Preview/linux/MCT-Linux-Pre.cpp rename to src/linux/MCT-Linux-Pre.cpp diff --git a/src/Preview/linux/Makefile b/src/linux/Makefile similarity index 100% rename from src/Preview/linux/Makefile rename to src/linux/Makefile diff --git a/src/Preview/win/MCT-Windows-Pre.cpp b/src/win/MCT-Windows-Pre.cpp similarity index 100% rename from src/Preview/win/MCT-Windows-Pre.cpp rename to src/win/MCT-Windows-Pre.cpp From 6c9b9b994dbf93b7e701867929775f7fdef3f513 Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sat, 18 Nov 2023 21:45:24 +0800 Subject: [PATCH 02/22] C | change some in CI and src named pattern --- .github/workflows/preview-build.yml | 10 +++++----- src/linux/MCT-Linux-Pre | Bin 33288 -> 0 bytes src/linux/{MCT-Linux-Pre.cpp => MCT-Linux.cpp} | 0 src/linux/Makefile | 4 ++-- .../{MCT-Windows-Pre.cpp => MCT-Windows.cpp} | 0 5 files changed, 7 insertions(+), 7 deletions(-) delete mode 100755 src/linux/MCT-Linux-Pre rename src/linux/{MCT-Linux-Pre.cpp => MCT-Linux.cpp} (100%) rename src/win/{MCT-Windows-Pre.cpp => MCT-Windows.cpp} (100%) diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml index b78b3fd..ebea2e5 100644 --- a/.github/workflows/preview-build.yml +++ b/.github/workflows/preview-build.yml @@ -13,23 +13,23 @@ jobs: - uses: actions/checkout@v3 - name: build-linux-pre run: make - working-directory: src/Preview + working-directory: src/ - name: Build Preview MCT-Linux uses: actions/upload-artifact@v3.1.2 with: name: MCT-Linux-Pre - path: src/Preview/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-Pre.cpp -o MCT-Windows-Pre.exe + 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-Pre.exe - path: src/Preview/MCT-Windows-Pre + name: MCT-Windows.exe + path: src/MCT-Windows diff --git a/src/linux/MCT-Linux-Pre b/src/linux/MCT-Linux-Pre deleted file mode 100755 index daad2fb2b88447b85b75c2171dbc759bd8af7b8e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 33288 zcmeHw3wTu3)%KnwLjZ*dDoR0RP?4L2TmZR5QkRccZBm1>Gq11JOD3SL90LM?$ah6*CuVAc8FwJ+zKIhnB~-}8L`^FKdZ zGkdSK*LwHbYhTXZ=N!(y&oymQg3ZQMNMzSDPF*25<79?=v65hH92>#9;I}usoOJ*@ z34h~cwl!`_5E&}&DCH6nlU@%>#E35yY^GvmA;qK@FZ91q%EB^g*<5|xr_8RNxe-{PsJ(H zpDI@VBpc~(gv7PRuUPUd2=fg`DPKUVF;Rl6rT}5;)fQv|uw8 ztMYD!9{J@z4bq(~Tb38M9i%@CWK8{p!jMA$+~Grq6y^;s^cR&c9K3ME@WI1}rj`|_ zX7GHnD-D0te3NgQ#S$u6Bk`2JjoCPT9(WWIB(3sE_9Fa|+ev@ZT_fi$e)RO?SH5#< zZ}%t0JKsOCuQ$n1JxGUSC=ieSR3QDU@kcV;Kem(v8@r10NT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MCT-Linux.cpp similarity index 100% rename from src/linux/MCT-Linux-Pre.cpp rename to src/linux/MCT-Linux.cpp diff --git a/src/linux/Makefile b/src/linux/Makefile index 6e8aa9c..40e6774 100644 --- a/src/linux/Makefile +++ b/src/linux/Makefile @@ -1,2 +1,2 @@ -MCT-Linux-Pre-Build: MCT-Linux-Pre.cpp - g++ MCT-Linux-Pre.cpp -o MCT-Linux-Pre +MCT-Linux-Build: MCT-Linux.cpp + g++ MCT-Linux.cpp -o MCT-Linux diff --git a/src/win/MCT-Windows-Pre.cpp b/src/win/MCT-Windows.cpp similarity index 100% rename from src/win/MCT-Windows-Pre.cpp rename to src/win/MCT-Windows.cpp From 62c5c7194f0df6b67a7f0e421a58b118ed8bf49d Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sat, 16 Dec 2023 20:48:03 +0800 Subject: [PATCH 03/22] C | Change some tui --- src/linux/MCT-Linux | Bin 0 -> 33288 bytes src/linux/MCT-Linux.cpp | 16 ++++++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) create mode 100755 src/linux/MCT-Linux diff --git a/src/linux/MCT-Linux b/src/linux/MCT-Linux new file mode 100755 index 0000000000000000000000000000000000000000..737ce6b433201d3bbf67d95412d9c0b4988cfa69 GIT binary patch literal 33288 zcmeHQ3wTt;*`7_Z1QFPvViBw^3d%L)1|kF_8*Z%t2JM4sgAlyuS$f|LL1 zamx^qSFu@+*Ow#tE%EZMg05n-9NA|598tbL5FHoEc5miNp-k#Y<|4VxQf{-9Q*ny4 zr;3$5Nk{q{DRHgwIFwNs$A1~K$}N&|)_9`iS25K=A+IG^(2@Fbq+Hodfn$x&3Nll% zs_$0FkzM}NAkE2gWqon`LE5uO#xzbS3@i4}9g#JxxL|0pzoc@}&_yFh3>}e`T2Y#s z!OKanH2hKbO`blJB~-B{qA7VBv+?|epixMWc~wrlm*9`gPV&D@-15Zb-ra}&HQEi; z?;d;To$Qv@NbKw|9;pkmOdlm=szNkJ+F?V&(=8nlj797Jr2%-IQnP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py#X<$JeOUy-M<+#B$DiV7gBasb7_VZKHAzOo<= z0;IDbIflnuUhakJgrU-?${X3JjFYr^ev z9(v)vGX)i^=Z%6YcvYHWx_yRQnY#Q)DX-#jC^H9nTSzD2AB#uHFOu>qR`*MlfV?fK zvW#xynCpK`%B$F^bBcsj{s$oAb*WO-e)Swx#c5I=w~u+S>hA>=x7_shtLLmLZkGCx zj$~&guby}MK_eDbzj|(~V)dLBEIbf~Ind)7dM2vm)pJl4=SpU!zv5Hz{V1nrtSVoH z`%x5BykBIwjmdUOe@SNbNDy7gtLMBbc1nd+{YqZ7{}CxaUIMD;#wu3NnMs~xtn$AA zjjB-i%!v#IC;w&YdAi66T~(Um$M9#CcRGm*aVL-Xdp;s1ep6&d#m^vbmdDLS5oG+) zAeonul2g>@kub}v=Orq}?Zl{H9lx(gd1Zg~JWa)Ac&=g&*7{$!$gAg)Dn4r#M%r5c zK8t+OZ9+iB{VW2i{}k+p7WoHfixL&n^G0*9WLXOeX~@cH#?*Th>fCW_eJZcwGmxcc z$4XwkXR&b(hzN>L-+^f59ZiX1uu6>c^pZ}1HJc)M+>_BRlBHI*PU~UALl(H d{=4*tsz}wV@;#7 char q; -void hy(const char T[]){cout<<"欢迎使用"< "<> q; if(q == 'c' || q == 'C'){ clear(); @@ -223,7 +223,7 @@ int main(){ dash("\033[1;33m(5)\033[33m几何\033[0m"); dash("\033[0m(a)关于\033[0m"); dash("\033[1;33m(e)退出\033[0m"); - print("请键入所需功能:","white",false); + print("==> ","white",false); cin >> u; if (u=='1') calc(); @@ -239,9 +239,9 @@ int main(){ if (u=='A'||u =='a'){ clear(); line("=",20,"blue",true); - dash("MCT Preview v0.0.1.3-2"); + dash("MCT Preview v0.0.1.3-3"); dash("Made by QuantumLS-Studio"); - dash("Github:https://github.com/QuantumLS-Studio/MathCentralTool"); + dash("Url: https://github.com/QuantumLS-Studio/MathCentralTool"); line("=",20,"blue",true); } else From 9e440fe2398c3a382adcc9871ddf4e8d147b0b92 Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sat, 23 Dec 2023 20:32:13 +0800 Subject: [PATCH 04/22] =?UTF-8?q?-=20v0.0.1.3-3=20-=20=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=EF=BC=9A=E7=A7=BB=E9=99=A4=E5=AF=B9Windows=E3=80=81Mac?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E7=9A=84=E6=94=AF=E6=8C=81=20-=20UI=EF=BC=9A?= =?UTF-8?q?=E9=83=A8=E5=88=86=E5=BE=AE=E8=B0=83=20-=20=E6=95=B4=E4=BD=93?= =?UTF-8?q?=EF=BC=9A=E7=AE=80=E5=8C=96=E4=BB=A3=E7=A0=81=E9=80=BB=E8=BE=91?= =?UTF-8?q?=EF=BC=8C=E4=BE=BF=E4=BA=8E=E7=BB=B4=E6=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/preview-build.yml | 21 +-- change_log.md | 77 ++++++++ src/{linux => }/MCT-Linux | Bin 33288 -> 33288 bytes src/Makefile | 2 + src/linux/Makefile | 2 - src/{linux/MCT-Linux.cpp => main.cpp} | 2 +- src/win/MCT-Windows.cpp | 254 -------------------------- 7 files changed, 84 insertions(+), 274 deletions(-) create mode 100644 change_log.md rename src/{linux => }/MCT-Linux (91%) create mode 100644 src/Makefile delete mode 100644 src/linux/Makefile rename src/{linux/MCT-Linux.cpp => main.cpp} (99%) delete mode 100644 src/win/MCT-Windows.cpp diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml index ebea2e5..f0f0f49 100644 --- a/.github/workflows/preview-build.yml +++ b/.github/workflows/preview-build.yml @@ -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 diff --git a/change_log.md b/change_log.md new file mode 100644 index 0000000..b1571df --- /dev/null +++ b/change_log.md @@ -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:部分微调 + - 整体:简化代码逻辑,便于维护 diff --git a/src/linux/MCT-Linux b/src/MCT-Linux similarity index 91% rename from src/linux/MCT-Linux rename to src/MCT-Linux index 737ce6b433201d3bbf67d95412d9c0b4988cfa69..37f0c684cc174ef5ddf1410d36226d23f4e38d50 100755 GIT binary patch delta 281 zcmeBZVd`jM+R(u)vSvj!gY3~zxyoH<4*wSmPCD)M>%aM8qPYS9Ai7iR diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..65e2fa2 --- /dev/null +++ b/src/Makefile @@ -0,0 +1,2 @@ +MCT-Build: main.cpp + g++ main.cpp -o ../bin/MCT diff --git a/src/linux/Makefile b/src/linux/Makefile deleted file mode 100644 index 40e6774..0000000 --- a/src/linux/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -MCT-Linux-Build: MCT-Linux.cpp - g++ MCT-Linux.cpp -o MCT-Linux diff --git a/src/linux/MCT-Linux.cpp b/src/main.cpp similarity index 99% rename from src/linux/MCT-Linux.cpp rename to src/main.cpp index 40a31ab..66a9391 100644 --- a/src/linux/MCT-Linux.cpp +++ b/src/main.cpp @@ -1,6 +1,6 @@ //Preview, be careful -#include "../head/ECPPH.h" +#include "./head/ECPPH.h" #include char q; diff --git a/src/win/MCT-Windows.cpp b/src/win/MCT-Windows.cpp deleted file mode 100644 index 4d8435f..0000000 --- a/src/win/MCT-Windows.cpp +++ /dev/null @@ -1,254 +0,0 @@ -//此版本为Preview测试版,有不稳定功能和不完整功能 - -#include "ECPPH.h" - -char q; - -void hy(const char T[]){cout<<"欢迎使用"<> num1 >> o >> num2; - //加 - if (o == '+') - cout << num1 << "+" << num2 << "=" << num1 + num2 << endl; - //减 - else if (o == '-') - cout << num1 << "-" << num2 << "=" << num1 - num2 << endl; - //乘 - else if (o == '*') - cout << num1 << "*" << num2 << "=" << num1 * num2 << endl; - //除 - else if (o == '/'){ - if (num2 == 0) - error(); - else - cout << num1 << "/" << num2 << "=" << num1/num2 << endl; - } - //乘方 - else if (o == '^') { - int n=num2; - if (num1 == 0 && num2 == 0) - error(); - else { - num3 = 1; - while (num2 > 0) { - num3 *= num1; - num2--; - } - } - cout << num1 << "^" << n << "=" << num3 << endl; - } - //退出 - else if(o == 'c' && num1 == 0 && num2 ==0){ - clear(1); - break; - } - //报错 - else - error(); - } -} - -//B函数,计算最大公约数 -void B(){ - clear(1); - double num3, num4; - hy("最大公约数"); - print("\033[1;43;37m注意\033[0m:本功能只支持两个数之间的运算!","no",true); - while(true){ - line("-",20,"yellow"); - print("输入任意值继续,输入\033[33;1mC\033[0m退出...","no",true); - cin >> q; - if(q == 'c' || q == 'C'){ - clear(1); - break; - } - else{ - print("请输入第一个数:","white",true); - cin >> num3; - print("请输入第二个数:","white",true); - cin >> num4; - num3 = abs(num3); - num4 = abs(num4); - while (num3 != num4){ - if (num3 > num4) - num3 -= num4; - else - num4 -= num3; - } - cout << "这两个数的的最大公约数是: " << num3 + num4 << endl; - } - } -} - -//C函数,计算最小公倍数 -void C(){ - clear(1); - hy("最小公倍数"); - print("\033[1;43;37m注意\033[0m:本功能只支持两个数之间的运算!","no",true); - while(true){ - line("-",20,"yellow"); - print("输入任意值继续,输入\033[33;1mC\033[0m退出...","no",true); - cin >> q; - if(q == 'c' || q == 'C'){ - clear(1); - break; - } - else{ - int n3; - double num5, num6; - while (true){ - print("请输入第一个数:","white",true); - cin >> num5; - print("请输入第二个数:","white",true); - cin >> num6; - if (num5 != int(num5) || num6 != int(num6)) - error(); - else - break; - } - n3 = (num5 > num6) ? num5 : num6; - while (true){ - if (n3 % int(num5) == 0 && n3 % int(num6) == 0){ - cout << "这两个数的的最小公倍数是:" << n3 << endl; - break; - } - else - ++n3; - } - } - } -} - - -//D函数,数值分析器 -void D(){ - clear(1); - long double x, a; - hy("数值分析器"); - while(true){ - line("-",20,"yellow"); - print("输入任意值继续,输入\033[1;33mC\033[0m退出...","no",true); - cin >> q; - if (q == 'c' || q == 'C'){ - clear(1); - break; - } - else{ - print("请输入一个数:","blue",true); - cin >> x; - if (x == 0){ - cout << x << "是整数" << endl; - cout << x << "是正数" << endl; - cout << x << "不分质数合数" << endl; - cout << x << "是偶数" << endl; - } - else{ - if (modf(x, &a) == 0.0) - cout << x << "是整数" << endl; - else - cout << x << "是分数" << endl; - if (x > 0) - cout << x << "是正数" << endl; - else - cout << x << "是负数" << endl; - if (x == 1) - cout << x << "不分质数合数" << endl; - else if (int(x) - x != 0) - cout << x << "不分质数合数" << endl; - else{ - int n=0, i; - for(i=2;i0) - cout << x << "是合数" << endl; - else - cout << x << "是质数" << endl; - } - if (int(x) == x){ - if (int(x) % 2 == 0) - cout << x << "是偶数" << endl; - else - cout << x << "是奇数" << endl; - } - else{ - if (x/2 - int(x)/2 == 0) - cout << x << "是偶数" << endl; - else - cout << x << "是奇数" << endl; - } - } - } - } -} - -//E函数,几何计算 -void E(){ - hy("几何计算"); - while(true){ - line("-",20,"yellow"); - print("输入任意键继续,输入“\033[1;33mc\033[0m”退出...","no",true); - cin >> q; - if (q == 'c' || q == 'C'){ - clear(1); - break; - } - else{ - //矩形 梯形 三角形 圆 面积,周长,体积 - } - } -} - -//主函数 -int main(){ - clear(1); - hy("集成数学工具"); - char u; - while(true){ - line("-",20,"yellow"); - dash("\033[1;34m(1)\033[34m计算器\033[0m"); - dash("\033[1;35m(2)\033[35m最大公约数\033[0m"); - dash("\033[1;36m(3)\033[36m最小公倍数\033[0m"); - dash("\033[1;32m(4)\033[32m数值分析器\033[0m"); - dash("\033[1;33m(5)\033[33m几何\033[0m"); - dash("\033[0m(a)关于\033[0m"); - dash("\033[1;33m(e)退出\033[0m"); - print("请键入所需功能:","white",false); - cin >> u; - if (u=='1') - calc(); - else if (u=='2') - B(); - else if (u=='3') - C(); - else if (u=='4') - D(); - else if (u=='5') - E(); - else if (u=='E'||u=='e') - break; - else if (u=='A'||u =='a'){ - clear(1); - line("=",20,"blue"); - dash("MCT Preview v0.0.1.2-4"); - dash("Made by QuantumLS-Studio"); - dash("Github:https://github.com/QuantumLS-Studio/MathCentralTool"); - line("=",20,"blue"); - } - else - error(); - } - return 0; -} From 0a04cd5f9251ebe9bd4f69a90e0e6a0c7988e265 Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sat, 23 Dec 2023 20:35:48 +0800 Subject: [PATCH 05/22] U | Update the README --- README.md | 35 +++++++++++------------------------ README_zh.md | 24 +++++------------------- 2 files changed, 16 insertions(+), 43 deletions(-) diff --git a/README.md b/README.md index 0a7ad71..ba73194 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@
- +

MathCentralTool

@@ -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 @@ -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🗃️) diff --git a/README_zh.md b/README_zh.md index ab446ed..dddeb55 100644 --- a/README_zh.md +++ b/README_zh.md @@ -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) @@ -27,7 +25,7 @@ ## 📃介绍 -一个似乎没有什么用的基于终端的数学小工具。 +一个基于终端的数学小工具。 本程序是免费开源的,此源代码可以随意使用。允许任何人使用源代码进行扩充,编译等操作。出现任何问题,本人不承担任何责任! @@ -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)负责了整个项目 @@ -67,4 +51,6 @@ Preview ## 👀其他 +本项目使用了头文件[ECPPH](https://github.com/QuantumLS-Studio/ECPPH) + 先前的版本参见[MathCentralTools](https://github.com/FTS427/MathCentralTools)(已归档🗃️) From 2053cdbb75d413a6cb886c09032d57cd5b55a1dc Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sat, 23 Dec 2023 21:01:52 +0800 Subject: [PATCH 06/22] D | Remove "bin/" from gitignore --- bin/MCT | Bin 0 -> 33280 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100755 bin/MCT diff --git a/bin/MCT b/bin/MCT new file mode 100755 index 0000000000000000000000000000000000000000..e00ad76029e37de0849d2795852bcfbfc7825bbe GIT binary patch literal 33280 zcmeHQ3wTt;*`7_Z38JvUibbfhC@9yE8;D#K2@8u{j0sr0;JPFmvXV_=vfVj=8YPF#hp_af|gMx}0ZOi`eH;~7OB4rVat+#n!kbK@_OCi{wj0Ome*_5hMPAATt#!4JjtMcwyl8M2U)7s>qX^osv%aL2&Y4 zJ#HN;@+vmV@%nNlza?INfuO6{EJwCkH%FAO3q;4ovfZ1wQYe#plDSB3la$*e(`BhAHP{?l$7Ivn-Tq##ROW;`J(}K)Y ztm?Z7a%7kPG)Qx@JXv4devtMomNAVJ3d2kMb4O+mFDV>W;xDaQG;GnRk;6u2r&X4v zW%6>;D;7 zV%7fU=Pvzo3-M4pNQQVQ5RLv+Ao(ltM?Bm(6P#a~1w7A5KZgesElE&vh5% z5G_{tEgEuRi~=u!W6_s`|MD38?XY7k{%7OhzZ{3YDo(vGp~126PsE|$2V=$JPmWXX z-Ert^mTBarC5l7>1wB>Lna49PP*&=x40#g(`0J6egI&VrrelR1W zpx9gC308Rh!OAHGu6!?k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^488hfgK_1spSAD=2ahUPy7C8zo!84aQ~DS377;5J+Y zDWr=?|5frTKHnm*-p|maJO|gMjrx^5efZ8?zj{ug-6@3BJXH`%PUU+;m}p9W{dtd9 zaE#Xnrpzlr8TXa-TieN`ymkJ9od#gFqY e5q~ZHp(;}Ks(cS5V#!~;Sa8t$#pYnivi}B_i72H2 literal 0 HcmV?d00001 From f7ea6eada97453a472f910687e99081a624098e9 Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sat, 23 Dec 2023 21:06:34 +0800 Subject: [PATCH 07/22] C | change some in README --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ba73194..bb559f6 100644 --- a/README.md +++ b/README.md @@ -23,22 +23,22 @@ [🀄简体中文](/README_zh.md) | 🔠[English](/README.md) -## 📃Introduce +## 📃 Introduce A terminal-based math tool that runs on linux. 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! ⚠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 +## ❔ How to use Look in the GitAction and choose you need. Or clone and compile by yourself. -📦Compilation environment requirements: make, gcc +📦 Compilation environment requirements: make, gcc -## 🧑‍💻Contribution and thanks +## 🧑‍💻 Contribution and thanks [FTS427](https://github.com/FTS427) responsible for the entire project @@ -48,7 +48,7 @@ Or clone and compile by yourself. Thank every developer very much for their help!👍 -## 👀Other +## 👀 Other This project also powered by [ECCPH](https://github.com/QuantumLS-Studio/ECCPH) Old versions[MathCentralTools](https://github.com/FTS427/MathCentralTools)(Archived🗃️) From 3c2b2c5ca5125b562de97f37eb34d085a1ba2afc Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sat, 23 Dec 2023 21:16:20 +0800 Subject: [PATCH 08/22] C | small change --- assets/MCT.png | Bin 0 -> 30683 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 assets/MCT.png diff --git a/assets/MCT.png b/assets/MCT.png new file mode 100644 index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jue*5M~`@ zNNRRBW*Z4M z%@>bZPTvQ=_K?`HiIX_{-iopN%maJX3SO~>lf6-h>W%13^tncutD==;Gig?FA!GMh z52Isq+kz9Au9r$t=a*O>!(RyI6zU3p)QsY~!xC9#>Rx(?ay^9?Fb<1o8 zF^DRExY*5zNs^m~-D3Zx68QY$Kzor5ljES$pc1TGDd$Mn`FS457cRfM%I;^ z(Tdq${3vD&UzgP2Feddt(fvfo4)~hazj&2g9PnR;f+Ycyp|is_a#MUC1F@bGEE=04 zKx#1qrY$Bo Date: Sat, 23 Dec 2023 21:18:56 +0800 Subject: [PATCH 09/22] D | Remove "other" directory --- other/MCT.png | Bin 30683 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 other/MCT.png diff --git a/other/MCT.png b/other/MCT.png deleted file mode 100644 index 32f64f4faf7dec4316779f5023156460f8adb764..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 30683 zcmeIbdpMNoA3x4CGEx~7waN^N+7xYDl!ggKOLR^-wry*770IbEnA)PHtWH!8)6(jQ zR^>QjT9xg@M5V%vNXTK7aT?70-uLr7v#UPe??1oab^ZQwUF+JenS1X0eZLQ{_wkuI zw%)~I%A~I*DJdyUS?g%OQAue+8~US6gjd#OK7R-QQx4kbV5^i@pop>x2rbIyEX5wcK%|=Z-wVK#&ZSg z3%9t3XWzQS{&VX(du_83wv25M`*n)*qvij+&KB(d%_C~IzwgwIoT=sO-+bR18MeE; zyIVLsFcekh$F22az06#zt@<*ICG7a@;%#7!vxBtC_-fP^c%scp(m=A^N7qt}F=zd)zb>4FJoeaK_32c**l+zFpw zj?QFqR88-~`3f$ee=s=_s-L|O!;FbxYPcQJ{QT7z=D^gkpNmm~3$XR`$VQ*P3Jje6 z1*^sxh*&hvK<58H8p!r1jW*NdgBI6MeP&T-O?pyWSGKA#R^DcccgClGW`OEC)V7_E z2d0F-vQ4lXW3X&PWwsZ&Av}Q@aAyDPv6d&*f=>)jYul;5cMkJ>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kHgmFXbfB1DD9NPWsZw_n4VPvfNA2M|2Ld8M%w!elG z-KDYl+A*G{#fvAZ$R8>m7yypIBRuV|hZoOgr>ppTGwSUaHjUFD+sj^W^XQzyLP35* zq^NpEw1e>+!3F+=YpTWh1+m{9&}XOT9Xb3XUU$X#n*x=UjEZ#UwH#e`vzD>@@V#pYJcqQ-#|xO? zHT=y&w!Dm6Qc;vS`H=Y}$B{Xdt;~NOY@fc^g`(-me2{l||3>e19b}7$Oa2+@?*e_w zHZ<1ywwDPD2lYaA+IDTzYTKoH6aQ6&0~!3Psz;)-fW3O!^d1u1wdzD!nNL-1&OAYd zi;19O>i4sep3r+-*tCq>(cw|vWkD==ZMwN}&p>`vK$W=aCb#m25iI_C%wjKgZu*Pp z15qMISwM!!LOh!J3II=oI@o${NZdOt_ueCK9vU)xG0B12rt+?8rh&l5;jue*5M~`@ zNNRRBW*Z4M z%@>bZPTvQ=_K?`HiIX_{-iopN%maJX3SO~>lf6-h>W%13^tncutD==;Gig?FA!GMh z52Isq+kz9Au9r$t=a*O>!(RyI6zU3p)QsY~!xC9#>Rx(?ay^9?Fb<1o8 zF^DRExY*5zNs^m~-D3Zx68QY$Kzor5ljES$pc1TGDd$Mn`FS457cRfM%I;^ z(Tdq${3vD&UzgP2Feddt(fvfo4)~hazj&2g9PnR;f+Ycyp|is_a#MUC1F@bGEE=04 zKx#1qrY$Bo Date: Sat, 23 Dec 2023 21:19:56 +0800 Subject: [PATCH 10/22] D | Remove Update.md --- Update.md | 73 ------------------------------------------------------- 1 file changed, 73 deletions(-) delete mode 100644 Update.md diff --git a/Update.md b/Update.md deleted file mode 100644 index e9e5d74..0000000 --- a/Update.md +++ /dev/null @@ -1,73 +0,0 @@ -# 数学集成工具 - -> 注:本更新日志从 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”头文件,整体代码逻辑修改,更便于维护 From 791f310c6ab452835a671cb300a6c6deefeeaf07 Mon Sep 17 00:00:00 2001 From: Huang FTS427 <122330825+FTS427@users.noreply.github.com> Date: Sat, 23 Dec 2023 21:20:29 +0800 Subject: [PATCH 11/22] D | Remove .vscode directory --- .vscode/settings.json | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index b242572..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "githubPullRequests.ignoredPullRequestBranches": [ - "main" - ] -} \ No newline at end of file From 77ba7f2f2d30cef68800770eeb6dc4e04aad749d Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sat, 23 Dec 2023 21:25:00 +0800 Subject: [PATCH 12/22] C | fix something wrong in GitAction --- .github/workflows/preview-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml index f0f0f49..1268762 100644 --- a/.github/workflows/preview-build.yml +++ b/.github/workflows/preview-build.yml @@ -18,5 +18,5 @@ jobs: uses: actions/upload-artifact@v3.1.2 with: name: MCT-Pre - path: src/MCT + path: bin/MCT From 3d6f8a0197f46ccdc0ed25f092c8d19e281bf835 Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sun, 24 Dec 2023 13:16:09 +0800 Subject: [PATCH 13/22] U | 0.0.1.3-3 Update --- bin/MCT | Bin 33280 -> 33312 bytes src/MCT-Linux | Bin 33288 -> 0 bytes src/Makefile | 2 +- src/cpart/calc.cpp | 53 ++++++++ src/cpart/cg.cpp | 16 +++ src/cpart/chn.cpp | 58 +++++++++ src/cpart/maxn.cpp | 31 +++++ src/cpart/minn.cpp | 38 ++++++ src/head/{ECPPH.h => mhead.h} | 14 +- src/main.cpp | 237 +++------------------------------- 10 files changed, 219 insertions(+), 230 deletions(-) delete mode 100755 src/MCT-Linux create mode 100644 src/cpart/calc.cpp create mode 100644 src/cpart/cg.cpp create mode 100644 src/cpart/chn.cpp create mode 100644 src/cpart/maxn.cpp create mode 100644 src/cpart/minn.cpp rename src/head/{ECPPH.h => mhead.h} (90%) diff --git a/bin/MCT b/bin/MCT index e00ad76029e37de0849d2795852bcfbfc7825bbe..aec7b349972875e96f4e0a3848de06b9f0ead576 100755 GIT binary patch delta 10575 zcmZu%30zdw_kZs(Z%`5jL>v}D+!fhf!hK_OKv2w`)Fi|NMSmu^lsXciB8{N8%>Jcf zmiDu92{qGF%yQCFaf@;d*N2)KnVI=>{^#6#=e?Ps$A>xZp5=R%d+vS9%#tFhqDU(5 zC{AA0>5A89(E>d_izZFQXs-}&HVpBuOctZXRy#(su{(Xr*uqotu5`ayfa#Tww%)yV zYyOd`>0_rx729;5_aN_k%n*;00-ceB>&)UdJQH_U7U(=hGG8A^mdo?SuZXChS6Qz2 z6{W?gl^=K>m-TZN%*o5jC3C!g36KO2_|wrpPk!b>GJHZUq96*t$%5buQG~;PTKfgh z34)g(>seSRzvd**56*5Z2(sX<%5}n7E>8oKGux-bsId?Pa>N|?_#H_Q8VPOrcs3pD zgf48HEaY`s-AI6t2C9G_!ap1kLui(r4Tba+hH-#htJc7oUKq#6EFeknu1qqVZYo`B zLqc2Ebv$CW%Jr#&U@oyKPyT1O?-c=R;^EQek{cj-8p$Np|08|cL|cy0;ZLYr(oqnK zs`5IUOHGf>C5TeUQAz>DT=ETYDyaGqb4iUd7n!A|2WD%)n;J+W1L+UCuW?7H3 z;yBy^fLP*G=od8T78>+G4f=Km8XrP;QK4&7SUPo2S%?~R4d+2b7iZ%j6;_-fL^3Ruh*cbY0#S~mm+u9kl$93qd0Q6rxy39+o;fq8nllF zJywIh*j}xNS%p3`l-1+HKkmp!ImasBj!^4i*@awI5HAh-4GsDUSGLLvICMb+=vgXs zxdxpMOv4`2-Qp@k@n%>D+{;9&L2J{Zyg&-fS4vC7@KHgw##$YcrM?gakLtOHhS&;}K{ghQ`t0BupBFLqLknWI6UqFkC~ zf`(kcb**v?N47lQ0J@zD{e}kZt3eOapf9&o>k+R)pG#u(xb(MsJ$~REtK89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pp b/src/cpart/calc.cpp new file mode 100644 index 0000000..92c9ea2 --- /dev/null +++ b/src/cpart/calc.cpp @@ -0,0 +1,53 @@ +//calc函数,计算器 +void calc(){ + clear(); + char o; + double num1,num2,num3; + hy("计算器"); + print("\033[1;37;43m[NOTE]\033[0m:现仅只支持两个数之间的运算!","no",true); + while (true){ + line("-",20,"yellow",true); + print("请输入计算式(+ - * / ^),输入'0c0'退出","white",true); + print("如: 1+1","white",true); + cin >> num1 >> o >> num2; + if (o == '+') + printf("%f+%f=%f\n",num1,num2,num1+num2); + //减 + if (o == '-') + printf("%f-%f=%f\n",num1,num2,num1-num2); + //乘 + if (o == '*') + printf("%f*%f=%f\n",num1,num2,num1*num2); + //除 + if (o == '/'){ + if (num2 != 0) + printf("%f/%f=%f\n",num1,num2,num1/num2); + else + error(); + } + //乘方 + /* +if (o == '^') { +int n=num2; +if(num1 != 0 && num2 != 0){ +num3 = 1; +while(n > 0) { +int(num1)*int(num3)=num3; +n--; +} +} +else +error(); +printf("%f^%f=%f\n",num1,num2,num3); +} +*/ + //退出 + if(o == 'c' && num1 == 0 && num2 ==0){ + clear(); + break; + } + //报错 + else + error(); + } +} diff --git a/src/cpart/cg.cpp b/src/cpart/cg.cpp new file mode 100644 index 0000000..bc56f82 --- /dev/null +++ b/src/cpart/cg.cpp @@ -0,0 +1,16 @@ +//E函数,几何计算 +void E(){ + hy("几何计算"); + while(true){ + line("-",20,"yellow",true); + print("输入任意键继续,输入“\033[1;33mc\033[0m”退出...","no",true); + cin >> q; + if (q == 'c' || q == 'C'){ + clear(); + break; + } + else{ + //矩形 梯形 三角形 圆 面积,周长,体积 + } + } +} \ No newline at end of file diff --git a/src/cpart/chn.cpp b/src/cpart/chn.cpp new file mode 100644 index 0000000..f74931b --- /dev/null +++ b/src/cpart/chn.cpp @@ -0,0 +1,58 @@ +//D函数,数值分析器 +void D(){ + clear(); + long double x, a; + hy("数值分析器"); + while(true){ + line("-",20,"yellow",true); + print("输入任意值继续,输入\033[1;33mC\033[0m退出...","no",true); + cin >> q; + if (q == 'c' || q == 'C'){ + clear(); + break; + } + else{ + print("请输入一个数:","blue",true); + cin >> x; + if (x == 0){ + cout << x << "是整数" << endl; + cout << x << "是正数" << endl; + cout << x << "不分质数合数" << endl; + cout << x << "是偶数" << endl; + } + else{ + if (modf(x, &a) == 0.0) + cout << x << "是整数" << endl; + else + cout << x << "是分数" << endl; + if (x > 0) + cout << x << "是正数" << endl; + else + cout << x << "是负数" << endl; + if (x == 1) + cout << x << "不分质数合数" << endl; + if (int(x) - x != 0) + cout << x << "不分质数合数" << endl; + else{ + int n=0, i; + for(i=2;i0) + cout << x << "是合数" << endl; + cout << x << "是质数" << endl; + } + if (int(x) == x){ + if (int(x) % 2 == 0) + cout << x << "是偶数" << endl; + cout << x << "是奇数" << endl; + } + else{ + if (x/2 - int(x)/2 == 0) + cout << x << "是偶数" << endl; + cout << x << "是奇数" << endl; + } + } + } + } +} \ No newline at end of file diff --git a/src/cpart/maxn.cpp b/src/cpart/maxn.cpp new file mode 100644 index 0000000..135890f --- /dev/null +++ b/src/cpart/maxn.cpp @@ -0,0 +1,31 @@ +//B函数,计算最大公约数 +void B(){ + clear(); + double num3, num4; + hy("最大公约数"); + print("\033[1;43;37m[NOTE]\033[0m:本功能只支持两个数之间的运算!","no",true); + while(true){ + line("-",20,"yellow",true); + print("输入任意值继续,输入\033[33;1mC\033[0m退出","no",true); + cin >> q; + if(q == 'c' || q == 'C'){ + clear(); + break; + } + else{ + print("请输入第一个数:","white",true); + cin >> num3; + print("请输入第二个数:","white",true); + cin >> num4; + num3 = abs(num3); + num4 = abs(num4); + while (num3 != num4){ + if (num3 > num4) + num3 -= num4; + else + num4 -= num3; + } + cout << "这两个数的的最大公约数是: " << num3 + num4 << endl; + } + } +} \ No newline at end of file diff --git a/src/cpart/minn.cpp b/src/cpart/minn.cpp new file mode 100644 index 0000000..632891c --- /dev/null +++ b/src/cpart/minn.cpp @@ -0,0 +1,38 @@ +//C函数,计算最小公倍数 +void C(){ + clear(); + hy("最小公倍数"); + print("\033[1;43;37m注意\033[0m:本功能只支持两个数之间的运算!","no",true); + while(true){ + line("-",20,"yellow",true); + print("输入任意值继续,输入\033[33;1mC\033[0m退出...","no",true); + cin >> q; + if(q == 'c' || q == 'C'){ + clear(); + break; + } + else{ + int n3; + double num5, num6; + while (true){ + print("请输入第一个数:","white",true); + cin >> num5; + print("请输入第二个数:","white",true); + cin >> num6; + if (num5 != int(num5) || num6 != int(num6)) + error(); + else + break; + } + n3 = (num5 > num6) ? num5 : num6; + while (true){ + if (n3 % int(num5) == 0 && n3 % int(num6) == 0){ + cout << "这两个数的的最小公倍数是:" << n3 << endl; + break; + } + else + ++n3; + } + } + } +} diff --git a/src/head/ECPPH.h b/src/head/mhead.h similarity index 90% rename from src/head/ECPPH.h rename to src/head/mhead.h index 4d37c49..737efd7 100644 --- a/src/head/ECPPH.h +++ b/src/head/mhead.h @@ -1,25 +1,17 @@ #include #include #include -#include -#include -#include #include #include -#include #include -#include using namespace std; int error(){ - printf("\033[1,31mERROR!\033[0m\a\n"); + cout << "\033[1,31mERROR!\033[0m\a\n"; return 1; } -void clear(){ - printf("\033[2J"); - printf("\033[0,0"); -} +void clear(){system("clear");} void print(const char T[],string color,bool i){ if(i==true){ @@ -91,3 +83,5 @@ void boxout(const char T[],string bc,string tc,bool i){ } error; } +void hy(const char T[]){cout<<"==> "< -char q; +#include "./head/mhead.h" +#include "./cpart/calc.cpp" +#include "./cpart/maxn.cpp" +#include "./cpart/minn.cpp" +#include "./cpart/chn.cpp" +#include "./cpart/cg.cpp" -void hy(const char T[]){cout<<"==> "<> num1 >> o >> num2; - //加 - if (o == '+') - printf("%f+%f=%f\n",num1,num2,num1+num2); - //减 - if (o == '-') - printf("%f-%f=%f\n",num1,num2,num1-num2); - //乘 - if (o == '*') - printf("%f*%f=%f\n",num1,num2,num1*num2); - //除 - if (o == '/'){ - if (num2 != 0) - printf("%f/%f=%f\n",num1,num2,num1/num2); - else - error(); - } - //乘方 - /* - if (o == '^') { - int n=num2; - if(num1 != 0 && num2 != 0){ - num3 = 1; - while(n > 0) { - int(num1)*int(num3)=num3; - n--; - } - } - else - error(); - printf("%f^%f=%f\n",num1,num2,num3); - } - */ - //退出 - if(o == 'c' && num1 == 0 && num2 ==0){ - clear(); - break; - } - //报错 - else - error(); - } -} - -//B函数,计算最大公约数 -void B(){ - clear(); - double num3, num4; - hy("最大公约数"); - print("\033[1;43;37m[NOTE]\033[0m:本功能只支持两个数之间的运算!","no",true); - while(true){ - line("-",20,"yellow",true); - print("输入任意值继续,输入\033[33;1mC\033[0m退出","no",true); - cin >> q; - if(q == 'c' || q == 'C'){ - clear(); - break; - } - else{ - print("请输入第一个数:","white",true); - cin >> num3; - print("请输入第二个数:","white",true); - cin >> num4; - num3 = abs(num3); - num4 = abs(num4); - while (num3 != num4){ - if (num3 > num4) - num3 -= num4; - else - num4 -= num3; - } - cout << "这两个数的的最大公约数是: " << num3 + num4 << endl; - } - } -} - -//C函数,计算最小公倍数 -void C(){ - clear(); - hy("最小公倍数"); - print("\033[1;43;37m注意\033[0m:本功能只支持两个数之间的运算!","no",true); - while(true){ - line("-",20,"yellow",true); - print("输入任意值继续,输入\033[33;1mC\033[0m退出...","no",true); - cin >> q; - if(q == 'c' || q == 'C'){ - clear(); - break; - } - else{ - int n3; - double num5, num6; - while (true){ - print("请输入第一个数:","white",true); - cin >> num5; - print("请输入第二个数:","white",true); - cin >> num6; - if (num5 != int(num5) || num6 != int(num6)) - error(); - else - break; - } - n3 = (num5 > num6) ? num5 : num6; - while (true){ - if (n3 % int(num5) == 0 && n3 % int(num6) == 0){ - cout << "这两个数的的最小公倍数是:" << n3 << endl; - break; - } - else - ++n3; - } - } - } -} - - -//D函数,数值分析器 -void D(){ - clear(); - long double x, a; - hy("数值分析器"); - while(true){ - line("-",20,"yellow",true); - print("输入任意值继续,输入\033[1;33mC\033[0m退出...","no",true); - cin >> q; - if (q == 'c' || q == 'C'){ - clear(); - break; - } - else{ - print("请输入一个数:","blue",true); - cin >> x; - if (x == 0){ - cout << x << "是整数" << endl; - cout << x << "是正数" << endl; - cout << x << "不分质数合数" << endl; - cout << x << "是偶数" << endl; - } - else{ - if (modf(x, &a) == 0.0) - cout << x << "是整数" << endl; - else - cout << x << "是分数" << endl; - if (x > 0) - cout << x << "是正数" << endl; - else - cout << x << "是负数" << endl; - if (x == 1) - cout << x << "不分质数合数" << endl; - if (int(x) - x != 0) - cout << x << "不分质数合数" << endl; - else{ - int n=0, i; - for(i=2;i0) - cout << x << "是合数" << endl; - cout << x << "是质数" << endl; - } - if (int(x) == x){ - if (int(x) % 2 == 0) - cout << x << "是偶数" << endl; - cout << x << "是奇数" << endl; - } - else{ - if (x/2 - int(x)/2 == 0) - cout << x << "是偶数" << endl; - cout << x << "是奇数" << endl; - } - } - } - } -} -/* -//E函数,几何计算 -void E(){ - hy("几何计算"); - while(true){ - line("-",20,"yellow",true); - print("输入任意键继续,输入“\033[1;33mc\033[0m”退出...","no",true); - cin >> q; - if (q == 'c' || q == 'C'){ - clear(); - break; - } - else{ - //矩形 梯形 三角形 圆 面积,周长,体积 - } - } -} -*/ //主函数 int main(){ clear(); hy("集成数学工具"); - char u; while(true){ line("-",20,"yellow",true); dash("\033[1;34m(1)\033[34m计算器\033[0m"); @@ -223,29 +20,31 @@ int main(){ dash("\033[1;33m(5)\033[33m几何\033[0m"); dash("\033[0m(a)关于\033[0m"); dash("\033[1;33m(e)退出\033[0m"); - print("==> ","white",false); - cin >> u; - if (u=='1') + print("> ","white",false); + cin >> q; + if (q=='1') calc(); - if (u=='2') + if (q=='2') B(); - if (u=='3') + if (q=='3') C(); - if (u=='4') + if (q=='4') D(); //if (u=='5')E(); - if (u=='E'||u=='e') + if (q=='E'||q=='e') break; - if (u=='A'||u =='a'){ + if (q=='A'||q =='a'){ clear(); line("=",20,"blue",true); - dash("MCT Preview v0.0.1.3-3"); + dash("MCT Preview v0.0.1.3-4"); dash("Made by QuantumLS-Studio"); dash("Url: https://github.com/QuantumLS-Studio/MathCentralTool"); line("=",20,"blue",true); } - else + else{ + clear(); error(); + } } return 0; } From a00012987543b5407e351da74f2b681d67d75e5a Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sun, 24 Dec 2023 13:18:50 +0800 Subject: [PATCH 14/22] U | Update --- .vscode/c_cpp_properties.json | 18 ++++++++++++++++++ .vscode/launch.json | 24 ++++++++++++++++++++++++ .vscode/settings.json | 4 +--- .vscode/tasks.json | 29 +++++++++++++++++++++++++++++ 4 files changed, 72 insertions(+), 3 deletions(-) create mode 100644 .vscode/c_cpp_properties.json create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..c2098a2 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,18 @@ +{ + "configurations": [ + { + "name": "linux-gcc-x64", + "includePath": [ + "${workspaceFolder}/**" + ], + "compilerPath": "/usr/bin/gcc", + "cStandard": "${default}", + "cppStandard": "${default}", + "intelliSenseMode": "linux-gcc-x64", + "compilerArgs": [ + "" + ] + } + ], + "version": 4 +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..5610a5d --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,24 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "C/C++ Runner: Debug Session", + "type": "cppdbg", + "request": "launch", + "args": [], + "stopAtEntry": false, + "externalConsole": false, + "cwd": "/home/fts427/Git/MathCentralTool/src", + "program": "/home/fts427/Git/MathCentralTool/src/build/Debug/outDebug", + "MIMode": "gdb", + "miDebuggerPath": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index b242572..df3c807 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,3 @@ { - "githubPullRequests.ignoredPullRequestBranches": [ - "main" - ] + "C_Cpp_Runner.msvcBatchPath": "" } \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..104aa15 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,29 @@ +{ + "tasks": [ + { + "type": "cppbuild", + "label": "C/C++: gcc 生成活动文件", + "command": "/usr/bin/gcc", + "args": [ + "-fdiagnostics-color=always", + "-g", + "${file}", + "-o", + "${fileDirname}/${fileBasenameNoExtension}", + "" + ], + "options": { + "cwd": "${fileDirname}" + }, + "problemMatcher": [ + "$gcc" + ], + "group": { + "kind": "build", + "isDefault": true + }, + "detail": "调试器生成的任务。" + } + ], + "version": "2.0.0" +} \ No newline at end of file From 6e04fa709ca428d3a20d8296dd57f4c05630199b Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sun, 24 Dec 2023 19:37:43 +0800 Subject: [PATCH 15/22] U | Use CMake instead of Make --- .gitignore | 1 + CMakeLists.txt | 8 ++++++++ make.sh | 5 +++++ 3 files changed, 14 insertions(+) create mode 100644 CMakeLists.txt create mode 100755 make.sh diff --git a/.gitignore b/.gitignore index 1d74e21..fb2a4b2 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .vscode/ +build/* \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..c9ccfe8 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,8 @@ +cmake_minimum_required(VERSION 3.9) + +PROJECT(MCT) +INCLUDE_DIRECTORIES( +./src/include +) +AUX_SOURCE_DIRECTORY(src ./src) +ADD_EXECUTABLE(${PROJECT_NAME} ./src/main.cpp) diff --git a/make.sh b/make.sh new file mode 100755 index 0000000..98594e4 --- /dev/null +++ b/make.sh @@ -0,0 +1,5 @@ +cmake -S . -B ./build && +cd ./build && +make && +echo "Done!" && +echo "Exec -> build/MCT" From dc710ba65e60c6daebe6c302c991d01382f1eac0 Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sun, 24 Dec 2023 19:39:50 +0800 Subject: [PATCH 16/22] U | Change the dir rules --- src/Makefile | 2 -- src/{head => include}/mhead.h | 0 src/main.cpp | 12 ++++++------ src/{cpart => part}/calc.cpp | 0 src/{cpart => part}/cg.cpp | 0 src/{cpart => part}/chn.cpp | 0 src/{cpart => part}/maxn.cpp | 0 src/{cpart => part}/minn.cpp | 0 8 files changed, 6 insertions(+), 8 deletions(-) delete mode 100644 src/Makefile rename src/{head => include}/mhead.h (100%) rename src/{cpart => part}/calc.cpp (100%) rename src/{cpart => part}/cg.cpp (100%) rename src/{cpart => part}/chn.cpp (100%) rename src/{cpart => part}/maxn.cpp (100%) rename src/{cpart => part}/minn.cpp (100%) diff --git a/src/Makefile b/src/Makefile deleted file mode 100644 index c4c4863..0000000 --- a/src/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -MCT-Build: main.cpp ./cpart/ - g++ main.cpp -o ../bin/MCT diff --git a/src/head/mhead.h b/src/include/mhead.h similarity index 100% rename from src/head/mhead.h rename to src/include/mhead.h diff --git a/src/main.cpp b/src/main.cpp index 379c8b5..49a3739 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,11 +1,11 @@ //Preview, be careful -#include "./head/mhead.h" -#include "./cpart/calc.cpp" -#include "./cpart/maxn.cpp" -#include "./cpart/minn.cpp" -#include "./cpart/chn.cpp" -#include "./cpart/cg.cpp" +#include "./include/mhead.h" +#include "./part/calc.cpp" +#include "./part/maxn.cpp" +#include "./part/minn.cpp" +#include "./part/chn.cpp" +#include "./part/cg.cpp" //主函数 int main(){ diff --git a/src/cpart/calc.cpp b/src/part/calc.cpp similarity index 100% rename from src/cpart/calc.cpp rename to src/part/calc.cpp diff --git a/src/cpart/cg.cpp b/src/part/cg.cpp similarity index 100% rename from src/cpart/cg.cpp rename to src/part/cg.cpp diff --git a/src/cpart/chn.cpp b/src/part/chn.cpp similarity index 100% rename from src/cpart/chn.cpp rename to src/part/chn.cpp diff --git a/src/cpart/maxn.cpp b/src/part/maxn.cpp similarity index 100% rename from src/cpart/maxn.cpp rename to src/part/maxn.cpp diff --git a/src/cpart/minn.cpp b/src/part/minn.cpp similarity index 100% rename from src/cpart/minn.cpp rename to src/part/minn.cpp From 8efeaf0c8f1187f8aa51e1b61322923da85ee5bf Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sun, 24 Dec 2023 19:43:12 +0800 Subject: [PATCH 17/22] U | Update github files --- .github/workflows/preview-build.yml | 7 +++---- .gitignore | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml index 1268762..f0b9af9 100644 --- a/.github/workflows/preview-build.yml +++ b/.github/workflows/preview-build.yml @@ -12,11 +12,10 @@ jobs: steps: - uses: actions/checkout@v3 - name: build-linux - run: make - working-directory: src/ + run: sh ./make.sh + working-directory: / - name: Build Preview MCT-Linux uses: actions/upload-artifact@v3.1.2 with: name: MCT-Pre - path: bin/MCT - + path: build/MCT diff --git a/.gitignore b/.gitignore index fb2a4b2..ab24a97 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -.vscode/ +.vscode build/* \ No newline at end of file From 244d637c875da8490738b3a7df0e06aa4f512a21 Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sun, 24 Dec 2023 19:46:02 +0800 Subject: [PATCH 18/22] U | Update Readme --- README.md | 8 +++++--- README_zh.md | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bb559f6..1d3e8f2 100644 --- a/README.md +++ b/README.md @@ -18,25 +18,26 @@ [![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) ![EMAIL](https://img.shields.io/badge/EMAIL-fts427%40outlook.com-4169E1?style=for-the-badge&logoColor=white) - + [🀄简体中文](/README_zh.md) | 🔠[English](/README.md) ## 📃 Introduce + A terminal-based math tool that runs on linux. 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! ⚠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 +## ❔ How to use Look in the GitAction and choose you need. Or clone and compile by yourself. -📦 Compilation environment requirements: make, gcc +📦 Compilation environment requirements: cmake, make, gcc ## 🧑‍💻 Contribution and thanks @@ -49,6 +50,7 @@ Or clone and compile by yourself. Thank every developer very much for their help!👍 ## 👀 Other + This project also powered by [ECCPH](https://github.com/QuantumLS-Studio/ECCPH) Old versions[MathCentralTools](https://github.com/FTS427/MathCentralTools)(Archived🗃️) diff --git a/README_zh.md b/README_zh.md index dddeb55..e630e88 100644 --- a/README_zh.md +++ b/README_zh.md @@ -37,7 +37,7 @@ 或自行拉取编译 -📦编译环境需求(Linux):make,gcc +📦编译环境需求:cmake, make,gcc ## 🧑‍💻感谢 From 308055f683f285882f0488dba69597785d02c622 Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sun, 24 Dec 2023 19:51:11 +0800 Subject: [PATCH 19/22] D | Remove "bin" dir --- bin/MCT | Bin 33312 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100755 bin/MCT diff --git a/bin/MCT b/bin/MCT deleted file mode 100755 index aec7b349972875e96f4e0a3848de06b9f0ead576..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 33312 zcmeHw33yaRwtsaeoge}oX2d~JX;G9lWFrO;1wundSt5ZEQEWrfA<=XalMdT+2_`{8 z48$GBjTs$e92K5}$RJ7(rNK3hTO37D3EUP2Bjdt24E=tmmV0mCbk7W#|M%Ya|32y? zeX35K^Q%**mRoi2<<{-)DU<9r8&e^UUB-B7fZ&Xi88<9Z5{!*wS*$01`?K>{0@(5R z8z-}^w9PIu6zwME;y_8SFGZrza|D|ysw^Z*da=TwpNkwtS&~STo`a$;`ay8}%?Qr<%Q^%Q(X&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&O{DacqwX@Dj3`8he@TZA}Y?`iwmKvQUJw?V!lNMzKQ_O2&7{oIfggCvN9j06NZYTsC<7(0aVI?j-O;+q=3gz zXY{6&AMZq|dji(EgkhdjOlI2+RACdZsx^zhqvFcw9HeQn|SM^uVR~1c>`navk zgVp|gaB(Y6ufKZ!s%V?EhkQhSR{H8WXbE^EqRLm#a}`z3Zy~}1VVDCwwxMUGN?$!6 zRdj|FR`x47MQ=ksJ$qH@8r+YfplGW|@-`yhDf=axH6cQLrLUgN&ee30qa1=p*$_aUg}RFqwvRGR zAxXv+eF|x_K5qVrAnD`7WLgrXr?}4|V%AsBQ541P#E4++zkiVW%Kz#)o1z==yu}=> z<-cUnSI;XIJ#JP;+*8o=IH{&8mAw>}VSLrKyx?u|$^{mjKeVvt3_l4Sn_00=!s From ff6a41b1b93955763da9a5fe7137b1eaa272ecb9 Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sun, 24 Dec 2023 20:19:06 +0800 Subject: [PATCH 20/22] U | Update GitAction --- .github/workflows/preview-build.yml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml index f0b9af9..c3a632c 100644 --- a/.github/workflows/preview-build.yml +++ b/.github/workflows/preview-build.yml @@ -11,11 +11,25 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: build-linux - run: sh ./make.sh - working-directory: / - - name: Build Preview MCT-Linux + - name: CMake build + run: | + cd ${{ github.workspace }} + ls + mkdir build + cd build + cmake --version + cmake ../ + shell: sh + - name: Make build + run: | + cd ${{ github.workspace }} + ls + cd build + make + shell: sh + - name: Upload exec file uses: actions/upload-artifact@v3.1.2 with: name: MCT-Pre path: build/MCT + From cbc64644e5f0e01f8eeab0a36cb44748e4cc829a Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sat, 30 Dec 2023 10:22:08 +0800 Subject: [PATCH 21/22] U | Project basic update --- .github/workflows/preview-build.yml | 4 +++- .gitignore | 3 ++- README.md | 6 +++--- README_zh.md | 6 +++--- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml index c3a632c..3994b6e 100644 --- a/.github/workflows/preview-build.yml +++ b/.github/workflows/preview-build.yml @@ -1,4 +1,4 @@ -name: MCT-PreviewBuild +name: Preview-Build on: push: @@ -19,6 +19,7 @@ jobs: cd build cmake --version cmake ../ + echo "Done!" shell: sh - name: Make build run: | @@ -26,6 +27,7 @@ jobs: ls cd build make + echo "Done!" shell: sh - name: Upload exec file uses: actions/upload-artifact@v3.1.2 diff --git a/.gitignore b/.gitignore index ab24a97..141afa7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .vscode -build/* \ No newline at end of file +build + diff --git a/README.md b/README.md index 1d3e8f2..7693c5f 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@
-[![Download](https://img.shields.io/github/downloads/QuantumLS-Studio/MathCentralTool/total?logo=github&label=Download&style=for-the-badge&color=44cc11)](https://github.com/QuantumLS-Studio/MathCentralTool/releases) [![Stars](https://img.shields.io/github/stars/QuantumLS-Studio/MathCentralTool?logo=github&label=Stars&style=for-the-badge)](https://github.com/QuantumLS-Studio/MathCentralTool/stargazers) [![License](https://img.shields.io/github/license/QuantumLS-Studio/MathCentralTool?logo=github&label=License&style=for-the-badge&color=ff7a35)](https://github.com/QuantumLS-Studio/MathCentralTool/blob/master/LICENSE) [![Issues](https://img.shields.io/github/issues/QuantumLS-Studio/MathCentralTool?logo=github&lable=issues&style=for-the-badge "Issues")](https://github.com/QuantumLS-Studio/MathCentralTool/issues) @@ -17,8 +16,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) -![EMAIL](https://img.shields.io/badge/EMAIL-fts427%40outlook.com-4169E1?style=for-the-badge&logoColor=white) -
[🀄简体中文](/README_zh.md) | 🔠[English](/README.md) @@ -51,6 +48,9 @@ Thank every developer very much for their help!👍 ## 👀 Other +Change log [change](/change_log.md) + This project also powered by [ECCPH](https://github.com/QuantumLS-Studio/ECCPH) Old versions[MathCentralTools](https://github.com/FTS427/MathCentralTools)(Archived🗃️) + diff --git a/README_zh.md b/README_zh.md index e630e88..d43748a 100644 --- a/README_zh.md +++ b/README_zh.md @@ -6,7 +6,6 @@
-[![下载](https://img.shields.io/github/downloads/QuantumLS-Studio/MathCentralTool/total?logo=github&label=下载&style=for-the-badge&color=44cc11)](https://github.com/QuantumLS-Studio/MathCentralTool/releases) [![星标](https://img.shields.io/github/stars/QuantumLS-Studio/MathCentralTool?logo=github&label=星标&style=for-the-badge)](https://github.com/QuantumLS-Studio/MathCentralTool/stargazers) [![协议](https://img.shields.io/github/license/QuantumLS-Studio/MathCentralTool?logo=github&label=协议&style=for-the-badge&color=ff7a35)](https://github.com/QuantumLS-Studio/MathCentralTool/blob/master/LICENSE) [![议题](https://img.shields.io/github/issues/QuantumLS-Studio/MathCentralTool?logo=github&lable=议题&style=for-the-badge "议题")](https://github.com/QuantumLS-Studio/MathCentralTool/issues) @@ -17,8 +16,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) -![邮箱](https://img.shields.io/badge/邮箱-fts427%40outlook.com-4169E1?style=for-the-badge&logoColor=white) -
[🀄简体中文](/README_zh.md) | [🔠English](/README.md) @@ -51,6 +48,9 @@ ## 👀其他 +之前的更改?在[这里](/change_log.md) + 本项目使用了头文件[ECPPH](https://github.com/QuantumLS-Studio/ECPPH) 先前的版本参见[MathCentralTools](https://github.com/FTS427/MathCentralTools)(已归档🗃️) + From d9b2cb2e05b9c8efc9e3988ade1d3e912533cfe3 Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sat, 30 Dec 2023 10:23:12 +0800 Subject: [PATCH 22/22] R | Rename files --- src/include/{mhead.h => ecp.h} | 0 src/main.cpp | 14 +++++++------- src/{part => plugins}/calc.cpp | 0 src/{part => plugins}/cg.cpp | 0 src/{part => plugins}/chn.cpp | 0 src/{part => plugins}/maxn.cpp | 0 src/{part => plugins}/minn.cpp | 0 7 files changed, 7 insertions(+), 7 deletions(-) rename src/include/{mhead.h => ecp.h} (100%) rename src/{part => plugins}/calc.cpp (100%) rename src/{part => plugins}/cg.cpp (100%) rename src/{part => plugins}/chn.cpp (100%) rename src/{part => plugins}/maxn.cpp (100%) rename src/{part => plugins}/minn.cpp (100%) diff --git a/src/include/mhead.h b/src/include/ecp.h similarity index 100% rename from src/include/mhead.h rename to src/include/ecp.h diff --git a/src/main.cpp b/src/main.cpp index 49a3739..6b31a63 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,13 +1,13 @@ //Preview, be careful -#include "./include/mhead.h" -#include "./part/calc.cpp" -#include "./part/maxn.cpp" -#include "./part/minn.cpp" -#include "./part/chn.cpp" -#include "./part/cg.cpp" +#include "./include/ecp.h" +#include "./plugins/calc.cpp" +#include "./plugins/maxn.cpp" +#include "./plugins/minn.cpp" +#include "./plugins/chn.cpp" +#include "./plugins/cg.cpp" -//主函数 +// Main function int main(){ clear(); hy("集成数学工具"); diff --git a/src/part/calc.cpp b/src/plugins/calc.cpp similarity index 100% rename from src/part/calc.cpp rename to src/plugins/calc.cpp diff --git a/src/part/cg.cpp b/src/plugins/cg.cpp similarity index 100% rename from src/part/cg.cpp rename to src/plugins/cg.cpp diff --git a/src/part/chn.cpp b/src/plugins/chn.cpp similarity index 100% rename from src/part/chn.cpp rename to src/plugins/chn.cpp diff --git a/src/part/maxn.cpp b/src/plugins/maxn.cpp similarity index 100% rename from src/part/maxn.cpp rename to src/plugins/maxn.cpp diff --git a/src/part/minn.cpp b/src/plugins/minn.cpp similarity index 100% rename from src/part/minn.cpp rename to src/plugins/minn.cpp