Woo,
As far as I know graphics.h use BGI.You can use it with Turbo C++ like Asif_NSU or use Borland C++.
In Borland C++ right-click on the cpp source window and choose Target Expert.You should a beautiful window with options everywhere.Just look to the lower right and you should see Windows 32 and below the Console.Just choose Dos (Standard) instead of Windows.Then the path in the initgraph should be "bc5/bgi" or copy evga.bgi from there to your current folder.
[Compiler I have tried BGI on:Turbo C++,Borland C++ 5.02(Commercial,not the free one)].
Visiual Studio Net would understand BGI like Greek or something.
The most common error would be:
Code:
error directive BGI not supported under Windows