 Hello friends, I am Sanjay Gupta. In this video, I am going to demonstrate you how you can remove linker error that you face while executing graphics related programs in TurboC. Before starting, you can subscribe my YouTube channel by clicking on the link which is available at bottom right corner of this video. You can download my app, TechMS that is available on Google Play. You can connect with me by following these details which are available in front of you. Now coming on to the topic, first I am including a header file Graphics.h which contains declarations of all functions available in Graphics in C. Then I am defining main function. Inside main, first variable is declared gd which stands for Graphics driver. It is initialized by detect. So Graphics driver will be detected automatically. Then second variable is gm. It is for Graphics mode. Then to initialize Graphics, I am calling initGraph function. In initGraph function, first argument is gd address, second address of gm variable and then a path ctc bgi. This path contains all Graphics related libraries. So if in your system, TurboC is installed in any other drive, then you have to provide that path. In my system, it is installed in C drive. So I am providing c, tc and bgi. After this function, I am calling another function that is out text xy. This function displays a text on console and at desired x or y coordinates. So the position of a text will be 10, 20. 10 is x coordinate and y is y coordinate. Sorry, 10 is x coordinate and 20 is y coordinate. And the message which will be displayed on the console is this. Then to hold the screen, I am calling getch function. Then to deallocate the Graphics which are initialized, I am calling closeGraph function and at last return 0. So this is a simple code which is implemented using Graphics in C and I have implemented it in TurboC. Now, when I will be executing this code or suppose any programmer who implements Graphics related instructions first time in TurboC, he or she might face this problem. And I hope you have also faced this problem. At compilation time, it is not showing any error. But when I will be executing this code, it is showing three errors. And all three errors are linker errors, undefined symbol closeGraph, out text xy and initGraph. So why this error occurs? Because Graphics library is not linked. So to remove this error, you have to click on options, then select linker and click on libraries. You can see here four libraries are available, container class, Turbo version, Graphics library and standard runtime. So standard runtime is selected right now. To select Graphics library, you have to click here. So if cross is available here, then Graphics library is selected. Now click on OK. Now, when you will be executing your code, your Graphics library will be linked and it will be executed properly. So again, I am executing this code. You can see no errors has occurred this time and the message Sanjay Gupta underscore text pool is printed at 1020 coordinates. So I hope you have understood how to remove linker errors that occurs while executing Graphics related functions in TurboC. If you want to watch more programming related videos, you can subscribe my YouTube channel. That is Sanjay Gupta underscore text pool. Thank you for watching this video.