when we use this file:
#include<graphics.h>
#include<stdio.h>
#include<conio.h>

Those are C, not C++ header files. You don't use any of them in c++ programs. Some very old Borland compilers such as Turbo C will use graphics.h, but it is not supported by any other compiler.