I\'m currently writing a C++ application which implements an Oscillator in conjuction with math.h. The code I have should work fine for the application (trying to compile an obj
Your code has multiple problems:
void oscillators::print_table()
instead of just void print_table()
) in oscillators.cpp#include "oscillators.h"
into oscillators.cppBut I guess that specific error is caused by missing semicolon after class definition in header file. Just add it like:
std::vector gtable_; // Will contain a wavetable with a guard point.
};
#endif