9 Apr
2012
9 Apr
'12
4:21 p.m.
陈海峰
std::vector<quote> result;
BOOST_FOREACH(const quote& q, idx_sortbyprice)
{
int kind = q.kind;
if (kind == 1 || kind == 11)
{ // std::cout << "市场" << q.market << ",类别" << q.kind << >
", " << q.secname << ",最新价" << q.price << std::endl;
result.push_back(q); this statement will compile error, why? how to write?
Can you post the exact compiler error you're getting. Thank you, Joaquín M López Muñoz Telefónica Digital