如上图,不知道怎么了,MFC/ATL的头文件的include都报错,因为他们都是这样写的:
#include <string.h>
而改成这样:
#include <cstring>
就又好了
如下图:
巴扎黑2017-04-17 13:20:45
Check if your vs2015 has the mfc development component installed. Mine is not installed. What is displayed in the mfc type project under visual eating++ is
instsll micrsoft foundation classes for c++
If it is the same for you, install it and see the effect.
For reference only!
PHP中文网2017-04-17 13:20:45
If you are using the Community version, there is no MFC. If you are using Professional, MFC will not be selected by default unless you SelectAll or specifically click on it.