Are you an EPFL student looking for a semester project?
Work with us on data science and visualisation projects, and deploy your project as an app on top of Graph Search.
This lecture covers the concepts of blocks, functions, and references in C++. It explains the scope of variables within blocks, the difference between local and global variables, and the usage of functions with examples. It also delves into the concept of interfaces, header files, and the importance of distinguishing between function usage and implementation. Additionally, it discusses returning arrays and matrices from functions, input with pointers, default parameter values, polymorphism, recursive functions, and pointers to functions. The lecture concludes with a detailed explanation of references and their practical syntax in C++, highlighting their differences from pointers.