Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. how to remove a class from a projet in VC++?

how to remove a class from a projet in VC++?

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    timbk
    wrote on last edited by
    #1

    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.

    M D 2 Replies Last reply
    0
    • T timbk

      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.

      M Offline
      M Offline
      Maximilien
      wrote on last edited by
      #2

      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.

      T 1 Reply Last reply
      0
      • M Maximilien

        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.

        T Offline
        T Offline
        timbk
        wrote on last edited by
        #3

        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.

        S 1 Reply Last reply
        0
        • T timbk

          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.

          S Offline
          S Offline
          Stuart Dootson
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • T timbk

            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.

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups