G
Gary Wessle
dear all
I am not doing this right.
time_t Grid::n_report(const vector<time_t>& times, const time_t& now_time){
for( vector<time_t>::iterator i = times.begin(); i != times.end(); i++ ){
if( *i >= now_time ) return *i;
the iterator for the first arg is not right, how do I make it const
iter to a ref vector?
thanks
I am not doing this right.
time_t Grid::n_report(const vector<time_t>& times, const time_t& now_time){
for( vector<time_t>::iterator i = times.begin(); i != times.end(); i++ ){
if( *i >= now_time ) return *i;
the iterator for the first arg is not right, how do I make it const
iter to a ref vector?
thanks