0

I have the following variables:

char* words[20];
char* tracks[20];

where they represent the number of tracks and words saved in a database on a SD card. My question is that, I would like the array of words and tracks to be of variable size and not static, that it is I don't want to specify the size of the array.

Mat
  • 202,337
  • 40
  • 393
  • 406
user3133400
  • 1
  • 1
  • 5

1 Answers1

0

I suggest you take a look at Standard C++ for Arduino It lets you use STL (standard template library) vector

Jesse Laning
  • 490
  • 4
  • 12