IFD:EAI SoS21/course material/Session 2: Data Types, Classes and Piezo Amp: Difference between revisions

From Medien Wiki
(Created page with "==Session 2: Basics== You can find (and edit) the code examples from today in the following links: * [https://replit.com/@abnutzer/CppDataTypes#main.cpp Data Types] * [https...")
 
Line 15: Line 15:
   return distance;
   return distance;
}</source> Include that function in our Point2D class and make it calculate the distance!
}</source> Include that function in our Point2D class and make it calculate the distance!
# Last but not least, watch [https://youtu.be/W0aE-w61Cb8 that introductory video about pointers]. We will use pointers next week!
Send me your code via mail or a link to your Repl.it repository until friday!!! Ask if something doesn't work!!!
...
Have fun! :D