在Visual Studio中创建hpp文件 [英] Creation of hpp file in Visual Studio

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

问题描述

在使用Visual Studio将一个新文件添加到项目中时,我希望它是 .hpp ,只有 .h



如何创建 .hpp 文件?

解决方案

当您添加新文件时,您可以将扩展名更改为任何您想要的内容。
只需将名称从Header.h更改为默认名称即可。


When I'm about to add a new file to a project with Visual Studio and I want it to be .hpp, only .h files are available.

How to create .hpp files?

解决方案

You can change the extension to whatever you want when you add a new file. Just change the name from "Header.h" or whatever default it gives you to your chosen name.

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

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