templeteFunktion allgemein und speziell eingefügt
This commit is contained in:
17
main.cpp
17
main.cpp
@@ -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
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user