Första förbindelse 👌
This commit is contained in:
commit
89be4a4a94
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
a.out
|
1
.jävelignorering
Symbolic link
1
.jävelignorering
Symbolic link
@ -0,0 +1 @@
|
||||
.gitignore
|
31
sv.cpp
Normal file
31
sv.cpp
Normal file
@ -0,0 +1,31 @@
|
||||
#define hel int
|
||||
#define hufvud main
|
||||
#define teck char
|
||||
#define pekare *
|
||||
#define dubbelpekare pekare pekare
|
||||
#define referens_till &
|
||||
#define dereferera *
|
||||
#define skrivutf printf
|
||||
#define medans while
|
||||
#define placeras puts
|
||||
#define mall template
|
||||
#define sluta break
|
||||
#define om if
|
||||
#define uppfostra throw
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
hel hufvud(hel arga, teck dubbelpekare argv)
|
||||
{
|
||||
hel i = 0;
|
||||
teck dubbelpekare nuvarande = argv;
|
||||
|
||||
medans (i < arga) {
|
||||
placeras(dereferera nuvarande);
|
||||
nuvarande++;
|
||||
i++;
|
||||
om (i == 3) {
|
||||
sluta;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user