Yurttas/PL/OOL/Cplusplus/F/04/02/03/01/students 00.cpp
Jump to navigation
Jump to search
1/*
2 Copyright(C) 2002
3 All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc..
4
5 Permission to use, copy, modify, and distribute this
6 software and its documentation for EDUCATIONAL purposes
7 and without fee is hereby granted provided that this
8 copyright notice appears in all copies.
9
10 date : June 1, 2002.
11 author : Salih Yurttas.
12
13 students_00.cpp
14*/
15
16
17#include "common.h"
18
19#include "students_process.h"
20
21int main(int argc, char* argv[]) {
22
23 char c;
24
25 do {
26 students_process app;
27
28 vector<Student> given_list = app.get_list_students();
29
30 vector<Student> extracted_list = app.extract_list_students_of_all_a(given_list);
31
32 app.put_list_students(extracted_list);
33
34 c = (YN)(toupper(app.get_char("Yes/No")));
35 }
36 while(c=='Y');
37
38}