Hello I am new to programming, and I have to do program in c that uses pictures and I want to re size the console window, but for some reason i get a bunch linker errors(I have no clue how to fix those). I Have to use the graphics.h Library and Devc++
Code:
#include <stdio.h>
#include <stdlib.h>
#include <graphics.h>
#include <string.h>
void Display(void)
{
readimagefile("Inicio.jpg",20,200,200,400);
//readimagefile("c2.jpg",1140,200,1340,400);
//readimagefile("cr.jpg",1000,600,1340,700);
//readimagefile("logo.jpg",400,200,940,700);
}
int main( )
{
initwindow( 1280, 768, "Invent" );
Display();
return 0;
}
I already have libbgi.a in the folder devcpp/lib and graphics.h in devcpp/include
-lbgi
-lgdi32
-lcomdlg32
-luuid
-loleaut32
-lole32
I already set up the parameters and the pictures are in the same folder as the program can someone tell me what i am doing wrong, do I need to do something more??? or did I messed up somewhere in the parameters area??