DEV Community

sydney
sydney

Posted on

adding a new file to a DevC++ project

When I create a new project, sooner or later I will want to add in some .h and .cpp files to the project. Selecting new file adds a file into the project and it's name is untitled1! Looking around at the properties menu and everything else that I could find, I still could not find any way of renaming the useless default name of the new file that I added to the project. One work around that I found is to create a new .txt file and rename it, and then add the empty renamed file into the project. I could also remove the untitled file from the project, then rename it to what I need, and then add this one into the project. There should be a simple way to rename the untitled file so I won't have to go through this fiasco!
syd / wt1v

Top comments (1)

Collapse
 
syd_71 profile image
sydney

project/ add to project will work
`