Standard setup for writing C inspired by Casey Muratori, Ryan Fleury, Mr. 4th Programmer, and others in the handmade community.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 weeks ago
2 weeks ago
2 weeks ago
2 weeks ago
1 week ago
2 weeks ago
1234567891011121314
  1. #include <stdio.h>
  2. #include "core.cpp"
  3. #include "core.h"
  4. int main(int argc, char **argv) {
  5. int statusCode = 0;
  6. initialiseCore();
  7. Arena *arena = arenaAlloc(Megabytes(64));
  8. list<string> args = getArgs(arena, argc, argv);
  9. prinft("%S", strSplit(arena, "-"_s, "hallo-world"_s));
  10. return statusCode;
  11. }