Initial commit with some changes

This commit is contained in:
Alexey Norets 2025-09-20 10:49:20 +03:00
parent 6990c899ee
commit 7109fc9e63
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/src/
/*.old
/nob
/a.out

2
nob.c
View File

@ -16,7 +16,7 @@ int main(int argc, char **argv){
if(!file_exists(SRC_FILE)) {
String_Builder sb = {0};
sb_append_cstr(&sb, "\\* Initial 'Hello World' \\*\n");
sb_append_cstr(&sb, "/* Initial 'Hello World' */\n");
sb_append_cstr(&sb, "#include <stdio.h>\n");
sb_append_cstr(&sb, "\nint main()\n");
sb_append_cstr(&sb, "{\n printf(\"Hello, world\\n\");\n");