HW8  

 

Document.h

 

Document.cpp

 

Email.h

 

Email.cpp

 

File.h

 

File.cpp

 

main.cpp

 

 註:

在main中有一個if (docObject.getText().find(keyword) != string::npos) 這樣的用法

其中string::npos 的意思代表沒有找到

 

 

題目來源:Absolute C++,Sixth Edition,Walter Savitch,Page 691,第7題

 

此文僅學習用,並無商業行為,如有侵權告知後立即刪除

 

 

arrow
arrow
    文章標籤
    C++ 繼承 inheritancec
    全站熱搜

    Mark Zhang 發表在 痞客邦 留言(0) 人氣()