Hi, I've encountered this weird problem. When I compiled the project, it returned this error:
The weird thing is I didn't do anything to the class where the error occured. Yet the error appeared. I tried to clean build the project but the error is still there.
error: expected unqualified-id before 'using'
When I tried to comment the 'using' line, there's another error. But this time it's not the same error. The error was:
The error was inside the bracket of the class (or more accurately the last bracket). Can anybody help me here?
error: multiple types in one declaration
BTW, for the code:
//using namespace std; //The first error occured here
unsigned int getHandle();
CMusik(char* folder, char* file, char* nama, unsigned int handle);
void setVolume(int vol);
unsigned int mHandle;
int mStateMusik; //0=stopped;1=paused;2=played
}; //The second error