C++ linker presentation

This commit is contained in:
2026-02-24 10:21:15 +01:00
parent 0fda0d75fb
commit 6f3d98f388
32 changed files with 788 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#include <iostream>
void vec_add(double a[3], double b[3], double out[3]) {
for (int i = 0; i < 3; i++) out[i] = a[i] + b[i];
}
void vec_print(double v[3]) {
std::cout << "(" << v[0] << ", " << v[1] << ", " << v[2] << ")\n";
}