No instance of overloaded function when resizing
问题 I got an error of "No instance of overloaded function" when I used resize(). I'm aware that what's inside of resize() might be wrong as well. I'm trying to resize x, an array of floats to all zeros. Not sure if std::vector>(0, 0) would be the right syntax for it as I am very new to C++. How do I solve the existing error? void IDFT(const std::vector<std::complex<float>> &Xf, std::vector<float> &x) { // allocate space for the vector holding the frequency bins // initialize all the values in the