#if !defined(AFX_DLGWTCD_H__F639CF88_AE44_4750_9675_A539D7471AA3__INCLUDED_)
#define AFX_DLGWTCD_H__F639CF88_AE44_4750_9675_A539D7471AA3__INCLUDED_#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

解决方案 »

  1.   

    #if _MSC_VER > 1000             
    #pragma once                         判断操作系统的版本
    #endif // _MSC_VER > 1000
      

  2.   

    对是编译器的版本信息
    关于
    #pragma once:
    Specifies that the file, in which the pragma resides, will be included (opened) only once by the compiler in a build. A common use for this pragma is the following:
      

  3.   

    #pragma once      头文件只包含一次
      

  4.   

    #if !defined(AFX_DLGWTCD_H__F639CF88_AE44_4750_9675_A539D7471AA3__INCLUDED_)
    #define AFX_DLGWTCD_H__F639CF88_AE44_4750_9675_A539D7471AA3__INCLUDED_这个避免重复定义的预编译语句。#if _MSC_VER > 1000             
    #pragma once                        
    #endif // _MSC_VER > 1000如果版本大于1000只编译一次。
      

  5.   

    //header.h
    #pragma once
    // Your C or C++ code would follow: