当前位置:   article > 正文

C++小程序崩溃_严重性代码说明项目文件行禁止显示状态 错误(活动)e0260缺少显式类型(假

严重性代码说明项目文件行禁止显示状态 错误(活动)e0260缺少显式类型(假
  •  
  1. #include <iostream>
  2. using std::cin; using std::cout; using std::endl;
  3. #include <string>
  4. using std::string;
  5. #include <cstddef>
  6. using std::size_t;
  7. int main()
  8. {
  9. const string hexdigits = "0123456789ABCDEF"; // possible hex digits
  10. cout << "Enter a series of numbers between 0 and 15"
  11. << " separated by spaces. Hit ENTER when finished: "
  12. << endl;
  13. string result; // will hold the resulting hexify'd string
  14. string::size_type n; // hold numbers from the input
  15. while (cin >> n)
  16. if (n < hexdigits.size()) // ignore invalid input
  17. result += hexdigits[n]; // fetch the indicated hex digit
  18. cout << "Your hex number is: " << result << endl;
  19. return 0;
  20. }
  1. #include<cstddef>这个头文件和using std::size_t的作用,这里注释掉这两行没有出现warning和error。
  2. 对于while(cin >> n)这个循环,文本写着键入回车结束。实际情况却是输入任何一个非int的输入结束。

在我自己的demo_code.cpp运行该程序又出现如下错误:

猜测可能性:1.某个库出现了问题2.宏定义出现错误

  1. 严重性 代码 说明 项目 文件 行 禁止显示状态
  2. 错误(活动) E0020 未定义标识符 "_CoreCrtSecureSearchSortCompareFunction" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_search.h 88
  3. 错误(活动) E0337 链接规范与前面的 "_copysign" (已声明 所在行数:499,所属文件:"C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math.h") 不兼容 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\float.h 308
  4. 错误(活动) E0337 链接规范与前面的 "_chgsign" (已声明 所在行数:497,所属文件:"C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math.h") 不兼容 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\float.h 309
  5. 错误(活动) E0337 链接规范与前面的 "abort" (已声明 所在行数:56,所属文件:"C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h") 不兼容 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_terminate.h 28
  6. 错误(活动) E0260 缺少显式类型(假定“int”) demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\yvals.h 333
  7. 错误(活动) E0077 此声明没有存储类或类型说明符 demo_code D:\code\demo_code\demo_code.cpp 5
  8. 错误(活动) E0077 此声明没有存储类或类型说明符 demo_code D:\code\demo_code\demo_code.cpp 33
  9. 错误(活动) E0655 此声明中不允许使用 "__inline" 修饰符 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 296
  10. 错误(活动) E0655 此声明中不允许使用 "__inline" 修饰符 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 711
  11. 错误(活动) E0655 此声明中不允许使用 "__inline" 修饰符 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\wchar.h 180
  12. 错误(活动) E0279 析构函数声明无效 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\yvals.h 334
  13. 错误(活动) E0145 未能初始化 变量 "_wfreopen_s" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 151
  14. 错误(活动) E0145 未能初始化 变量 "_wfopen_s" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 136
  15. 错误(活动) E0145 未能初始化 变量 "_getwc_nolock" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 232
  16. 错误(活动) E0145 未能初始化 变量 "_fgetwc_nolock" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 221
  17. 错误(活动) E0145 未能初始化 变量 "getwc" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 66
  18. 错误(活动) E0020 未定义标识符 "_Stream" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 67
  19. 错误(活动) E0020 未定义标识符 "_Stream" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 137
  20. 错误(活动) E0020 未定义标识符 "_Stream" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 152
  21. 错误(活动) E0020 未定义标识符 "_Stream" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 222
  22. 错误(活动) E0020 未定义标识符 "_Stream" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 233
  23. 错误(活动) E0020 未定义标识符 "_OldStream" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 155
  24. 错误(活动) E0020 未定义标识符 "_Mode" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 139
  25. 错误(活动) E0020 未定义标识符 "_Mode" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 154
  26. 错误(活动) E0020 未定义标识符 "_ino_t" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\sys\types.h 18
  27. 错误(活动) E0020 未定义标识符 "_HFILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\crtdbg.h 650
  28. 错误(活动) E0020 未定义标识符 "_HFILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\crtdbg.h 652
  29. 错误(活动) E0020 未定义标识符 "_FileName" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 138
  30. 错误(活动) E0020 未定义标识符 "_FileName" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 153
  31. 错误(活动) E0020 未定义标识符 "_F" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\wchar.h 181
  32. 错误(活动) E0020 未定义标识符 "_CRT_REPORT_HOOK" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\crtdbg.h 664
  33. 错误(活动) E0020 未定义标识符 "_CRT_REPORT_HOOK" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\crtdbg.h 669
  34. 错误(活动) E0020 未定义标识符 "_CRT_REPORT_HOOK" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\crtdbg.h 670
  35. 错误(活动) E0020 未定义标识符 "_CRT_REPORT_HOOK" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\crtdbg.h 675
  36. 错误(活动) E0020 未定义标识符 "_CoreCrtSecureSearchSortCompareFunction" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_search.h 69
  37. 错误(活动) E0020 未定义标识符 "_CoreCrtNonSecureSearchSortCompareFunction" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_search.h 53
  38. 错误(活动) E0020 未定义标识符 "_CoreCrtNonSecureSearchSortCompareFunction" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_search.h 60
  39. 错误(活动) E0020 未定义标识符 "_CoreCrtNonSecureSearchSortCompareFunction" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_search.h 79
  40. 错误(活动) E0020 未定义标识符 "_CoreCrtNonSecureSearchSortCompareFunction" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_search.h 98
  41. 错误(活动) E0020 未定义标识符 "_CoreCrtNonSecureSearchSortCompareFunction" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_search.h 196
  42. 错误(活动) E0020 未定义标识符 "_CoreCrtNonSecureSearchSortCompareFunction" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_search.h 205
  43. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 274
  44. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 283
  45. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 292
  46. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 1020
  47. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 1032
  48. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 1043
  49. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 1053
  50. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 1078
  51. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 1099
  52. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 1109
  53. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 1126
  54. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 1488
  55. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 1497
  56. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 1840
  57. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 1867
  58. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 1898
  59. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 1907
  60. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 1924
  61. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 1940
  62. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 1959
  63. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\crtdbg.h 631
  64. 错误(活动) E0020 未定义标识符 "va_list" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\crtdbg.h 641
  65. 错误(活动) E0020 未定义标识符 "uintptr_t" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\atomic 2014
  66. 错误(活动) E0020 未定义标识符 "uintptr_t" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\system_error 105
  67. 错误(活动) E0020 未定义标识符 "uintptr_t" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\system_error 107
  68. 错误(活动) E0020 未定义标识符 "uintptr_t" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\system_error 109
  69. 错误(活动) E0020 未定义标识符 "uintptr_t" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\vcruntime.h 345
  70. 错误(活动) E0020 未定义标识符 "uintptr_t" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\vcruntime.h 353
  71. 错误(活动) E0020 未定义标识符 "uintptr_t" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h 274
  72. 错误(活动) E0020 未定义标识符 "uintptr_t" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h 287
  73. 错误(活动) E0020 未定义标识符 "uintptr_t" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stddef.h 53
  74. 错误(活动) E0020 未定义标识符 "uintptr_t" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h 163
  75. 错误(活动) E0020 未定义标识符 "true_type" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\exception 397
  76. 错误(活动) E0020 未定义标识符 "true_type" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xmemory 722
  77. 错误(活动) E0020 未定义标识符 "true_type" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xmemory 841
  78. 错误(活动) E0020 未定义标识符 "true_type" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xmemory 842
  79. 错误(活动) E0020 未定义标识符 "true_type" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring 691
  80. 错误(活动) E0020 未定义标识符 "true_type" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring 736
  81. 错误(活动) E0020 未定义标识符 "true_type" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring 781
  82. 错误(活动) E0020 未定义标识符 "true_type" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring 843
  83. 错误(活动) E0020 未定义标识符 "true_type" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xutility 5090
  84. 错误(活动) E0020 未定义标识符 "true_type" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xutility 5090
  85. 错误(活动) E0020 未定义标识符 "true_type" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xutility 5095
  86. 错误(活动) E0020 未定义标识符 "true_type" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xutility 5095
  87. 错误(活动) E0020 未定义标识符 "true_type" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xutility 5101
  88. 错误(活动) E0020 未定义标识符 "true_type" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xutility 5107
  89. 错误(活动) E0020 未定义标识符 "true_type" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xutility 5142
  90. 错误(活动) E0020 未定义标识符 "string" demo_code D:\code\demo_code\demo_code.cpp 16
  91. 错误(活动) E0020 未定义标识符 "string" demo_code D:\code\demo_code\demo_code.cpp 21
  92. 错误(活动) E0020 未定义标识符 "nothrow_t" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xlocale 72
  93. 错误(活动) E0020 未定义标识符 "nothrow_t" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xlocale 80
  94. 错误(活动) E0020 未定义标识符 "n" demo_code D:\code\demo_code\demo_code.cpp 24
  95. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 58
  96. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 67
  97. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 79
  98. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 85
  99. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 104
  100. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 120
  101. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 124
  102. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 130
  103. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 137
  104. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 144
  105. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 147
  106. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 152
  107. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 155
  108. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 159
  109. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 172
  110. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 222
  111. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 228
  112. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 233
  113. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 239
  114. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 245
  115. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 271
  116. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 280
  117. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 289
  118. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 297
  119. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 712
  120. 错误(活动) E0020 未定义标识符 "FILE" demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\wchar.h 181
  121. 错误(活动) E0020 未定义标识符 "endl" demo_code D:\code\demo_code\demo_code.cpp 20
  122. 错误(活动) E0020 未定义标识符 "cout" demo_code D:\code\demo_code\demo_code.cpp 18
  123. 错误(活动) E0020 未定义标识符 "cin" demo_code D:\code\demo_code\demo_code.cpp 24
  124. 错误(活动) E0029 应输入表达式 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\yvals.h 342
  125. 错误(活动) E0029 应输入表达式 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\yvals.h 343
  126. 错误(活动) E0040 应输入标识符 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\ostream 36
  127. 错误(活动) E0110 应输入定义或标记名 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\system_error 109
  128. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cmath 877
  129. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cstdlib 84
  130. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\vadefs.h 167
  131. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\vadefs.h 196
  132. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\vadefs.h 197
  133. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\vcruntime.h 361
  134. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\vcruntime_new.h 44
  135. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\vcruntime_new.h 198
  136. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\vcruntime_new_debug.h 61
  137. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xtr1common 244
  138. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\yvals.h 340
  139. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\yvals.h 345
  140. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\yvals.h 349
  141. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\yvals.h 351
  142. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\yvals.h 484
  143. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h 2011
  144. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_malloc.h 228
  145. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math.h 994
  146. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_search.h 212
  147. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdlib.h 479
  148. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\crtdbg.h 809
  149. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stddef.h 57
  150. 错误(活动) E0169 应输入声明 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h 1366
  151. 错误(活动) E0065 应输入“;” demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\ostream 36
  152. 错误(活动) E0065 应输入“;” demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\sal.h 2361
  153. 错误(活动) E0065 应输入“;” demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\system_error 109
  154. 错误(活动) E0065 应输入“;” demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xlocale 267
  155. 错误(活动) E0065 应输入“;” demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\yvals.h 342
  156. 错误(活动) E0065 应输入“;” demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\yvals.h 343
  157. 错误(活动) E0065 应输入“;” demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 305
  158. 错误(活动) E0065 应输入“;” demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 720
  159. 错误(活动) E0065 应输入“;” demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\wchar.h 184
  160. 错误(活动) E0065 应输入“;” demo_code D:\code\demo_code\demo_code.cpp 14
  161. 错误(活动) E0065 应输入“;” demo_code D:\code\demo_code\demo_code.cpp 23
  162. 错误(活动) E0018 应输入“)” demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\ostream 36
  163. 错误(活动) E0018 应输入“)” demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 297
  164. 错误(活动) E0018 应输入“)” demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 712
  165. 错误(活动) E0018 应输入“)” demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\wchar.h 182
  166. 错误(活动) E0147 声明与 "void __cdecl _Lockit_dtor(int)" (已声明 所在行数:338) 不兼容 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\yvals.h 343
  167. 错误(活动) E0147 声明与 "void __cdecl _Lockit_ctor(int)" (已声明 所在行数:337) 不兼容 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\yvals.h 342
  168. 错误(活动) E0276 后面有“::”的名称一定是类名或命名空间名 demo_code D:\code\demo_code\demo_code.cpp 23
  169. 错误(活动) E0757 函数 "_Lockit" 不是类型名 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xlocinfo 301
  170. 错误(活动) E0757 函数 "_Lockit" 不是类型名 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\yvals.h 347
  171. 错误(活动) E0757 函数 "_Lockit" 不是类型名 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\yvals.h 347
  172. 错误(活动) E0282 全局范围没有 "wscanf" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 59
  173. 错误(活动) E0282 全局范围没有 "wprintf" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 58
  174. 错误(活动) E0282 全局范围没有 "wmemset" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 85
  175. 错误(活动) E0282 全局范围没有 "wmemmove" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 84
  176. 错误(活动) E0282 全局范围没有 "wmemcpy" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 83
  177. 错误(活动) E0282 全局范围没有 "wmemcmp" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 82
  178. 错误(活动) E0282 全局范围没有 "wmemchr" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 81
  179. 错误(活动) E0282 全局范围没有 "wcsxfrm" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 79
  180. 错误(活动) E0282 全局范围没有 "wcstok" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 78
  181. 错误(活动) E0282 全局范围没有 "wcsstr" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 77
  182. 错误(活动) E0282 全局范围没有 "wcsspn" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 74
  183. 错误(活动) E0282 全局范围没有 "wcsrchr" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 73
  184. 错误(活动) E0282 全局范围没有 "wcspbrk" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 72
  185. 错误(活动) E0282 全局范围没有 "wcsncpy" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 71
  186. 错误(活动) E0282 全局范围没有 "wcsncmp" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 70
  187. 错误(活动) E0282 全局范围没有 "wcsncat" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 69
  188. 错误(活动) E0282 全局范围没有 "wcslen" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 68
  189. 错误(活动) E0282 全局范围没有 "wcsftime" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 86
  190. 错误(活动) E0282 全局范围没有 "wcscspn" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 67
  191. 错误(活动) E0282 全局范围没有 "wcscpy" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 66
  192. 错误(活动) E0282 全局范围没有 "wcscoll" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 65
  193. 错误(活动) E0282 全局范围没有 "wcscmp" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 64
  194. 错误(活动) E0282 全局范围没有 "wcschr" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 63
  195. 错误(活动) E0282 全局范围没有 "wcscat" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 62
  196. 错误(活动) E0282 全局范围没有 "vwscanf" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 90
  197. 错误(活动) E0282 全局范围没有 "vwprintf" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 56
  198. 错误(活动) E0282 全局范围没有 "vfwscanf" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 88
  199. 错误(活动) E0282 全局范围没有 "vfwprintf" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 54
  200. 错误(活动) E0282 全局范围没有 "uintptr_t" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cstdint 52
  201. 错误(活动) E0282 全局范围没有 "uintptr_t" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cstdint 86
  202. 错误(活动) E0282 全局范围没有 "tm" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 32
  203. 错误(活动) E0282 全局范围没有 "swscanf" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 52
  204. 错误(活动) E0282 全局范围没有 "mbsinit" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 48
  205. 错误(活动) E0282 全局范围没有 "fwscanf" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 42
  206. 错误(活动) E0282 全局范围没有 "fwprintf" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 41
  207. 错误(活动) E0282 全局范围没有 "fgetwc" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\cwchar 36
  208. 错误(活动) E0254 不允许使用类型名 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\yvals.h 342
  209. 错误(活动) E0254 不允许使用类型名 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 138
  210. 错误(活动) E0254 不允许使用类型名 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 139
  211. 错误(活动) E0254 不允许使用类型名 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 153
  212. 错误(活动) E0254 不允许使用类型名 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 154
  213. 错误(活动) E0254 不允许使用类型名 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 297
  214. 错误(活动) E0254 不允许使用类型名 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h 712
  215. 错误(活动) E0254 不允许使用类型名 demo_code C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\wchar.h 182
  216. 错误(活动) E0070 不允许使用不完整的类型 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\istream 47
  217. 错误(活动) E0070 不允许使用不完整的类型 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\ostream 36
  218. 错误(活动) E0070 不允许使用不完整的类型 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\streambuf 29
  219. 错误(活动) E0070 不允许使用不完整的类型 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xlocale 265
  220. 错误(活动) E0771 不允许使用“explicit” demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\yvals.h 333
  221. 错误(活动) E0341 “operator=”必须是成员函数 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\yvals.h 347
  222. 错误(活动) E1447 __thiscall 只能出现在非静态成员函数声明中 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\yvals.h 333
  223. 错误(活动) E0135 namespace "std" 没有成员 "true_type" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\type_traits 2357
  224. 错误(活动) E0135 namespace "std" 没有成员 "remove_volatile" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\type_traits 2356
  225. 错误(活动) E0135 namespace "std" 没有成员 "remove_reference" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\type_traits 2355
  226. 错误(活动) E0135 namespace "std" 没有成员 "remove_cv" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\type_traits 2352
  227. 错误(活动) E0135 namespace "std" 没有成员 "remove_const" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\type_traits 2351
  228. 错误(活动) E0135 namespace "std" 没有成员 "nothrow_t" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\vcruntime_new.h 55
  229. 错误(活动) E0135 namespace "std" 没有成员 "nothrow_t" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\vcruntime_new.h 66
  230. 错误(活动) E0135 namespace "std" 没有成员 "nothrow_t" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\vcruntime_new.h 75
  231. 错误(活动) E0135 namespace "std" 没有成员 "nothrow_t" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\vcruntime_new.h 84
  232. 错误(活动) E0135 namespace "std" 没有成员 "is_same" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\type_traits 2340
  233. 错误(活动) E0135 namespace "std" 没有成员 "is_integral" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\type_traits 2331
  234. 错误(活动) E0135 namespace "std" 没有成员 "is_floating_point" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\type_traits 2328
  235. 错误(活动) E0135 namespace "std" 没有成员 "is_arithmetic" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\type_traits 2319
  236. 错误(活动) E0135 namespace "std" 没有成员 "integral_constant" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\type_traits 2317
  237. 错误(活动) E0135 namespace "std" 没有成员 "false_type" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\type_traits 2315
  238. 错误(活动) E0135 namespace "std" 没有成员 "enable_if" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\type_traits 2313
  239. 错误(活动) E0135 namespace "std" 没有成员 "conditional" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\type_traits 2311
  240. 错误(活动) E0864 integral_constant 不是模板 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\utility 513
  241. 错误(活动) E0864 integral_constant 不是模板 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\utility 518
  242. 错误(活动) E0135 class "is_same<char, char>" 没有成员 "value" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xtr1common 166
  243. 错误(活动) E0135 class "enable_if<<error-constant>, void>" 没有成员 "type" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xtr1common 54
  244. 错误(活动) E0135 class "disjunction<is_same<char, char>, is_same<char, wchar_t>, is_same<char, unsigned short>>" 没有成员 "value" demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xtr1common 171
  245. 错误(活动) E0864 bool_constant 不是模板 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xtr1common 42
  246. 错误(活动) E0864 bool_constant 不是模板 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xtr1common 84
  247. 错误(活动) E0864 bool_constant 不是模板 demo_code C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xutility 52
  1. #define DEMO
  2. #ifdef DEMO
  3. #endif//DEMO
  4. //当文件头部加入这个宏定义时,出现奇怪错误,可能是因为某个重要的库里也定义了一个同样的宏

更改宏定义DEMOW为之后依旧如此

但是注释掉之后,问题消失

奇怪的是,似乎不是库里有一个同样的宏,因为定义不同的宏,只要在开头定义都会出现这样子的奇怪状况

玄学,上面同样的代码,删掉重新再写一遍,结果就不一样了,很奇怪

  1. //#define DEMOW
  2. #ifdef DEMOW
  3. #endif//DEMOW
  4. #define DEMOW
  5. #ifdef DEMOW
  6. #endif // DEMOW
  7. //#define DEMOW
  8. #ifdef DEMOW
  9. #endif//DEMOW

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/134709
推荐阅读
相关标签
  

闽ICP备14008679号