我正试图在万国邮局做这样的事情:
#ifdef _MSC_VER
#include "stdafx.h"
#endif
但我错了,告诉我:
C1020: unexpected #endif
这样做的正确方式是什么?
Edit
/This is content of stdafx.h/
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#include "targetver.h"
//#include <stdio.h>
//#include <tchar.h>
#include <iostream>
using std::cout;
using std::cerr;
// TODO: reference additional headers your program requires here