-
Notifications
You must be signed in to change notification settings - Fork 0
/
src.c
62 lines (41 loc) · 737 Bytes
/
src.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#include <raylib.h>
#include <GLFW/glfw3.h>
#include <stdio.h>
int sub(int x, int y);
void voidFunction();
int add(int x, int y);
int sub(int x, int y) {
return x - y;
}
void voidFunction() {
}
float x = 29;
#define COMPTIME 10;
typedef struct {
float x;
float y;
int z;
} Vec3i;
int a = 29;
float b = 29.0;
char* s = "text";
char c = 'a';
int main() {
int variable = sub(2, 2); // NOTE This works somehow;
int x = 10;
if (x > 3) {
printf("Hello World\n");
}
while (1) {
printf("something\n");
break;
}
sub(3, -1); // ANOTHER
// Comment
printf("Hello!\n");
return 0;
x = 0;
}
int add(int x, int y) {
return x + y;
}