-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.cpp
More file actions
27 lines (25 loc) · 1.46 KB
/
run.cpp
File metadata and controls
27 lines (25 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include<iostream>
using namespace std;
int main(){
system("cls");
cout << "------------------------------Compiling Book.java---------------------------------"<< endl;
system("javac -d . Book.java");
cout << "------------------------------Compiling Person.java-------------------------------"<< endl;
system("javac -d . Person.java");
cout << "------------------------------Compiling Patron.java-------------------------------"<< endl;
system("javac -d . Patron.java");
cout << "------------------------------Compiling Staff.java--------------------------------"<< endl;
system("javac -d . Staff.java");
cout << "------------------------------Compiling Librarian.java----------------------------"<< endl;
system("javac -d . Librarian.java");
cout << "------------------------------Compiling Clerk.java--------------------------------"<< endl;
system("javac -d . Clerk.java");
cout << "------------------------------Compiling Loan.java---------------------------------"<< endl;
system("javac -d . Loan.java");
cout << "------------------------------Compiling Library.java------------------------------"<< endl;
system("javac Library.java");
cout << "------------------------------Running Library.java------------------------------"<< endl;
system("java Library");
cout << "\n\n------------------------------ END --------------------------------"<< endl;
system("pause");
}