如题,编写一个命令行程序时,如果同时使用这两个头文件则会报错
附上的代码#include <iostream>
#include <afx.h>
using namespace std;
int main()
{
    cout << "test" << endl;
    return 0;
}出错的原因是什么?
有什么解决的方法么?
谢谢各位指点