I know that arrays have to be given a size when using them, so I tried to, but this piece of code doesn't seem to want to be accepted by the compiler.
data is a std::vector<char> so i tried using the .size() function to use the size of the vector to initialize the array. Maybe there is a different way to go about this, but i want to take each char in the array and sore it into the array.
int fileTempSize = data.size();
char fileTemp[fileTempSize];