實驗6 多態性與虛函數

實驗目的和要求      瞭解靜態聯編的動態聯編的概念。掌握動態聯編的條件。 實驗內容 1.分析並調試下列程序。 [cpp]  view plain  copy <span style="font-family:SimSun;font-size:16px;">//sy6_1.cpp   #include<iostream>   using namespace std;   class Base  
相關文章
相關標籤/搜索