Hey. I had just started work on a certain BGI graphics mini project, when I discovered a totally new problem. Whenever I try to compile the program below, it gets compiled with no errors and no warnings. However, when I try to run the program, I get linker errors related to each of the functions defined in graphics.h
The program seems simple enough, so I am unable to understand why I should get any errors at all. The problem is that I am writing a BGI graphics program after a very long time, and did not anticipate any problem. Moreover, programs that I had earlier written and compiled correctly, now give me the same errors when I try to run them from within the compiler. What could be the problem? Please help out.
#define XINTERVAL 100
Compiler: Turbo C++ v3.0
OS: Microsoft Windows XP, Home Edition, Version 2002, Service Pack 2
Computer: AMD Athlon XP 2000+, 1.66 GHz, 224 MB RAM