Yet another probably really simple question. Hopefully these will diminish with more experience in C++/C
I have my spark core sending an HTTP request to my PHP server on interrupt when an input is tripped. Problem is that this is a blocking call so if you hit the button again while the HTTP request is still processing it will be missed. I need to buffer these packets to be sent. However I see I cannot use the C++ Vector object so how is it recommended that I do this.
In short a button is pressed, interrupt method is called, an unsigned char array is created, this unsigned char array needs to be added to some type of multi dimensional buffer array. In the main loop I need to check this multi dimensional array for new data, if it exists then send the HTTP Request. So the main question, what the heck do I use as the object type for this buffer I need?