1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-21 22:35:07 +00:00
serenity/Base/home/anon/Source/little/main.cpp
2020-08-15 15:06:35 +02:00

28 lines
525 B
C++

#include <stdio.h>
#include <sys/stat.h>
#include "other.h"
enum TestEnum {
ValueOne,
ValueTwo
};
struct MyStruct {
int x { -1 };
bool status { false };
TestEnum test_value { ValueOne };
};
int main(int, char**)
{
MyStruct my_struct;
my_struct.status = !my_struct.status;
printf("my_struct.x is %d\n", my_struct.x);
for (int i = 0; i < 3; ++i) {
// This is a comment :^)
func();
printf("Hello friends!\n");
mkdir("/tmp/xyz", 0755);
}
return 0;
}