Mini C++ Lab

Marco Tarini
Università degli Studi di Milano
2024/2025

What this is not: The C++ MiniLab is not part of any course, and is not related to the exam of any course.
It is not, by any means, mandatory.

What this is: The C++ MiniLab is an occasion given to the students to learn C++, by coding, as an example, the 3D math concepts that are used in courses such as 3DVG, Computer Graphics, and others. The C++ language is not a subject of any of these courses, or of their exams, but it's one of the de-facto standard languages of 3D graphics and videoGames.

When: Every Monday, 18:00.

Where: Omega room

How long: Approx 1.0h per meeting.

Language: English

How to partecipate: Just bring a (fully charged!) laptop, with some IDE installed (e.g. Visual Studio) and a C++ compliler; make sure that you can already compile and exectue a "hello world" program.

Code:
01 2025-03-03
(Monday)
18:00..19:00
Omega Room
Kick-off: a class for 3D vectors main.cpp
02 2025-03-10
(Monday)
18:00..19:00
Omega Room
Cross, dot and testing. main.cpp
03 2025-03-17
(Monday)
18:00..19:00
Omega Room
Multi file. More operations. c++lab03.zip
04 2025-03-24
(Monday)
18:30..19:30
Omega Room
Ray-sphere intersection. c++lab04.zip
05 2025-03-31
(Monday)
18:30..19:30
Omega Room
Next Lab!