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.

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.