Guyz Iam happy to say that i moved little.Iam able to run the exe file without header files.It just needed egavga.bgi graphic drive.So i have to copy my exe file and egavga.bgi to other system to make the exe work.My point is i want my program to create egavga.bgi dynamically such that exe file doesnt need it.Hence i tried following:
bgiobj egavga egavga_driver
tlib graphics+egavga
when i use
registerbgidriver(egavga_driver)
it says undefined symbol egavga_driver.
By doing so can i make my initgraph(&driver,&mode,"")
such that the exe file doesnt need egavga.bgi separtely in the disk
is it clear, let me know if any thing wrong