Lesson 8.

This commit is contained in:
unlockable
2022-11-07 13:49:28 +08:00
parent d12429be97
commit 777e33d692
5 changed files with 124 additions and 0 deletions

15
08/test.cpp Normal file
View File

@@ -0,0 +1,15 @@
#include <stdio.h>
#ifndef __x86_64__
#define __x86_64__ 0
#endif
int main() {
printf("x86_64: %d\n", __x86_64__);
printf("arm64: %d\n", __arm64__);
printf("macOS: %d\n", __MAC_13_0);
int a=0;
printf("%d", 5/a);
return 0;
}