how to remove a class from a projet in VC++?
-
Is there any posibility to remove a class from a projet with the class wizard ? i can't find it, or may be there is another way. . thanks.
Can't you just remove the files (.h .cpp) or select and cut/delete the code and (re)build?
This signature was proudly tested on animals.
-
Can't you just remove the files (.h .cpp) or select and cut/delete the code and (re)build?
This signature was proudly tested on animals.
yes i can do that , but there are others files where there are quotes to the classes , once i read a post with 10 steps to completly remove a class, but i can't remember that and i can't find it , besides i wish know if is there some tool to do this job, well there is a tool to create a class, so it would be usefull a tool to remove all calls to the class.
-
yes i can do that , but there are others files where there are quotes to the classes , once i read a post with 10 steps to completly remove a class, but i can't remember that and i can't find it , besides i wish know if is there some tool to do this job, well there is a tool to create a class, so it would be usefull a tool to remove all calls to the class.
Remove the class declaration and definition (i.e. its .h and .cpp files). Then re-build and remove references to the deleted class until the project builds...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
Is there any posibility to remove a class from a projet with the class wizard ? i can't find it, or may be there is another way. . thanks.
With VS6, click the FileView tab in the Workspace window, select the file(s) you want to delete and press the Del key. I don't have one in front of me to check, but similar steps exist for VS200x. This does not actually remove the file from the OS.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons