Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.
/ c-cpp Public archive

"Programming Design Based on C/C++" Assignment.

Notifications You must be signed in to change notification settings

waterv/c-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

基于 C/C++ 语言的编程设计

目前进度

  • 项目未确定 (︶︹︺)
  • 决定先用 Dear ImGui 写点益智小游戏试试手.
    • 游戏关卡以 yaml 格式保存并利用 yaml-cpp 库进行解析.
    • 基本完成了 Sudoku (数独) 游戏, 可作为开发其他游戏的示例. 见 game.h, sudoku.cpp/levels/sudoku.
    • 基本完成了 Kakuro (数和) 游戏.

初始化

将项目克隆到本地:

git clone https://github.com/waterv/c-cpp.git

生成工具为 Visual Studio 16 2019 (解决方案平台选择 x86).

自动格式化

安装 clang-format 格式化工具:

# Linux
sudo apt install clang-format

# macOS
brew install clang-format

# Windows 可直接下载 LLVM 二进制文件安装,
# 安装时注意勾选 'Add LLVM to the system PATH'

修改 git 钩子的路径:

git config core.hooksPath .githooks

About

"Programming Design Based on C/C++" Assignment.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages