Two operations to remove a class in VC

  • 2020-04-02 03:02:58
  • OfStack

This article illustrates two methods to delete a class in VC. Share with you for your reference. Specific methods are as follows:

Method one:

Delete the.h and.cpp files in Windows, then open the project, ctrl-w open Class       Wizard, select the Dialog class, and then the Dialog is not found, remove, and then go to File       Select these two files in the view list, press Delete to Delete, this is thorough, otherwise the information will be kept in the.clw file

Method 2:

Delete the corresponding h and CPP files in your project's FileView, and then close the project
Go to the appropriate folder and delete the h and CPP files of this class, as well as that CLW file
Then open the project again
Ctrl+w, select add all, and then re-create a CLW file

Press del in the FileView
And then in the scheme del

Hope that this article described the VC programming for you to help.


Related articles: