B
bg_ie
Hi,
I'm trying to compile the following program -
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
//#include "dsound.h"
#include <GL/glut.h>
int main()
{
return 0;
}
but I'm getting the error -
'Only one of a set of overloaded functions can be "C"' if I save this
program as a .cpp rather than a .c, and if I include either <stdlib.h>
or "dsound.h". I'm compiling with Bcc55. Any suggestions as to how I
can avoid this error,
Thanks,
Barry.
I'm trying to compile the following program -
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
//#include "dsound.h"
#include <GL/glut.h>
int main()
{
return 0;
}
but I'm getting the error -
'Only one of a set of overloaded functions can be "C"' if I save this
program as a .cpp rather than a .c, and if I include either <stdlib.h>
or "dsound.h". I'm compiling with Bcc55. Any suggestions as to how I
can avoid this error,
Thanks,
Barry.