头文件提 [英] headerfile to mention

查看:77
本文介绍了头文件提的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在表格上显示时间。对于我提到的hfile time.h,在编译时它会给出错误,例如

1> c:\Program Files(x86)\ Microsoft Visual Studio 9.0 \ VCC include\time.h(175):错误C2337:'SA_Pre':找不到属性

fdssf





1> c:\程序文件(x86)\ Microsoft Visual Studio 9.0 \ VC \ include \ time.h(175):错误C2065:'SA_No':未声明的标识符

1> 'SA_No'周围缺少引号()?

1> c:\程序文件(x86)\ Microsoft Visual Studio 9.0 \ VC \ include \ time.h(175) :错误C2337:'SA_Pre':找不到属性

1> c:\Program Files(x86)\ Microsoft Visual Studio 9.0 \ VC \include\time.h(175) :错误C2065:'SA_Yes':未声明的标识符

1> 'SA_Yes'周围缺少引号()?

1> c:\程序文件(x86)\ Microsoft Visual Studio 9.0 \ VC \ include \ time.h(175) :错误C2065:'SA_Read':未声明的标识符



是否有其他hfile我必须提及或做什么。

请帮助我离开了这个。

I want to show time on form. for that i mentioned hfile time.h, at the time of compilation it is giving errors such as
1>c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\time.h(175) : error C2337: 'SA_Pre' : attribute not found
fdssf


1>c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\time.h(175) : error C2065: 'SA_No' : undeclared identifier
1> missing quotes ("") around 'SA_No'?
1>c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\time.h(175) : error C2337: 'SA_Pre' : attribute not found
1>c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\time.h(175) : error C2065: 'SA_Yes' : undeclared identifier
1> missing quotes ("") around 'SA_Yes'?
1>c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\time.h(175) : error C2065: 'SA_Read' : undeclared identifier

is there any other hfile i have to mention or what to do .
please help me in getting out of this.

推荐答案

你有一个定义的宏,它解决了这个错误。它看起来像SA_No到SA_Read的枚举。您应该在代码中的某处找到此类文本。
you have a macro defined which resolves to this error. It looks like a enum of "SA_No" to "SA_Read". You should find such text somewhere in your code.


这篇关于头文件提的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