⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 strp1.c

📁 this is a gcc file, you can download it and learn its usetility, for further detail please look at t
💻 C
字号:
/* { dg-do run } *//* Regression test for stringizing and token pasting.   We got internal escape markers in the strings.  */#include <string.h>#include <stdlib.h>#define S(x) _S(x)#define _S(x) #x#define I 1static const char s1[] = S(I.1);static const char t1[] = "1.1";#define f h#define h(a) a+fstatic const char s2[] = S( f(1)(2) );static const char t2[] = "1+h(2)";#undef I#undef f#undef hintmain(void){  if (strcmp (s1, t1))    abort ();  if (strcmp (s2, t2))    abort ();  return 0;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -