Embedded Motion Control/Tutorials: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
#** 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> | ||
# [[ Embedded Motion Control/Tutorials/Installing | # [[ Embedded Motion Control/Tutorials/Installing the EMC environment | Installing the EMC environment ]] | ||
<!-- | <!-- |
Revision as of 14:53, 28 April 2015
- Introduction
- Installing Ubuntu
- Customizing Ubuntu
- Do the following C++ tutorials:
- cplusplus.com: up to and including Name visibility
- 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