Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
university-timetable/day.cpp
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
18 lines (17 sloc)
1.53 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include<string> | |
#include <vector> | |
using namespace std; | |
//using double array as vector between the timings | |
class timetable | |
{ | |
string cl[2]={"BTCSA","BTCSB"} | |
string time[7]={"9AM","10AM","11AM","12PM","1PM","2PM","3PM"}; | |
string monday[2][7]={{"programming","computer architecture","database systems","break","break",oopslab","oopslab"},{"programming lab","computer architecture","break","database systems","break","programming lab","add+vantage"}}; | |
string tuesday[2][7]={{"computer architecture","database systems","programming","object oriented programming","break","oopslab","oopslab"},{"pp","cg","ds","ao","break","oopslab","oopslab"}}; | |
string wednesday[2][7]={{"programming","computer architecture","break","ao","break","oopslab","oopslab"},{"pp","programming","ds","ao","break","oslab","oslab"}}; | |
string thursday[2][7]={{"database systems","database systems","ds","programming","break","oslab","oslab"},{"oopslab","database systems","break"","database systems","break","break","oslab"}}; | |
string friday[2][7]={{"break","oopslab","oopslab","database systems","computer architecture","break","break},{"break","oopslab","database systems",""computer architecture","programming","break","oopslab"}}; | |
string room_no[2][7]={{"ECG-25","EC1-5","EC2-2","ECG-11","break","EC1-15","EC2-8"},{"ECG-25","EC1-6","EC1-6","ECG-26","break","EC1-1","ECG-21"}}; | |
string faculty[2][7]={"Dr Matthew England","Dr Simon","Dr Diana","break","Dr Matthew England","Dr Diana","Dr Simons"},{"Dr John","Dr Dianabasi","Amenda Brooks"," Dr John","break","Dr Diana","Dr Simon"}}; | |
} |