GithubHelp home page GithubHelp logo

gabyrod7 / cpluspluscourse Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hsf-training/cpluspluscourse

0.0 0.0 0.0 23.26 MB

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

License: Apache License 2.0

Shell 0.42% C++ 17.31% Python 0.21% Perl 0.01% TeX 78.19% Makefile 1.38% CMake 2.36% Dockerfile 0.12%

cpluspluscourse's Introduction

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!

cpluspluscourse's People

Contributors

bernhardmgruber avatar hageboeck avatar chavid avatar sponce avatar eguiraud avatar klieret avatar amadio avatar roiser avatar pre-commit-ci[bot] avatar theanalyst avatar graeme-a-stewart avatar krasznaa avatar bcouturi avatar dependabot[bot] avatar pcanal avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.