- #include<iostream>
- #include"introduction.h"
- #include"Train.h"
- using namespace std;
- int main()
- {
- introduction();
- Train one_instance;
- while(one_instance.read())
- {
- if(!(one_instance.Railroad()))
- {
- cout<<"对不起,按照您的输入,无法进行后续的重排!"<<endl;
- }
- }
- system("pause");
- return 0;
- }