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. VC++ project/workspace question

VC++ project/workspace question

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++workspace
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.
  • 7 Offline
    7 Offline
    7stud
    wrote on last edited by
    #1

    Hi, I added a .h file and a .cpp file to my project to contain one function I needed. Somewhere along the line, I decided I needed it to be a class function instead, so I moved the declaration to the class header file and defined it in the class source file. Then I tried to delete the .h file and .cpp file with the delete key, and that seemed to work. However, the next time I built the code, a new folder showed up in the File View called External Dependencies, and it contained the .h file I deleted. How do I get rid of that file, or just get everything back to how it was before I tried to do the deleting?

    P 1 Reply Last reply
    0
    • 7 7stud

      Hi, I added a .h file and a .cpp file to my project to contain one function I needed. Somewhere along the line, I decided I needed it to be a class function instead, so I moved the declaration to the class header file and defined it in the class source file. Then I tried to delete the .h file and .cpp file with the delete key, and that seemed to work. However, the next time I built the code, a new folder showed up in the File View called External Dependencies, and it contained the .h file I deleted. How do I get rid of that file, or just get everything back to how it was before I tried to do the deleting?

      P Offline
      P Offline
      Pavel Klocek
      wrote on last edited by
      #2

      You are including the header file somewhere. Delete the #include statement from your source. Pavel Sonork 100.15206

      7 1 Reply Last reply
      0
      • P Pavel Klocek

        You are including the header file somewhere. Delete the #include statement from your source. Pavel Sonork 100.15206

        7 Offline
        7 Offline
        7stud
        wrote on last edited by
        #3

        Yes, it took me awhile, but I thought of that too, and I commented out a line with an include statement I found, but the External Dependencies folder wouldn't go away. After reading your post, I decided to take another look. I had some other errors, from being in the middle of defining another function, and when I commented that function out, I didn't get anymore errors, and the External Dependencies folder disappeared. Thanks.

        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