update Makefile in lab3
This commit is contained in:
parent
86df05a44f
commit
f243104cf9
|
@ -2,5 +2,7 @@ scheduler.out: scheduler.cpp
|
|||
g++ scheduler.cpp -o scheduler.out
|
||||
|
||||
run_sched: scheduler.out
|
||||
./scheduler.out $(WORKLOAD_FILE) $(SCHEDULING_ALGORITHM)
|
||||
./scheduler.out $(WF) $(SA)
|
||||
|
||||
clean:
|
||||
rm *.out
|
|
@ -25,9 +25,10 @@ int main(int argc, char **argv) {
|
|||
|
||||
ifstream file(file_to_search_in, ios::binary);
|
||||
string buffer;
|
||||
// buffer.resize();
|
||||
// file.read(&buffer[0], len2);
|
||||
while(getline(file, buffer)) {
|
||||
if(buffer[0] == '<'){
|
||||
continue;
|
||||
}
|
||||
cout << buffer << endl;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue