编译错误说
语法错误  :标识符 CString

解决方案 »

  1.   

    恩。。  
    我在几个头文件里都加了afx.h
    结果。。 怎么办?
    WINDOWS.H already included.  MFC apps must not #include <windows.h>
      

  2.   

    #include "stdafx.h"或是 
    #include "afx.h"  就可以了,把#include <windows.h> 删了~ 几个文件都加也没有影响的,里面有条件编译
      

  3.   

    我是MFC程序  需要用afxwin.h
      

  4.   

    如果建立的是MFC的工程,
    默认的包含足矣
      

  5.   

    #include "stdafx.h"
    一统都是如此