mirror of
https://github.com/lucaspalomodevelop/cpp_stuff.git
synced 2026-03-12 22:47:22 +00:00
21 lines
342 B
C++
21 lines
342 B
C++
#include "hund.cpp"
|
|
#include "katze.cpp"
|
|
#include "tier.cpp"
|
|
#include <stdio.h>
|
|
#include <iostream>
|
|
#include <string>
|
|
|
|
int main()
|
|
{
|
|
tier arr[2];
|
|
arr[0] = katze();
|
|
arr[1] = hund();
|
|
|
|
for (size_t i = 0; i < 2; i++)
|
|
{
|
|
std::string laut = arr[i].getLaut();
|
|
std::cout << laut << std::endl;
|
|
}
|
|
|
|
return 0;
|
|
} |