控制台程序使用<Afxtempl.h>出错,怎么解决?
#include<iostream>#include <Afxtempl.h>using namespace std;class Car{public: void setLen(int len){ c_lenth = len; } void setWid(int wid){ c_width = wid; } int getLen(){ return c_lenth; } int getWid(){ return c_width; }private: int c_lenth; int c_width;};void main(){ int i=10; cout << i;}