Skip to main content

Questions tagged [vector]

Filter by
Sorted by
Tagged with
0 votes
1 answer
342 views

I have several classes that call each other running on an Arduino Mega. I am using the ArduinoSTL library to get the std library, most notably the std::vector. The core problem is as follows: my ...
Mike's user avatar
  • 173
0 votes
3 answers
156 views

I'm working with ATmega328 NANO boards, and I would like to know if it is possible to INSERT my own routine, to be included in the things done during reset, BEFORE any pre-C initialization is done, ...
Randy's user avatar
  • 407
1 vote
1 answer
1k views

I want to define an unknown size for an array. However, I know that this cannot be done on the arduino. So what other methods do you suggest? I tried using vectors by downloading the library ...
Dominic Teo's user avatar
1 vote
2 answers
792 views

im trying to arrange the vector in descending order but its not happening.. int fibonacci[15]={0, 1}; int a=0; void setup() { Serial.begin(9600); for (int i=0; i<=14; i++) //loop to create ...
Ben Velt's user avatar
0 votes
3 answers
3k views

I'm struggling with this issue that I can seem to get around of. When defining a vector class, I'm seeming to get some issues when deleting the allocated pointer. Oddly enough, this only happens ...
Jack S.'s user avatar
0 votes
1 answer
873 views

I have a project that I need to use a vector, I have tried to get several libraries to compile with out luck. The one that has gotten the closest is Andy Brown's AVR-STL. I keep getting the error: C:...
Andy Braham's user avatar