uc:unix c 的简称
code1:
#include<stdio.h> int main() { #line 1550//指定下面一行行号为1550 int b=0; printf("%d",a); return 0; }
code2:
#include<stdio.h> #define VERSION 3 #if(VERSION<3) #error "版本低" #elif(VERSION>3) #warning "版本高" #endif #pragma GCC dependency "a.txt"//比较文件修改时间 #pragma GCC poison goto//禁止后面的代码使用 goto关键字 #pragma pack(1)//指定对齐和补齐的基准大小 typedef struct s{ char c1; short int i; int i2; char c2; }ss; int main() { //goto end; printf("helloc c "); printf("size=%d ",sizeof(ss)); end: return 0; }