Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creation of hpp file in Visual Studio

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?

like image 312
MelMed Avatar asked Sep 13 '25 15:09

MelMed


1 Answers

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.

For exmaple

like image 90
doctorlove Avatar answered Sep 16 '25 04:09

doctorlove