funktionsheader und funktionsnamespace hinzugefügt

This commit is contained in:
2025-10-04 10:47:38 +02:00
parent 2f2c854dc3
commit 3ac7122589
2 changed files with 20 additions and 18 deletions

16
ax_funktions.hpp Normal file
View File

@@ -0,0 +1,16 @@
//Funktionsdeklaration ax_funktions.hpp
#pragma once
namespace ax{
void print_number(int x)
{
std::cout << "Die Zahl ist: " << x << std::endl;
std::cout << "Das doppelte der Zahl ist: " << x*2 << std::endl;
}
int sqrt(int x){
return x*x;
}
}