graphics.h is not part of the standard, so we have no idea which graphics.h you are talking about. There have been many, many files named graphics.h over the years.
Pardon me...I am abeginner...
"graphics.h is not part of the standard"... & i cant understand it..
Further,this is a programme given in a website to draw a circle..
"graphics.h is not part of the standard"... & i cant understand it..
The C++ programming language defines a number of header files. Everyone has those header files. graphics.h is something that YOU have, because YOU have turbo C++ and it comes with turbo C++. Almost nobody else has it, because nobody else uses turbo C++.
The best advice I can give you is to not use turbo c++. It's really, really old. Your code above is NOT correct C++. You should throw away turbo C++ and get a real, modern C++ compiler. They are free.
Did you mean a compiler, or did you mean an IDE with compiler included?
The compiler is the command-line tool that turns your text files into bionary executables and libraries. An IDE is a set of nice utilities and tools and windows that help you organise your work, and then calls the compiler for you.
"graphics.h" is an old DOS programming library to play with your video card. You can find a version designed for modern Windows systems here: http://winbgim.codecutter.org/
It is designed for use with the MinGW port (of GCC), but it can be made to work with other compilers easily enough -- if you know what to do. (If you are a beginner just stick to using the MinGW toolchain.)
Hi macs, recently I used Turbo C++. It's awesome for learning C++, really awesome.
I suggest that continue learning C++ with that compiler and learn C++ concepts like inhretance etc and not learning header files. But after some time, migrate to a better compiler like GCC or something else.
Most newbies try to play with graphical abilities of C++ and maybe graphics.h! As expert guys said, this is not a standard C++ header. If you want to learn graphics programming use one of the options that Duoas said or you can learn OpenGL, it is very low level but sdl or sfml are much better.
I think you have not described the path of graphics.h header file correctly.
Check it explicitly into your c drive or where ever u have installed it.
Then write the path.
I think it would be c:\\turboc3\\bgi if you are using turboc3 or may be anything else.
try it.