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 delete a class?

How to delete a class?

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorialquestion
3 Posts 2 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.
  • K Offline
    K Offline
    kevincwong
    wrote on last edited by
    #1

    Hi, I want to delete a class from my project (class view) butI am not sure that how to do it. I looked through all file, edit menu. I don't see any options to do so. I tried to delete the cpp & h files but I got compilation error, C1083: Cannot open source file:......... Can someone give me some suggestions? Thanks, Kevin

    D 1 Reply Last reply
    0
    • K kevincwong

      Hi, I want to delete a class from my project (class view) butI am not sure that how to do it. I looked through all file, edit menu. I don't see any options to do so. I tried to delete the cpp & h files but I got compilation error, C1083: Cannot open source file:......... Can someone give me some suggestions? Thanks, Kevin

      D Offline
      D Offline
      daojinliu
      wrote on last edited by
      #2

      you should also delete the cpp&h files in the "FILEVIEW" of workspace view(which containing three view,Class view,resource views,fileview),delete the cpp file in the "Soure Files",and delete the h file int the "Header files".Following above steps, you will not get the compilatin error. I LOVE VC -- modified at 21:58 Saturday 15th October, 2005

      K 1 Reply Last reply
      0
      • D daojinliu

        you should also delete the cpp&h files in the "FILEVIEW" of workspace view(which containing three view,Class view,resource views,fileview),delete the cpp file in the "Soure Files",and delete the h file int the "Header files".Following above steps, you will not get the compilatin error. I LOVE VC -- modified at 21:58 Saturday 15th October, 2005

        K Offline
        K Offline
        kevincwong
        wrote on last edited by
        #3

        It works. Thx! Kevin

        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