fehlerprogramme geschrieben

This commit is contained in:
Tobias Kachel 2026-03-25 14:44:13 +01:00
parent 4332bbab5f
commit c8490df248
7 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#include <iostream>
int main(){
std::cout << "Hello, World!";

Binary file not shown.

View File

@ -0,0 +1,8 @@
#include <iostream>
using namespace std;
int main(){
int array[3] = {0, 1, 2};
for (int i = 0; i < 10; i++){
cout << array[i] << "\n";
}
}

View File

@ -0,0 +1,2 @@
int addtwo(int s1, int s2)

View File

@ -0,0 +1,9 @@
#include "link.h"
#include <iostream>
int main(){
int a = 1;
int b = 2;
addtwo(a, b);
}

View File

@ -0,0 +1,5 @@
#include <link.h>
int add(int s1, int s2){
return s1 + s2;
}

View File

@ -0,0 +1,6 @@
void function();
int main(){
function();
}