GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DavidingPlus/cpp-learning: C++ 语言的学习。

BranchesTags
Open more actions menu

Latest commit

 

History

122 Commits
122 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
src
src
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
xmake.lua
xmake.lua
 
 

Repository files navigation

cpp-learning

C、C++ 学习示例按原功能分支整理在 src 下:

  • src/cpp-11-thread:C++11 多线程示例。
  • src/heima:黑马程序员 C++ 课程示例。
  • src/houjie:侯捷 C++ 课程示例。
  • src/laobai:老白 C++ 课程示例。
  • src/professional-cpp:《C++20 高级编程》示例。
  • src/school-course:校内课程与操作系统、网络实验。

构建与运行

项目使用 XMake。src/xmake.lua 包含各课程目录;子目录的 xmake.lua 定义对应的构建目标。例如,src/heima/10.11 的配置位于 src/heima/10.11/xmake.lua。目标名通常由课程名和目录名组成,同目录有多个目标时再追加源文件名。新增示例时,在对应目录的 xmake.lua 注册目标。

xmake show -l targets
xmake build <目标名>
xmake run <目标名>

运行 xmake 可以构建当前平台的默认目标,也可以按目标名单独构建。部分示例依赖 Linux/POSIX 或 GNU 标准库,仅在适用的平台构建。项目默认使用 C++17,部分现代 C++ 示例使用 C++20。

About

C++ 语言的学习。

Topics

cppcpp-learning

Resources

Readme
Activity

Stars

2 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.