:@ Hi every body, i tried recently to compile some old C++ codes but regardless of the compiler i use i get the same error message when i want to link the *.obj file. i even tried it with Tlinker and macrolinker but with no success, if any one could help I'll be grateful, and it's kind of emergency.
these are the error messages:
Error: Undefined symbol _COUT in module CHESS.CPP
Error: Undefined symbol istream::operator >>(char near*) in module CHESS.CPP
Error: Undefined symbol _CIN in module CHESS.CPP
Error: Undefined symbol _RECTANGLE in module CHESS.CPP
Error: Undefined symbol _GETMAXX in module CHESS.CPP
Error: Undefined symbol _CLEARDEVICE in module CHESS.CPP
Error: Undefined symbol _NOSOUND in module CHESS.CPP
Error: Undefined symbol _DELAY in module CHESS.CPP
Error: Undefined symbol _SOUND in module CHESS.CPP
Error: Undefined symbol _vector_new_(void near*,unsigned int,unsigned int,unsigned int,...) in module CHESS.CPP
Error: Undefined symbol ostream::outstr(const char near*,const char near*) in module CHESS.CPP
Error: Undefined symbol _INSTALLUSERFONT in module CHESS.CPP
Error: Undefined symbol _EXIT in module CHESS.CPP
Error: Undefined symbol _GETCH in module CHESS.CPP
Error: Undefined symbol _GRAPHERRORMSG in module CHESS.CPP
Error: Undefined symbol _GRAPHRESULT in module CHESS.CPP
Error: Undefined symbol _INITGRAPH in module CHESS.CPP
Error: Undefined symbol _CLRSCR in module CHESS.CPP
Error: Undefined symbol operator new(unsigned int) in module CHESS.CPP
Error: Undefined symbol operator delete(void near*) in module CHESS.CPP
Error: Undefined symbol _CLOSEGRAPH in module CHESS.CPP
Error: Undefined symbol _OUTTEXTXY in module CHESS.CPP
Error: Undefined symbol _SETCOLOR in module CHESS.CPP
Error: Undefined symbol _SETTEXTSTYLE in module CHESS.CPP
Error: Undefined symbol _GETMAXY in module CHESS.CPP
Error: Undefined symbol _BAR3D in module CHESS.CPP
Error: Undefined symbol _SETFILLSTYLE in module CHESS.CPP
Error: Undefined symbol _LINE in module CHESS.CPP
Error: Undefined symbol _BAR in module CHESS.CPP

Post at least the list of header fies included in your program and the user created header files, particularly the CHESS.H and CHESS.CPP file. Looks like there are some dependency issues with lack of necessary header files. Also indicate what compiler and OS you are using.

Good point, here is one of the projects, i also included some *.chr files for the fonts, so you can get them too (they are Persian fonts).
and i'm using windows xp and turbo c++ 3.1 and also 3.0 but they both give the same error, and i couldn't even make an exe file of the example bgidemo file that exists in them.
http://www.easy-share.com/1908838584/Chess.zip
thanks

hi
if any one can help, please just give me a clue that what is wrong with the compilers

i'm using windows xp and turbo c++ 3.1 and also 3.0

give me a clue that what is wrong with the compilers

Have you tried anything like mingw (included with Code::Blocks or standalone) or Visual C++? All of the above are free and much much more recent (to put it politely).

EDIT: From the linker output it looks like you are using graphics.h. You may have to change some of your code to other libraries (e.g., nCurses and its variants) for it to be fully functional.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.