What's wrong with this code?
#include <stdio.h>
#include <dos.h>
#include <graphics.h>
int main()
{
int gd = DETECT, gm;
initgraph(&gd, &gm, ""); /* this is where the error it says */
}
and it says this error:
warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
I'm using codeblocks, and just trying to run the code that I have from my friend for my lecture.