如果引用了stdafx.h,导致编译的时候提示命名空间无法重复使用
可以在stdafx.h加入下面代码
#define _CRT_SECURE_NO_DEPRECATE
#pragma once
#include "targetver.h"
#include <stdio.h>
#include <tchar.h>