templeteFunktion allgemein und speziell eingefügt

This commit is contained in:
2025-10-04 15:26:39 +02:00
parent dca133f8ea
commit 98bbf386bf
2 changed files with 38 additions and 3 deletions

View File

@@ -1,8 +1,10 @@
#include <iostream>
#include <string>
#include "ax_funktions.hpp"
int number = 12;
char Buchstabe = 'a';
main()
{
@@ -19,8 +21,17 @@ main()
ax::print_number(ax::sqrt(3));
std::cout << "a " << "wird zu: " << ax::shift('a')<< std::endl;
for (int i = 0; i < 26; i++)
{
ax::print_char(Buchstabe+i);
std::cout<< " wird zu: " << ax::shift(Buchstabe + i)<< std::endl;
}
double testdouble = 3.1416;
ax::ausgebene(Buchstabe);
ax::ausgebene(42);
ax::ausgebene(true);
ax::ausgebene(testdouble);
//test
};