Skip to content
项目

关于

HSF C++ Course

学习与教育

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+4
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

C++ course

HSF Training Center

All Contributors

pre-commit.ci status gh actions gh actions gh actions

This repository contains all material for the C++ Course taught at CERN from Sebastien Ponce (LHCb).

Next events

Please check the Indico agenda.

📎 Getting the latest PDF

For each commit to master, the slides are compiled to a PDF and uploaded to the download branch.

📹 Video recordings & events

Video recordings are available in the past events.

Check this page for announcements of upcoming training events (including those with this material).

🧰 Development setup

Make sure to install the pre-commit hooks:

pip3 install pre-commit
# cd to repository
pre-commit install

Spell checking

Spell check is performed with the codespell pre-commit hook on every commit. To ignore words you can put them in the codespell.txt file. This file should list the supposedly misspelled words with one word per line and is case-sensitive.

C++ guidelines

  • Prefer "east const" for new stuff.

Exercises guidelines

Instructions for mentors and students

Students should start with the README in the respective exercise folders. These have the basic building instructions, give the name of the main program file, and possibly give a summary of the exercise goals and steps.

Inside the code, one gets more precise help on what should/could be done. If the code is longer and only some parts need to be touched, this is often pointed out with comments.

Solutions to exercises

Each exercise should provide a solution in the solution subdirectory. For any <name>.cpp exercise, the solution should be called solution/<name>.sol.cpp. We invite students to only consult the solution when they completed an exercise or when they are really stuck. The preferred order is:

  1. Work on the exercise and consult the slides
  2. Discuss problems and questions with the class and the mentor
  3. Consult the solution

About building

For the time being, we maintain both a raw Makefile and a CMakeLists.txt.

The make command should work directly on any linux-like system. The make solution command should build the solution.

The cmake tool adds support for building on Windows. It is meant to be used in a build subdirectory:

mkdir build
cd build
cmake ..
make
make solution

For Mentors

Depending on which course is running, consult the schedule for exercise sessions in essentials or advanced. For mentors, there is a cheat sheet with hints towards the solutions and key points to discuss during the exercise sessions.

Contributors ✨

Thanks go to these wonderful people (emoji key):


Abhishek L

🖋

Attila Krasznahorkay

🖋

Bernhard Manfred Gruber

🖋

David Chamont

🖋

Enrico Guiraud

🖋

Graeme A Stewart

🖋

Kilian Lieret

🚇

Sebastien Ponce

🖋

Stefan Roiser

🖋

Stephan Hageboeck

🖋

bcouturi

🖋

This project follows the all-contributors specification. Contributions of any kind welcome!

探索相关项目

加载中…