Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

C++ Course Taught at CERN, from Sebastien Ponce (LHCb)

License

NotificationsYou must be signed in to change notification settings

hsf-training/cpluspluscourse

Repository files navigation

HSF Training Center

All Contributors

pre-commit.ci statusgh actionsgh actionsgh actions

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

Next events

Please check theIndico agenda.

📎 Getting the latest PDF

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

📹 Video recordings & events

Video recordings are available in the past events.

Checkthis 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 repositorypre-commit install

Spell checking

Spell check is performed with thecodespellpre-commit hook on every commit. To ignore words you can put them in thecodespell.txt file. This file should list the supposedly misspelled words withone 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 thesolution subdirectory. For any<name>.cpp exercise, the solution should be calledsolution/<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 rawMakefile and aCMakeLists.txt.

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

Thecmake tool adds support for building on Windows. It is meant to be used in abuild subdirectory:

mkdir buildcd buildcmake ..makemake solution

For Mentors

Depending on which course is running, consult the schedule for exercise sessions inessentials oradvanced.For mentors, there is acheat 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 theall-contributors specification. Contributions of any kind welcome!


[8]ページ先頭

©2009-2025 Movatter.jp