c:\users\administrator\desktop\新建文件夹\3_1\main.cpp(10) : error C2065: 'stirng' : undeclared identifier
#include <iostream>
#include "data.h"
#include "project.h"
#include <string>
using namespace std;
int main()
{
// 使用第一种方式构造Project对象
stirng name=p1;
Date myDate1(2001,1,1), myDate2(2002,1,1);
Project p1(name,myDate1,myDate2);
p1.showName();
p1.showStartEndDate();
p1.showCount();
#include <iostream>
#include "data.h"
#include "project.h"
#include <string>
using namespace std;
int main()
{
// 使用第一种方式构造Project对象
stirng name=p1;
Date myDate1(2001,1,1), myDate2(2002,1,1);
Project p1(name,myDate1,myDate2);
p1.showName();
p1.showStartEndDate();
p1.showCount();