There is no graphic.h in the standard C++ language. It typically ships with 3rd party C++ implementations that incorporate the Borland Graphic Interface or one of its variants, such as Embarcadero Builder. It can also be used with Dev C++ if you install the WinBGIM library. Its primary purpose is to provide Windows graphics support since C++ has no built-in graphics support of any kind.
<graphic.h>
At the beginning in the header file: #include <graphics.h>
It has no use in C++ itself, it is only useful in Borland Turbo C++. It provides generic graphics support for Borland Turbo C++ applications.
I think its in conio.h or stdio.h
Use an input file stream (ifstream) to read from a file and an output file stream (ofstream) to write to a file. Both can be found in the <fstream> standard library header.
The <iostream> include file is a header file that contains the prototype declarations of functions that provide the basic input/output mechanisms in C++. The <iostream> header file sets up the objects that initialize the basic input/output pathways, cout and cin.
At the beginning in the header file: #include <graphics.h>
There is no such header in the standard library because graphics are a non-generic, platform-specific feature. For graphics output, including a plot, you need a graphics library and API suitable for your platform and hardware.
It has no use in C++ itself, it is only useful in Borland Turbo C++. It provides generic graphics support for Borland Turbo C++ applications.
All compilers do. You have to download the graphics library yourself.Examples:OpenGLDirectX (also includes other stuff)SDLSFMLConIOetc.
For example: int main (void) { return 0; }
I think its in conio.h or stdio.h
Classes and structures can be put in a header file the same way you would use them in a main program; the only difference is that they are placed in a separate file, called a header file. Then, after creating a new file, include that new file with the definition by the use of the preprocessor #include statement.
Whenever you open a file using the function open of fstream class (header file) by using one of it's object you have created, the file is created automatically.You can do it this way:fstream filer;filer.open("Student.dat",ios::out);//This will create a file.This is just a code segment.
You need to #include the header file that contains the missing function's declaration.
If you want to know about adding new header files, then it is simple. Write your functions in a file. Save that file with extension .h in the include directry. Now, you can include this file using the #include directive
Windows h is a header file for the programming language C++. If one were looking to learn about this specific header file there are forums that exist specifically for this topic on the C plus plus help page.
Use an input file stream (ifstream) to read from a file and an output file stream (ofstream) to write to a file. Both can be found in the <fstream> standard library header.