Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

This question already has an answer here:

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.

share|improve this question

marked as duplicate by Sam, Mat, jeha, Neil Townsend, Ed Bayiates Dec 24 '13 at 22:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

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

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.