D:\demo\main.cpp|8|undefined reference to `Line::Line()'|
//#include <iostream>
#include<stdlib.h>
#include"Line.h"
using namespace std;
int main()
{
Line *p=new Line();
delete p;
p=NULL;
return 0;
}
//#include <iostream>
#include<stdlib.h>
#include"Line.h"
using namespace std;
int main()
{
Line *p=new Line();
delete p;
p=NULL;
return 0;
}
2017-05-16
举报