RoPod/Tutorials/C++: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
(Created page with 'Mostly, we program our worldmodel and its functionalities using C++. Not familiar yet with C++? Then it might be usefull to do the following C++ tutorials: # [http://www.cplusplu…')
 
mNo edit summary
 
Line 5: Line 5:
#** For now, use a simple editor such as ''gedit'' (the ubuntu version of Notepad). We will install a more advanced editor (IDE - Integrated Development Environment) later.
#** For now, use a simple editor such as ''gedit'' (the ubuntu version of Notepad). We will install a more advanced editor (IDE - Integrated Development Environment) later.
#** Once you have saved your C++ program (e.g. as ''example.cpp''), it can be compiled from a terminal using:<pre>g++ example.cpp -o example</pre>and run with<pre>./example</pre>
#** Once you have saved your C++ program (e.g. as ''example.cpp''), it can be compiled from a terminal using:<pre>g++ example.cpp -o example</pre>and run with<pre>./example</pre>
# [https://www.youtube.com/watch?v=tvC1WCdV1XU&list=PLAE85DE8440AA6B83 This Youtube Playlist] contains nice tutorials as well, which are easy to understand and fun to watch (you could skip the first video if you want to use another IDE).

Latest revision as of 11:40, 21 February 2019

Mostly, we program our worldmodel and its functionalities using C++. Not familiar yet with C++? Then it might be usefull to do the following C++ tutorials:

  1. cplusplus.com: up to and including Name visibility
  2. MIT's Introduction to C++: up to and including Classes
    • Remarks:
      • For now, use a simple editor such as gedit (the ubuntu version of Notepad). We will install a more advanced editor (IDE - Integrated Development Environment) later.
      • Once you have saved your C++ program (e.g. as example.cpp), it can be compiled from a terminal using:
        g++ example.cpp -o example
        and run with
        ./example
  3. This Youtube Playlist contains nice tutorials as well, which are easy to understand and fun to watch (you could skip the first video if you want to use another IDE).