VC++中出现错误“ error c2065 'printf' undeclared identifier”的处理方法

原文:http://blog.csdn.net/panpan639944806/article/details/20135311

有两种可能:

1.未加头文件 #include <stdio.h>

2.头文件#include <stdio.h>加到include <stdafx.h> 的前面,而应该放在include <stdafx.h>后面

原文地址:https://www.cnblogs.com/lizhigang/p/6902254.html