Browse Source

C++ hello world

lookup-tables
Stephan Richter 7 years ago
parent
commit
5eb99075fb
  1. 8
      src/main.c
  2. 9
      src/main.cpp

8
src/main.c

@ -1,8 +0,0 @@ @@ -1,8 +0,0 @@
#include<stdio.h>
#include "funktionen.h"
int main() {
int a = 6;
printf("Fakultaet von %d ist %d\n", a, fakultaet(a));
return 0;
}

9
src/main.cpp

@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
#include <iostream>
using namespace std;
int main(){
cout << "Hello World";
return 0;
}
Loading…
Cancel
Save