N
nosbor
Hi
i have defined
typedef vector<string,bool> list_check;
how do i add elements to list_check ?
normally i would just use vector<type> , but am wondering if there is
a way to add things to list_check type.
would be nice to be able to do:
list_check.push_back("some_string",true);
but i get errors.
list_check lc();
compiles of , its when i try to add things to it i get more strange
errors.
help appreciated.
i have defined
typedef vector<string,bool> list_check;
how do i add elements to list_check ?
normally i would just use vector<type> , but am wondering if there is
a way to add things to list_check type.
would be nice to be able to do:
list_check.push_back("some_string",true);
but i get errors.
list_check lc();
compiles of , its when i try to add things to it i get more strange
errors.
help appreciated.