: : :
This message was edited by cuongmits at 2006-2-27 14:4:13
: : : : The
exit() method is defined in:
: : : :
#include <stdlib.h>
: : : :
: : : Thanks for you advice, but when I tried to add STDLIB.H, I got these errors:
: : :
: : : UNDEFINED SYMBOL _CIRCLE IN MODULE HELP.CPP (HELP.CPP my program)
: : : UNDEFINED SYMBOL _GRAPHERRORSMS IN MODELE HELP.CPP
: : : UNDEFINED SYMBOL _GRAPHRESULT IN MODULE HELP.CPP
: : : UNDEFINED SYMBOL _INITGRAPH IN MODULE HELP.CPP
: : :
: : : p/s this program I copy from documentation of TURBO C++ 3.0, it must work or there is problem with compiler or installation (?)
: : :
: : :
: : :
: :
: :
Are those functions declared in the graphics.h header? Or... are those linker errors? If they are linker errors and not compiler errors, have you added the appropriate library to your project settings? It may not be (probably isn't) one that is included in default projects.
: :
: :
: Yes, those functions declared in the graphics.h header.
: I dont know about error with linker, my directories are:
: C:\TC\INCLUDE (include directories)
: C:\TC\LIB (library directories)
: (these links are automatically declared when I installed)
:
: [quote] have you added the appropriate library to your project settings? [/quote] >> how to do it?
:
: I doubt the process of installation maybe problem there when I tried to install TURBO C++ 3.0 without reading readme file (?)
:
: Thank you.
:
Been ages sence I did anything with BGI... you can try:
- Options->Linker->Libraries->Graphics Library should be marked
- If it doesn't help, add the file EGAVGA.BGI to the project. It is located in the TC\bgi folder.