M
Michael
list<int> myProbelist;
for( int probeA = 0; probeA < 100; probeA++)
{
ProbeInfo_t* tmpInfo = new ProbeInfo_t();
tmpInfo->structSize = sizeof( tmpInfo );
myProbelist.push_back( &tmpInfo );
....
Hi, doing as above I get:
- Invalid arguments ' Candidates are: void push_back(const int &) '
- invalid conversion from ‘ProbeInfo_t**’ to ‘int’
- initializing argument 1 of ‘void std::list<_Tp,
_Alloc>:ush_back(const _Tp&) [with _Tp = int, _Alloc =
Probeinfo is a struct. Many thanks
Michael
for( int probeA = 0; probeA < 100; probeA++)
{
ProbeInfo_t* tmpInfo = new ProbeInfo_t();
tmpInfo->structSize = sizeof( tmpInfo );
myProbelist.push_back( &tmpInfo );
....
Hi, doing as above I get:
- Invalid arguments ' Candidates are: void push_back(const int &) '
- invalid conversion from ‘ProbeInfo_t**’ to ‘int’
- initializing argument 1 of ‘void std::list<_Tp,
_Alloc>:ush_back(const _Tp&) [with _Tp = int, _Alloc =
Probeinfo is a struct. Many thanks
Michael