您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

28 行
420 B

  1. #define _CRT_SECURE_NO_WARNINGS
  2. #include <stdio.h>
  3. #include "./types.hpp"
  4. #include "./hooks.hpp"
  5. Hook h;
  6. s32 main(s32 argc, char* argv[]) {
  7. printf("Hello world");
  8. // system_shutdown_hook << [] {
  9. // printf("Goodbye world\n");
  10. // };
  11. h << []{
  12. printf("Hallo1");
  13. };
  14. h << [] {
  15. printf("Hallo2");
  16. };
  17. h << [] {
  18. printf("Hallo3");
  19. };
  20. h();
  21. return 0;
  22. }