funktionsheader und funktionsnamespace hinzugefügt
This commit is contained in:
16
ax_funktions.hpp
Normal file
16
ax_funktions.hpp
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user