temp- ROOT Tutorial: Introduction to C++

Welcome to the Monday afternoon hands-on session. We will focus today on introductory exercises about the C++ language. After the theoretical introduction you followed, you should be able to solve the exercises. Nevertheless two levels of help will be provided: a hint and a full solution. Try not to jump to the solution even if you experience some frustration. The help is organised as follow:

Here the hint is shown.

Here the solution is shown.

Some points linked to the exercises are optional and marked with a Pointing hand icon: they are useful to scrutinise inmore detail some aspects of C++. Try to solve them if you have the time.

C++ is a compiled language and in order to obtain executables the procedure would imply the usage of a compiler. We will take advantage of a powerful feature of ROOT, which allows to compile C++ code without bothering about all the complications linked to the direct usage of the compiler. Here follows a reminder about the way in which you can compile macros from within the cint interpreter.

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2013-02-17 - DaniloPiparo
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback