End Google Ads 201810 - BS.net 01 -->
Is this the right way to do it... I am getting an complier error ..(type mismatch)
struct {
char flag,
unsigned char data[60],
}packet;
vector vect_data;
int func(packet *p_packet)
{
vector.push_back(p_packet->data);
}
I think I am dng somehting horribly wrong can anyone help me to figure out whr I am wrong..... I want to store all the data in vector as data arrives....
Can I use vect instead of data array... ? and than pass vect to vect..if so can thn when I copy structure will vect data filled...or I have push the data.... Also does vect works eactly like array....?
Plz help
Thanks!!!
مواقع النشر (المفضلة)