91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 118KB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2021-01-03
  • 語言: C/C++
  • 標簽: C++??pr??

資源簡介

本資源為C++ priemer Plus中文第六版中一些例子的源代碼。

資源截圖

代碼片段和文件信息

//?mytime0.cpp??--?implementing?Time?methods
#include?
#include?“mytime0.h“

Time::Time()
{
????hours?=?minutes?=?0;
}

Time::Time(int?h?int?m?)
{
????hours?=?h;
????minutes?=?m;
}

void?Time::AddMin(int?m)
{
????minutes?+=?m;
????hours?+=?minutes?/?60;
????minutes?%=?60;
}

void?Time::AddHr(int?h)
{
????hours?+=?h;
}

void?Time::Reset(int?h?int?m)
{
????hours?=?h;
????minutes?=?m;
}

const?Time?Time::Sum(const?Time?&?t)?const
{
????Time?sum;
????sum.minutes?=?minutes?+?t.minutes;
????sum.hours?=?hours?+?t.hours?+?sum.minutes?/?60;
????sum.minutes?%=?60;
????return?sum;
}

void?Time::Show()?const
{
????std::cout?<}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-05-05?08:51??c++priemer?plus\
?????文件???????17135??2017-05-04?20:58??c++priemer?plus\C++-primer-plus(第6版)中文版編程練習答案第16章.docx
?????目錄???????????0??2017-04-28?14:34??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\
?????目錄???????????0??2017-04-28?14:34??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\
?????文件?????????729??2011-03-12?22:48??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\mytime.cpp
?????文件?????????375??2011-03-12?22:48??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\mytime0.h
?????文件?????????729??2011-03-12?22:52??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\mytime1.cpp
?????文件?????????375??2011-03-12?22:51??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\mytime1.h
?????文件????????1212??2011-03-14?14:05??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\mytime2.cpp
?????文件?????????454??2011-03-14?14:06??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\mytime2.h
?????文件????????1244??2011-03-14?15:26??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\mytime3.cpp
?????文件?????????616??2011-03-14?15:22??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\mytime3.h
?????文件????????1455??2011-06-29?12:39??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\randwalk.cpp
?????文件????????1138??2011-03-15?10:45??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\stone.cpp
?????文件?????????499??2011-07-10?20:44??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\stone1.cpp
?????文件?????????883??2017-03-20?23:30??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\stonewt.cpp
?????文件?????????704??2011-03-15?10:07??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\stonewt.h
?????文件????????1076??2011-03-15?10:45??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\stonewt1.cpp
?????文件?????????795??2011-03-15?10:45??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\stonewt1.h
?????文件?????????678??2011-03-12?22:54??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\usetime0.cpp
?????文件?????????963??2011-03-14?14:05??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\usetime1.cpp
?????文件?????????913??2011-07-10?20:44??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\usetime2.cpp
?????文件?????????635??2011-07-10?20:44??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\usetime3.cpp
?????文件????????4032??2011-03-14?20:12??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\vect.cpp
?????文件?????????957??2017-03-20?22:36??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter11\Chapter?11\vect.h
?????目錄???????????0??2017-04-28?14:34??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter12\
?????目錄???????????0??2017-04-28?14:34??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter12\Chapter?12\
?????文件????????3228??2011-07-10?20:43??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter12\Chapter?12\bank.cpp
?????文件????????1476??2011-03-16?16:08??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter12\Chapter?12\placenew1.cpp
?????文件????????1659??2011-03-16?16:09??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter12\Chapter?12\placenew2.cpp
?????文件????????2010??2011-03-17?15:07??c++priemer?plus\C++_Primer_Plus_第6版中文版源代碼_Chapter12\Chapter?12\queue.cpp
............此處省略125個文件信息

評論

共有 條評論