亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? faculty.cs

?? 集學生管理系統、學生選課系統、老師管理系統與一身 不錯的
?? CS
字號:
// Faculty.cs - Chapter 15 version.

// Copyright 2004 by Jacquie Barker and Grant Palmer - all rights reserved.

// An IMPLEMENTATION class.

using System;
using System.Collections;
using System.IO;

public class Faculty : CollectionWrapper {
  //------------
  // Attributes.
  //------------

  // This Hashtable stores Professor object references, using
  // the (String) ssn of the Professor as the key.

  private Hashtable professors;

  //----------------
  // Constructor(s).
  //----------------

  public Faculty() {
    // Instantiate a new Hashtable.

    professors = new Hashtable();
  }

  //-----------------
  // properties.
  //-----------------


  //-----------------------------
  // Miscellaneous other methods.
  //-----------------------------

  // Used for testing purposes.
	
  public void Display() {
    Console.WriteLine("Faculty:");
    Console.WriteLine("");

    // Step through the Hashtable and display all entries.

    IDictionaryEnumerator e = professors.GetEnumerator();

    while (e.MoveNext()) {
      Professor p = (Professor)e.Value;
      p.Display();
      Console.WriteLine("");
    }
  }

  public void AddProfessor(Professor p) {
    professors.Add(p.Ssn, p);
  }

  public override void ParseData(string line) {
    // We're going to parse tab-delimited records into
    // four attributes -- name, ssn, title, and dept --
    // and then call the Professor constructor to fabricate a new
    // professor.

    // We'll use the Split() method of the String class to split
    // the line we read from the file into substrings using tabs 
    // as the delimiter.

    string[] strings = line.Split('\t');

    // Now assign the value of the attributes to the appropriate
    // substring

    string name = strings[0];
    string ssn = strings[1];
    string title = strings[2];
    string dept = strings[3];

    // Call the constructor ...
    Professor p = new Professor(name, ssn, title, dept);
    AddProfessor(p);
  }

  public Professor FindProfessor(string ssn) {
    return (Professor)professors[ssn];
  }

  // We have to read a second file containing the teaching
  // assignments.
  // This next version is used when reading in the file that defines
  // teaching assignments.

  public override void ParseData2(string line) {
    // We're going to parse tab-delimited records into
    // two values, representing the professor's SSN
    // and the section number that he/she is going to teach.

    // Once again we'll make use of the Split() method to split
    // the line into substrings using tabs as the delimiter

    string[] strings = line.Split('\t');

    // Now assign the value of the attributes to the appropriate
    // substring

    string ssn = strings[0];

    // The full section number is a concatenation of the
    // course no. and section no., separated by a hyphen;
    // e.g., "ART101 - 1".

    string fullSectionNo = strings[1];

    // Look these two objects up in the appropriate collections.
    // Note that having made scheduleOfClasses a public
    // static attribute of the SRS class helps!
  
    Professor p = FindProfessor(ssn); 
    Section s = SRS.scheduleOfClasses.FindSection(fullSectionNo); 
    if (p != null && s != null) {
      p.AgreeToTeach(s);
    }
  }

