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
Another way to produce this error: define a macro to a string constant, and later, use the macro name as the name of a string constant. Example
#define FOO "bar"
static const char FOO[] = "bar"; // <-- Error "expected unqualified-id before string constant".
The obvious answer is to remove one of the definitions, or change the name of one.