Hi
with:
dataStart = dbt.item[j].start;
i get that error:
src/Database/DBDatabase.cpp:272: error: request for member 'start' in
'((CDatabase*)this)->CDatabase::dbt.CDatabaseTemplate::item.
std::vector<_Tp, _Alloc>::operator[] [with _Tp = CDatabaseTemplateItem*,
_Alloc = std::allocator<CDatabaseTemplateItem*>](((long unsigned
int)j))', which is of non-class type 'CDatabaseTemplateItem*'
class CDatabaseTemplate {
//protected:
std::vector<CDatabaseTemplateItem* item; ///< Vector of template
items
actually i have start like that:
class CDatabaseTemplateItem {
public:
int start, end;
Why do i get an error? How should i declare/define start?
Thanks
Michael