  // Test scaffold.
  public static void Main(string[] args) {
    Faculty f = new Faculty();
    f.InitializeObjects("Faculty.dat", true);

    // We cannot test the next feature, because the code
    // of parseData2() expects the SRS.scheduleOfClasses
    // collection object to have been instantiated, but 
    // it will not have been if we are running this test
    // scaffold instead.
    // f.InitializeObjects("TeachingAssignments.dat", false);

    f.Display();
  }
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美电视剧在线观看完整版| 国产盗摄女厕一区二区三区 | 国产一区二区三区免费播放| 亚洲欧洲一区二区在线播放| 日韩一区二区三区在线视频| 色欧美片视频在线观看| 国产精品一区在线观看你懂的| 亚洲午夜视频在线观看| 亚洲老妇xxxxxx| 欧美一区二区高清| 欧美精品 日韩| 欧美日韩一区精品| 欧美精品久久天天躁| 日本高清无吗v一区| 91色porny| 色婷婷av一区二区| 99久久婷婷国产| 91麻豆自制传媒国产之光| 99热国产精品| 色欧美乱欧美15图片| 91福利视频久久久久| 欧美视频在线一区二区三区 | 2023国产一二三区日本精品2022| 这里只有精品电影| 日韩无一区二区| 精品久久久网站| 国产拍欧美日韩视频二区| 欧美激情中文字幕一区二区| 中文字幕制服丝袜成人av| 在线成人av网站| 久久久欧美精品sm网站| 国产精品天干天干在线综合| 亚洲精品国产精华液| 免费高清成人在线| 国产成人在线色| 欧美日韩精品一区二区三区四区| 91精品久久久久久久久99蜜臂| 51精品秘密在线观看| 久久综合色综合88| 亚洲日本护士毛茸茸| 久久99蜜桃精品| 91在线你懂得| 2020日本不卡一区二区视频| 亚洲精品视频免费观看| 蜜臂av日日欢夜夜爽一区| 91热门视频在线观看| 日韩一区二区电影| 国产精品色婷婷| 精品亚洲免费视频| 欧美在线看片a免费观看| 欧美精品一区二区高清在线观看| 亚洲女厕所小便bbb| 国产精品亚洲综合一区在线观看| 欧美主播一区二区三区美女| 久久日韩精品一区二区五区| 日韩有码一区二区三区| 91美女蜜桃在线| 国产精品久久久久影院亚瑟| 精品一区二区三区日韩| 欧美日韩一级二级| 一区二区欧美在线观看| av不卡免费电影| 国产精品久久久久精k8 | 国内精品嫩模私拍在线| 91精品综合久久久久久| 亚洲成年人影院| 在线观看一区日韩| 亚洲欧美日韩在线| 99re亚洲国产精品| 亚洲欧美色综合| 色婷婷综合久久久久中文| 亚洲乱码中文字幕| 色综合久久久久久久久久久| 中文字幕色av一区二区三区| 91在线一区二区三区| 亚洲欧美偷拍卡通变态| 欧美性生活大片视频| 亚洲国产日日夜夜| 欧美一级片在线看| 六月丁香婷婷色狠狠久久| 久久免费午夜影院| 99精品视频一区| 午夜欧美电影在线观看| 欧美大片日本大片免费观看| 国产精品99久久久久久宅男| 国产精品久久久久久久久快鸭| 一本色道久久综合亚洲91| 日韩精品欧美成人高清一区二区| 欧美一级高清片| gogogo免费视频观看亚洲一| 午夜精品久久久久久不卡8050| 日韩免费高清视频| 成人激情电影免费在线观看| 亚洲一二三专区| 久久久久久99精品| 欧美日韩一级二级| 99精品视频在线观看| 免费欧美日韩国产三级电影| 国产精品美女久久久久av爽李琼| 欧美日韩大陆在线| 不卡的av网站| 国产一区激情在线| 日本强好片久久久久久aaa| 日韩毛片精品高清免费| 精品毛片乱码1区2区3区| 99久久精品国产一区| 国产精品资源网站| 久久精品99国产精品| 视频一区中文字幕| 亚洲精品成人少妇| 国产精品久久久久久久久搜平片| 久久久久久久久久久久久女国产乱| 欧美综合欧美视频| 欧美性受极品xxxx喷水| 99精品国产热久久91蜜凸| 粉嫩av一区二区三区| 国产精品18久久久| 国产福利一区二区三区视频| 极品少妇xxxx精品少妇| 久久97超碰色| 国产在线精品一区二区夜色 | 男人的j进女人的j一区| 首页国产欧美久久| 日本少妇一区二区| 久久se精品一区精品二区| 国产精品一线二线三线精华| 激情综合亚洲精品| 成人午夜激情在线| 日本韩国视频一区二区| 色婷婷综合中文久久一本| 欧美午夜寂寞影院| 欧美一区二区性放荡片| 欧美成人午夜电影| 亚洲国产成人自拍| 成人黄色综合网站| 91福利精品视频| 精品国产一区a| 国产精品污污网站在线观看| 亚洲一区二区av在线| 激情丁香综合五月| 91丨九色丨黑人外教| 日韩免费福利电影在线观看| 欧美电影免费观看完整版| 国产精品久久久爽爽爽麻豆色哟哟| 亚洲第一久久影院| 国产成人福利片| 欧美剧在线免费观看网站| 日本一区二区三区高清不卡| 亚洲欧美另类图片小说| 国产一区二区女| 欧美三级蜜桃2在线观看| 精品国产一区二区三区久久影院| 一区在线播放视频| 国内成+人亚洲+欧美+综合在线| 色综合天天视频在线观看| 欧美精品一区二区蜜臀亚洲| 午夜精品爽啪视频| 色激情天天射综合网| 国产精品久久久久精k8| 国产在线不卡一区| 欧美一区中文字幕| 午夜精品一区二区三区电影天堂| 成人免费av资源| 国产三级欧美三级日产三级99| 天天色 色综合| 欧美日韩色一区| 亚洲综合偷拍欧美一区色| 成人免费va视频| 久久久久国产成人精品亚洲午夜| 亚洲视频免费在线观看| 懂色一区二区三区免费观看| 亚洲精品一区二区三区福利 | 亚洲不卡一区二区三区| 91精品福利视频| 国产精品日产欧美久久久久| 精品一区二区三区在线观看| 欧美色图片你懂的| 亚洲欧美自拍偷拍色图| 不卡一卡二卡三乱码免费网站| 久久久精品综合| 国产一区二区三区在线观看精品| 日韩欧美久久久| 美女视频黄 久久| 欧美mv日韩mv亚洲| 极品少妇一区二区三区精品视频 | 97精品视频在线观看自产线路二| 中文字幕av一区 二区| 大尺度一区二区| 一区在线观看免费| 色综合咪咪久久| 亚洲成人一二三| 欧美tickling网站挠脚心| 精品一区二区三区的国产在线播放 | 国产精品欧美久久久久一区二区| 国产suv精品一区二区6| 国产精品国产a| 欧美日韩中文精品| 久久97超碰色| 亚洲乱码国产乱码精品精的特点 | 欧美精品一区二区三区高清aⅴ|