任务:
原样输出给定的文本流。
要求:
在右侧编辑器中的 Begin-End 之间补充代码。原样输出给定的文本流。 文本流如下:
以下内容来自“C:\Program Files (x86)\Windows Kits\Include.0.10240.0\ucrt\stdio.h”:
#define EOF (-1)
_CRTIMP int __cdecl printf(const char *, ...);
#ifndef _INTERNAL_IFSTRIP_
#include
#endif /* _INTERNAL_IFSTRIP_ */
预期输出:
以下内容来自“C:\Program Files (x86)\Windows Kits\Include.0.10240.0\ucrt\stdio.h”:
#define EOF (-1)
_CRTIMP int __cdecl printf(const char *, ...);
#ifndef _INTERNAL_IFSTRIP_
#include
#endif /* _INTERNAL_IFSTRIP_ */
参考:
#include
#include
main()
{
printf("以下内容来自“C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h”:\n#define EOF (-1)\n_CRTIMP int __cdecl printf(const char *, ...);\n#ifndef _INTERNAL_IFSTRIP_\n#include \n#endif /* _INTERNAL_IFSTRIP_ */");
return 0;
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)