安装教程

This commit is contained in:
2025-12-26 22:43:20 +08:00
parent 25c971118a
commit b3d417a4d8
2 changed files with 62 additions and 0 deletions

View File

@@ -19,6 +19,40 @@
- **Comprehensive error handling** - Detailed error messages with source locations
- **Clean C++ implementation** - Modern C++23 with RAII and smart pointers
### 🔧 Install
# Installation
## Prerequisites
**Xmake** version **3.0.0 or higher** must be installed on your system.
## Build Instructions
1. Clone the repository:
```bash
git clone https://github.com/PuqiAR/Fig.git
```
2. Navigate to the project directory:
```bash
cd Fig
```
3. Build the project:
```bash
xmake build Fig
```
4. Run the program:
```bash
xmake run Fig [file]
```
Replace `[file]` with the path to your input file.
### 📁 Project Structure
.
├── ExampleCodes # Example programs & performance tests

View File

@@ -19,6 +19,34 @@
- **全面的错误处理** - 带有源码位置的详细错误信息
- **干净的 C++ 实现** - 现代 C++23使用 RAII 和智能指针
### 使用教程
1. 克隆存储库:
```bash
git clone https://github.com/PuqiAR/Fig.git
```
2. 切换到项目目录:
```bash
cd Fig
```
3. 构建项目:
```bash
xmake build Fig
```
4. 运行程序:
```bash
xmake run Fig [file]
```
`[file]`替换为输入文件的路径。
### 📁 项目结构
.
├── ExampleCodes # 示例代码与性能测试样例