diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-11-18 19:01:50 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-11-18 19:01:50 +0100 |
commit | 7b3f1218be3e333c955e867ceed4652eadbaffd1 (patch) | |
tree | 580df0b76ca634ba1c0dd8f783a2567541abad63 /Base/home/anon/little/main.cpp | |
parent | 0e9e70ca4fe1ab1fafd7b403da7cc0c6a8d65954 (diff) | |
download | serenity-7b3f1218be3e333c955e867ceed4652eadbaffd1.zip |
little: Make this build by default, and add some curlies
Diffstat (limited to 'Base/home/anon/little/main.cpp')
-rw-r--r-- | Base/home/anon/little/main.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Base/home/anon/little/main.cpp b/Base/home/anon/little/main.cpp index 87912293ca..3cd4932ea5 100644 --- a/Base/home/anon/little/main.cpp +++ b/Base/home/anon/little/main.cpp @@ -1,9 +1,12 @@ #include <stdio.h> +#include <sys/stat.h> int main(int, char**) { - // This is a comment :^) - printf("Hello friends!\n"); - mkdir("/tmp/xyz", 0755); + for (int i = 0; i < 3; ++i) { + // This is a comment :^) + printf("Hello friends!\n"); + mkdir("/tmp/xyz", 0755); + } return 0; } |