I need to solve an exercise where I need to use pointers, vectors and memory storage:
Create a vector with n elements, where each vector position will match a pointer to a value of type
float
. Do it read n values and store them in memory.
I do not think it's very complex, but I'm still studying the subject and it would be nice to have this exercise solved to see how things work.