有沒有一種方法可以將結構中的向量存儲在python中?具體來說,即時嘗試做:python結構中的向量
struct data{
string name // name of event
string location // location of event
vector <int> times // times the event happens in 24 hour format
};
即時通訊不知道如何做到這一點與structs模塊,因爲ive從來沒有使用過它。會創建一個班級做得更好嗎?
你想構建和Python的通過這些結構中的一個C++? – 2010-12-20 04:22:23