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. .ncb and .pch file

.ncb and .pch file

Scheduled Pinned Locked Moved C / C++ / MFC
debuggingquestionannouncement
2 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.
  • B Offline
    B Offline
    big_denny_200
    wrote on last edited by
    #1

    Hi all :) I have a project, created in VS2005. When I enter its directory, inside I have 2 files and 3 folders : Debug, MyProject, Release, MyProject.ncb, MyProject.sln Strange is that MyProject.ncb is 16 MB in size. And other files(folders), together are only 4 MB(If I clear the debug and release folders). Strange is also that MyProject.pch file is 12MB, when Debug folders of my project is not empty. Why are these files so large ? Size of total source files I use is only 3MB. Thank you.

    S 1 Reply Last reply
    0
    • B big_denny_200

      Hi all :) I have a project, created in VS2005. When I enter its directory, inside I have 2 files and 3 folders : Debug, MyProject, Release, MyProject.ncb, MyProject.sln Strange is that MyProject.ncb is 16 MB in size. And other files(folders), together are only 4 MB(If I clear the debug and release folders). Strange is also that MyProject.pch file is 12MB, when Debug folders of my project is not empty. Why are these files so large ? Size of total source files I use is only 3MB. Thank you.

      S Offline
      S Offline
      Sebastian Schneider
      wrote on last edited by
      #2

      NCB is the Intellisense Database. This sometimes messes up BADLY. I have had a NCB-File with a size of 1.2 GB (!!!). Sometimes the Parser will get a hick-up and go crazy. Just delete the file, it's automatically recreated when you reload your project. Looking stuff up (code completion etc.) might be a bit slow, but will soon get back to its old self. The PCH-File is the precompiled header file. You can delete that one as well, it also will be recreated. If it is not there, compiling might take a bit longer (because it has to be recreated). If you do not need recompiled headers, turn them off in the project properties. Cheers, Sebastian -- Contra vim mortem non est medicamen in hortem.

      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