Skip to content

Offliners/RobotLab-Cpp-Training-2022

Repository files navigation

cover

NTUME Robot Lab - C++ Training

2022/03/19 released

Report : pdf

Test Content (2022/6/3 released)

Detail : pdf

Update log : log

Solution (2022/06/29 released) : Link

Environment

  • Docker - Ubuntu:18.04
  • WSL2 - Ubuntu18.04
  • gcc & g++ version : 7.5.0

Docker

$ git clone https://github.com/Offliners/RobotLab-Cpp-Training-2022.git
$ cd RobotLab-Cpp-Training-2022/docker
$ docker build -t cpp_training . --no-cache
$ docker run cpp_training

Usage

  • 使用Makefile
$ git clone https://github.com/Offliners/RobotLab-Cpp-Training-2022.git
$ cd RobotLab-Cpp-Training-2022
$ make                      // 編譯所有檔案來產生執行檔,執行檔都放在build資料夾中
$ cd build
$ ./hello                   // 執行hello執行檔
Hello World!
$ make clean                // 使用完畢後可以輸入此指令來刪除所有執行檔
  • 使用CMakeLists.txt
$ git clone https://github.com/Offliners/RobotLab-Cpp-Training-2022.git
$ mkdir build               // 建立build資料夾來放個專案
$ cd build                  // 前往build
$ cmake ..                  // 產生Makefile
$ make                      // 編譯來產生執行檔,執行檔都在各專案資料夾中
$ cd Hello                  // 前往Hello
$ ./hello                   // 執行hello執行檔
Hello World!
$ cd ..
$ make clean                // 使用完畢後可以輸入此指令來刪除所有執行檔

About

NTUME Robot Lab C++ Training (date : 2022/03/19)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published