Re: [問題] 關於functor及find_if
:
: --
: ※ 發信站: 批踢踢實業坊(ptt.cc)
: ◆ From: 220.143.155.152
: → softwind:TruTPIn 到底是class 還是object ??? 08/24 01:49
: → softwind:TableA: list<int AID, string name> 08/24 01:58
: → softwind:TableB: list<int BID, string name> 08/24 01:58
: → softwind:Relation: list<int AID, int BID> 08/24 01:58
: → softwind:我只能理解上面這個 DB 設計 @@" ... 08/24 02:00
: → tyc5116:恩~~我Tru開頭的class只是用來將上面這樣的list包起來而已 08/24 08:28
class tableA{
list<int AID, string name1>
...
}
class tableB{
TableB: list<int BID, string name2>
}
class Realation{
list<int AID, int BID>
void fun();
}
像這樣子,在fun這裡的函式怎麼寫,才能去修改到name1和name2呢
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 163.18.48.28
推
08/24 13:01, , 1F
08/24 13:01, 1F
→
08/24 14:28, , 2F
08/24 14:28, 2F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 3 之 3 篇):
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章