编译出错
											我写个c++程序不能运行!!!build:没错,但是运行的时候:出现个小的提示框,显示:无法执行程序



我也不知道怎么搞??谢谢回复




 2007-03-14 21:38
	    2007-03-14 21:38
   2007-03-14 23:17
	    2007-03-14 23:17
  谢谢!!!!
#include<iostream>
using namespace std;
#ifndef DATE_H
#define DATE_H
class date
{int mo,da;
public:
    date(int i,int j)
    {
        mo=i;
        da=j;
    }
    void display() const
    {
        cout<<mo<<"-"<<endl;
    }
};
#endif   
#include<iostream>
#include"data.h"
using namespace std;
int main(int argc,char *argv[])
{
    date t(12,31);
t.display();
return 0;
}
 2007-03-15 16:52
	    2007-03-15 16:52
  能够编译通过? 好像没有 data.h 这个头文件吧
 2007-03-19 18:10
	    2007-03-19 18:10
  
 2007-03-19 19:16
	    2007-03-19 19:16
  这样能通过编译吗???

 2007-03-19 20:13
	    2007-03-19 20:13
  
 2007-03-19 21:21
	    2007-03-19 21:21
   2007-03-20 16:14
	    2007-03-20 16:14