hey all
simply enable the graphics mode form linker

Linker->Libraries->enable Graphics library

now all graphics programs will run smoothly

thanxx all :D

With reference to ur query,
If You are getting Error in Windows XP that Undefined symbol initgraph in module then follow the Steps :

Go to Console

Go to Options

Go to Linker

Go to Libraries

Make "X" Mark on Graphics Library

Actually graphics related functions does not work on windows 7

try it...
initilize the graph like this....

i gave the location of bgi folder in my c drive as below:

the program compiles without any error but while running nothing appears...

when i press alt+f5 i found this error...How to resolve this?