Expected primary expression before char?

Jan 13, 2012 at 10:03pm
1
2
3
4
5
6
7
8
9
void displayfunc()
{
    FILE *fopen(const char *Back, const char *DIB);
    loadBMP(char *file)
    {
        FILE *in;
        in=fopen(file,"rb");
    }
}


I dont get it. Whats wrong with this code?
Jan 14, 2012 at 1:27am
What are lines 4-8 supposed to be? You know you can't define a function inside a function like in a few other languages?
Jan 14, 2012 at 3:37am
I got it from a tutorial. I do know that. O and there is my answer lol.
Jan 14, 2012 at 3:37am
thanks a lot
Topic archived. No new replies allowed.