菜鸟,初学VC,问个简单的问题
例如:#ifndef _GETOPT_H
#define _GETOPT_H
我看过很多程序,里面很多定义都是以下划线开头的,大都是VC自动生成的,有些定义还很长,请问这是什么意思?
例如:#ifndef _GETOPT_H
#define _GETOPT_H
我看过很多程序,里面很多定义都是以下划线开头的,大都是VC自动生成的,有些定义还很长,请问这是什么意思?
如果 没有定义 **定义**end
extern "C" {
#endif /* __cplusplus */ _OVPRIVAPI int optind, opterr, optopt;
_OVPRIVAPI char *optarg; _OVPRIVAPI int getopt(
#ifdef _PROTOTYPES
int, char * const [], const char *
#endif _PROTOTYPES
);
我不是计算系的,现在要我接触这些东东真是痛苦,有人能帮我解释一下上面的程序段吗?
extern "C" {
#endif /* __cplusplus */
是定义一个extern "C" {