mike
2012-10-29 10:03:20 UTC
The data member is a vector.
I want to access the values inside the vector from the member function but I keep getting an error saying :
Unhandled exception at 0x002833b9 in classplay.exe: 0xC0000005: Access violation reading location 0x0000000c.
size_type size() const
{ // return length of sequence
return (_Mylast - _Myfirst);
}
I want to use pointers but it keeps failing I've tried everything. Any help would be appreciated! Many thanks.