mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-14 23:22:52 +00:00
Base: Move "js" and "little" HackStudio projects into ~/Source/
This commit is contained in:
parent
bc615572a9
commit
db450dbc44
Notes:
sideshowbarker
2024-07-19 04:15:46 +09:00
Author: https://github.com/awesomekling
Commit: db450dbc44
28 changed files with 1 additions and 1 deletions
26
Base/home/anon/Source/little/main.cpp
Normal file
26
Base/home/anon/Source/little/main.cpp
Normal file
|
@ -0,0 +1,26 @@
|
|||
#include <stdio.h>
|
||||
#include <sys/stat.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 :^)
|
||||
printf("Hello friends!\n");
|
||||
mkdir("/tmp/xyz", 0755);
|
||||
}
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue