How to make a vector with, let's say 40 random numbers

Looking for a way to make a vector with random numbers and than use that for x or y positions of multiple circles (maybe also from a vector?).

Looking forward to hearing from you

Like this?

vector<int> randomNumbers;
for(int i=0; i<numCircles; i++)
	randomNumbers.push_back(ofRandom(0, 1200)); // Range 0-1200

@Jildert Thanks! I was clearly overthinking this! I will post the project/sketch when it’s done.