我定义了一些结构,有没有办法不让这些结构在类视图中显示,太多了看这烦

解决方案 »

  1.   

    Exclude the class .h file in your project,only add the .cpp file into your project!Cut from file view in vc++!
      

  2.   

    你可以建一個目錄把不常用的類全部放進去。
    右鍵單機類視圖中的工程名稱選 new Folder
    類名可以拖
      

  3.   

    phiger(phiger) ( ) 但是我还是想把他们加到工程中来
     gentlelion(Zero) ( ) 这个方法不太好,不知道是不是我用盗版VC的缘故,拉倒文件夹的东西经常自己跑出来,不好
    我记以前有人发的帖子是在类的定义前后加一个什么标识符,就可以了.可是早不到那个帖子了
      

  4.   

    waiting >>>>>>>>>>>>>>>>>>>>>
      

  5.   

    only not add the .h files into the project to not see it in class view, but your .cpp include your all .h files used!
      

  6.   

    類視圖保存在.clw文件中,你調整好了之後將.clw文件改爲只讀或者備份一下
      

  7.   

    简单的办法:在"FileView"视的“Header Files”中删除此类的.H文件(注意保留.CPP文件)即可。