在Visual Studio(MSVS 2017)中混合使用.h和.hpp或.hxx(以及其他任何)头文件是否安全? [英] Is it safe to mix .h and .hpp or .hxx (and whatever else) header files in Visual Studio (MSVS 2017)?

查看:491
本文介绍了在Visual Studio(MSVS 2017)中混合使用.h和.hpp或.hxx(以及其他任何)头文件是否安全?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据标题,这是一个直截了当的问题。它是否安全,甚至可能吗? (我相信它是。)


我可以混合使用.h和.hpp以及.hxx和.my_header_file_extension吗?


这会导致任何问题吗?


我在C ++ MSVS 2017 Windows 8.1,x86_64上。在此先感谢。

解决方案

Hi Nik-Lz,


欢迎来到MSDN论坛。


看来你的问题是关于C ++的开发,因为我们的论坛是讨论VS IDE,我会帮你把这个帖子移到相应的论坛为了更好的支持,感谢您的理解。



祝你好运,


Sara


As per the title, this is a straight forward question. Is it safe, is it even possible? (I believe it is).

Can I mix .h and .hpp and .hxx and .my_header_file_extension ?

Could it cause any issues?

I am on C++ MSVS 2017 Windows 8.1, x86_64. Thanks in advance.

解决方案

Hi Nik-Lz,

Welcome to the MSDN forum.

It seems your issue is about the C++ development, since our forum is to discuss the VS IDE, I will help you move this thread to the appropriate forum for a better support, thank you for your understanding.

Best regards,

Sara


这篇关于在Visual Studio(MSVS 2017)中混合使用.h和.hpp或.hxx(以及其他任何)头文件是否安全?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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