When I compile my code it Generates following errors:
1. undefined reference to 'initgraph'
2. undefined reference to 'line'
3. undefined reference to 'line'
4. undefined reference to 'line'
5. undefined reference to 'closegraph'
6. [Error] Id returned 1 exit status.