稻草人的梦 2014-03-25 02:21 采纳率: 0%
浏览 2621

stdio.h,stdlib.h,wchar.h报错

VS2010 创建空项目后编译报错如下,望各位大虾给予帮助,谢谢
错误 109 error C1003: 错误计数超过 100;正在停止编译 c:\program files\microsoft visual studio 10.0\vc\include\wchar.h 112 1 fineError
错误 9 error C2059: 语法错误:“)” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 245 1 fineError
错误 19 error C2059: 语法错误:“)” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 247 1 fineError
错误 21 error C2059: 语法错误:“)” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 317 1 fineError
错误 30 error C2059: 语法错误:“)” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 318 1 fineError
错误 37 error C2059: 语法错误:“)” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 321 1 fineError
错误 43 error C2059: 语法错误:“)” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 333 1 fineError
错误 49 error C2059: 语法错误:“)” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 334 1 fineError
错误 55 error C2059: 语法错误:“)” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 335 1 fineError
错误 61 error C2059: 语法错误:“)” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 336 1 fineError
错误 68 error C2059: 语法错误:“)” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 404 1 fineError
错误 87 error C2059: 语法错误:“)” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 680 1 fineError
错误 97 error C2059: 语法错误:“)” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 681 1 fineError
错误 104 error C2059: 语法错误:“)” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 686 1 fineError
错误 20 error C2061: 语法错误: 标识符“_Inout_opt_z_charcap_” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 317 1 fineError
错误 29 error C2062: 意外的类型“char” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 318 1 fineError
错误 36 error C2062: 意外的类型“char” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 321 1 fineError
错误 67 error C2062: 意外的类型“char” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 404 1 fineError
错误 2 error C2065: “_Count”: 未声明的标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 245 1 fineError
错误 11 error C2065: “_Count”: 未声明的标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 247 1 fineError
错误 80 error C2065: “_Count”: 未声明的标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 680 1 fineError
错误 89 error C2065: “_Count”: 未声明的标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 681 1 fineError
错误 99 error C2065: “_Count”: 未声明的标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 686 1 fineError
错误 62 error C2065: “_DstSize”: 未声明的标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 404 1 fineError
错误 1 error C2065: “_ElementSize”: 未声明的标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 245 1 fineError
错误 10 error C2065: “_ElementSize”: 未声明的标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 247 1 fineError
错误 79 error C2065: “_ElementSize”: 未声明的标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 680 1 fineError
错误 88 error C2065: “_ElementSize”: 未声明的标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 681 1 fineError
错误 38 error C2065: “_MaxCount”: 未声明的标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 333 1 fineError
错误 44 error C2065: “_MaxCount”: 未声明的标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 334 1 fineError
错误 50 error C2065: “_MaxCount”: 未声明的标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 335 1 fineError
错误 56 error C2065: “_MaxCount”: 未声明的标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 336 1 fineError
错误 98 error C2065: “_Size”: 未声明的标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 686 1 fineError
错误 23 error C2065: “_SizeInchars”: 未声明的标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 318 1 fineError
错误 31 error C2065: “_SizeInchars”: 未声明的标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 321 1 fineError
错误 22 error C2143: 语法错误 : 缺少“)”(在“;”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 317 1 fineError
错误 40 error C2143: 语法错误 : 缺少“)”(在“const”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 333 1 fineError
错误 46 error C2143: 语法错误 : 缺少“)”(在“const”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 334 1 fineError
错误 52 error C2143: 语法错误 : 缺少“)”(在“const”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 335 1 fineError
错误 58 error C2143: 语法错误 : 缺少“)”(在“const”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 336 1 fineError
错误 101 error C2143: 语法错误 : 缺少“)”(在“const”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 686 1 fineError
错误 8 error C2143: 语法错误 : 缺少“;”(在“*”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 245 1 fineError
错误 18 error C2143: 语法错误 : 缺少“;”(在“*”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 247 1 fineError
错误 86 error C2143: 语法错误 : 缺少“;”(在“*”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 680 1 fineError
错误 96 error C2143: 语法错误 : 缺少“;”(在“*”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 681 1 fineError
错误 25 error C2144: 语法错误:“char”的前面应有“)” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 318 1 fineError
错误 33 error C2144: 语法错误:“char”的前面应有“)” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 321 1 fineError
错误 64 error C2144: 语法错误:“char”的前面应有“)” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 404 1 fineError
错误 4 error C2144: 语法错误:“void”的前面应有“)” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 245 1 fineError
错误 13 error C2144: 语法错误:“void”的前面应有“)” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 247 1 fineError
错误 82 error C2144: 语法错误:“void”的前面应有“)” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 680 1 fineError
错误 91 error C2144: 语法错误:“void”的前面应有“)” c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 681 1 fineError
错误 7 error C2146: 语法错误: 缺少“;”(在标识符“_Count”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 245 1 fineError
错误 17 error C2146: 语法错误: 缺少“;”(在标识符“_Count”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 247 1 fineError
错误 85 error C2146: 语法错误: 缺少“;”(在标识符“_Count”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 680 1 fineError
错误 95 error C2146: 语法错误: 缺少“;”(在标识符“_Count”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 681 1 fineError
错误 15 error C2146: 语法错误: 缺少“;”(在标识符“_DstSize”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 247 1 fineError
错误 66 error C2146: 语法错误: 缺少“;”(在标识符“_DstSize”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 404 1 fineError
错误 93 error C2146: 语法错误: 缺少“;”(在标识符“_DstSize”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 681 1 fineError
错误 6 error C2146: 语法错误: 缺少“;”(在标识符“_ElementSize”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 245 1 fineError
错误 16 error C2146: 语法错误: 缺少“;”(在标识符“_ElementSize”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 247 1 fineError
错误 84 error C2146: 语法错误: 缺少“;”(在标识符“_ElementSize”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 680 1 fineError
错误 94 error C2146: 语法错误: 缺少“;”(在标识符“_ElementSize”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 681 1 fineError
错误 28 error C2146: 语法错误: 缺少“;”(在标识符“_MaxCount”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 318 1 fineError
错误 27 error C2146: 语法错误: 缺少“;”(在标识符“_SizeInchars”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 318 1 fineError
错误 35 error C2146: 语法错误: 缺少“;”(在标识符“_SizeInchars”的前面) c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 321 1 fineError
错误 105 error C2146: 语法错误: 缺少“;”(在标识符“size”的前面) c:\program files\microsoft visual studio 10.0\vc\include\wchar.h 94 1 fineError
错误 108 error C2146: 语法错误: 缺少“;”(在标识符“size”的前面) c:\program files\microsoft visual studio 10.0\vc\include\wchar.h 112 1 fineError
错误 92 error C2448: “_fread_nolock_s”: 函数样式初始值设定项类似函数定义 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 681 1 fineError
错误 83 error C2448: “_fread_nolock”: 函数样式初始值设定项类似函数定义 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 680 1 fineError
错误 26 error C2448: “_snprintf_s”: 函数样式初始值设定项类似函数定义 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 318 1 fineError
错误 65 error C2448: “_sprintf_s_l”: 函数样式初始值设定项类似函数定义 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 404 1 fineError
错误 14 error C2448: “fread_s”: 函数样式初始值设定项类似函数定义 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 247 1 fineError
错误 5 error C2448: “fread”: 函数样式初始值设定项类似函数定义 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 245 1 fineError
错误 34 error C2448: “sprintf_s”: 函数样式初始值设定项类似函数定义 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 321 1 fineError
错误 103 error C2491: “_fwrite_nolock”: 不允许 dllimport 数据 的定义 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 686 1 fineError
错误 48 error C2491: “_snscanf_l”: 不允许 dllimport 数据 的定义 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 334 1 fineError
错误 60 error C2491: “_snscanf_s_l”: 不允许 dllimport 数据 的定义 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 336 1 fineError
错误 54 error C2491: “_snscanf_s”: 不允许 dllimport 数据 的定义 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 335 1 fineError
错误 42 error C2491: “_snscanf”: 不允许 dllimport 数据 的定义 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 333 1 fineError
错误 75 error C3861: “__vswprintf_l”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\swprintf.inl 109 1 fineError
错误 76 error C3861: “__vswprintf_l”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\swprintf.inl 119 1 fineError
错误 39 error C3861: “_In_charcount_”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 333 1 fineError
错误 45 error C3861: “_In_charcount_”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 334 1 fineError
错误 51 error C3861: “_In_charcount_”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 335 1 fineError
错误 57 error C3861: “_In_charcount_”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 336 1 fineError
错误 100 error C3861: “_In_charcount_x_”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 686 1 fineError
错误 3 error C3861: “_Out_charcap_x_”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 245 1 fineError
错误 12 error C3861: “_Out_charcap_x_”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 247 1 fineError
错误 81 error C3861: “_Out_charcap_x_”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 680 1 fineError
错误 90 error C3861: “_Out_charcap_x_”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 681 1 fineError
错误 24 error C3861: “_Out_z_charcap_”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 318 1 fineError
错误 32 error C3861: “_Out_z_charcap_”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 321 1 fineError
错误 63 error C3861: “_Out_z_charcap_”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 404 1 fineError
错误 69 error C3861: “_vswprintf_c_l”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\swprintf.inl 41 1 fineError
错误 70 error C3861: “_vswprintf_c_l”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\swprintf.inl 51 1 fineError
错误 71 error C3861: “_vswprintf_c_l”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\swprintf.inl 65 1 fineError
错误 72 error C3861: “_vswprintf_c_l”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\swprintf.inl 75 1 fineError
错误 73 error C3861: “_vswprintf”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\swprintf.inl 89 1 fineError
错误 74 error C3861: “_vswprintf”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\swprintf.inl 99 1 fineError
错误 77 error C3861: “fgetwc”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 627 1 fineError
错误 78 error C3861: “fputwc”: 找不到标识符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 629 1 fineError
错误 106 error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int c:\program files\microsoft visual studio 10.0\vc\include\wchar.h 94 1 fineError
错误 107 error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int c:\program files\microsoft visual studio 10.0\vc\include\wchar.h 94 1 fineError
警告 41 warning C4229: 使用了记时错误: 忽略数据上的修饰符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 333 1 fineError
警告 47 warning C4229: 使用了记时错误: 忽略数据上的修饰符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 334 1 fineError
警告 53 warning C4229: 使用了记时错误: 忽略数据上的修饰符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 335 1 fineError
警告 59 warning C4229: 使用了记时错误: 忽略数据上的修饰符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 336 1 fineError
警告 102 warning C4229: 使用了记时错误: 忽略数据上的修饰符 c:\program files\microsoft visual studio 10.0\vc\include\stdio.h 686 1 fineError

  • 写回答

1条回答

  • CSDN-Ada助手 CSDN-AI 官方账号 2022-10-25 18:43
    关注
    不知道你这个问题是否已经解决, 如果还没有解决的话:

    如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 写成博客, 将相关链接放在评论区, 以帮助更多的人 ^-^
    评论

报告相同问题?

悬赏问题

  • ¥15 矩阵加法的规则是两个矩阵中对应位置的数的绝对值进行加和
  • ¥15 活动选择题。最多可以参加几个项目?
  • ¥15 飞机曲面部件如机翼,壁板等具体的孔位模型
  • ¥15 vs2019中数据导出问题
  • ¥20 云服务Linux系统TCP-MSS值修改?
  • ¥20 关于#单片机#的问题:项目:使用模拟iic与ov2640通讯环境:F407问题:读取的ID号总是0xff,自己调了调发现在读从机数据时,SDA线上并未有信号变化(语言-c语言)
  • ¥20 怎么在stm32门禁成品上增加查询记录功能
  • ¥15 Source insight编写代码后使用CCS5.2版本import之后,代码跳到注释行里面
  • ¥50 NT4.0系统 STOP:0X0000007B
  • ¥15 想问一下stata17中这段代码哪里有问题呀