关于头文件的疑问 [英] Regarding doubts about header files

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

问题描述

您好我无法编辑和修改visual studio 2010的include文件夹中头文件中的内容,也是在修改头文件完成后我甚至无法使用其他名称保存它。所以,你们可以帮助我们吗?

Hi I am not able to edit and modify the content present in the header file in include folder of visual studio 2010, also after the completion of modifying the header file I am not able to save it even with a different name.So, can you guys please help me out ?

推荐答案

为什么要更改Visual Studio的标准头文件?图书馆需要它们。我认为你没有资源来构建新的Microsoft库?或者你在为微软工作(那么为什么要问这里?)?

Why do you want to change the standard header files of Visual Studio? They are needed for the libraries. I think you don't have the source to build new Microsoft libraries? Or are you working for Microsoft (then why ask here?)?

如果你需要使用标准头文件类的专门函数,你应该自己编写它们。例如。创建一个派生自标准类的类。

If you need specialized functions using classes of the the standard header files, you should write them on your own. E.g. create a class derived from a standard class.

class CMyButton : public CButton
{
   ... do the things here that you wanted to do in the VS headers
};
class CMyString : public CString
{
   ... do the things here that you wanted to do in the VS headers
};


问候,Guido

Regards, Guido


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

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