[追加100分]error C2144: 语法错误 : “int”的前面应有“;”
#pragma once
#define __specstrings
#ifdef __cplusplus
#ifndef __nothrow
# define __nothrow __declspec(nothrow)
#endif
//-------#ifdef POSIX
extern "C" //-------------问题出来这!!-------------------------《〈〈
//extern "c.h"
//%%%%%%% void exit(int);
{
//缺少类型说明符-假定为int
#else
#ifndef __nothrow
# define __nothrow
#endif
#endif /* #ifdef __cplusplus */
.....................(后面我们不考虑吧~~)
上面这段代码!错误出来开始的地方
#pragma once
#define __specstrings
#ifdef __cplusplus
#ifndef __nothrow
# define __nothrow __declspec(nothrow)
#endif
//-------#ifdef POSIX
extern "C" ----这个[extern "C"出错]生成错误提示:(两个错误)
1、error C2144: 语法错误 : “int”的前面应有“;”
2、error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
解决后再追加400分~~~~~