Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
#include where is this file?
#1
Subject: #include where is this file?
AA

Respect sir Please need little clarification about the following things.

1. Where is iostream file?

2. Can we create custom like this file or alter this
Reply
#2

Dear Student,
Actually, iostream is a header file which is used for input/output in the C++ programming language. For example, we use cin and cout statements in our programs for getting the value from the keyboard or printing some information on the screen, both of these cin and cout are part of our iostream.h header file. It is part of the C++ standard library and the name stands for Input/Output Stream. It must be kept in mind that if you do not include iostream.h header file in our program and still try to use cout and cin statement, then it is a syntax error.

Secondly, yes you can create your own header files and write code in them. Dev C++ allows you to create your own header files which contain your own code but you must avoid tempering existing standard library file as it may result into a lot of confusion.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  how to check include library in Dev C++ Vuhelper 0 3,336 06-09-2012, 06:18 PM
Last Post: Vuhelper
  how to make .h file in c++ Vuhelper 0 3,620 11-05-2011, 05:20 PM
Last Post: Vuhelper
  In file included from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:31, from C:\Do sana.pari 2 3,552 11-02-2011, 03:02 AM
Last Post: baig66
  how can i read the last letter of a input file? 2011 Vuhelper 0 1,832 09-12-2011, 10:24 PM
Last Post: Vuhelper
  Overloaded >> operator not reading more than first line from data file in c++ 2011 Vuhelper 0 915 07-23-2011, 05:38 PM
Last Post: Vuhelper
  Read data from file into arrays in c++ 2011 Vuhelper 0 913 07-20-2011, 10:58 PM
Last Post: Vuhelper
  Creating File Associations in c++ 2011 Vuhelper 0 933 07-20-2011, 10:51 PM
Last Post: Vuhelper
  C++ Guessing Game include Number and ABC Vuhelper 0 1,295 06-15-2011, 06:19 PM
Last Post: Vuhelper
  how to implement java's MAC libraries for a file 2011 Vuhelper 0 1,939 06-14-2011, 09:18 PM
Last Post: Vuhelper
  required help in for read txt file in c++ and java Xpert 0 2,004 05-12-2011, 09:12 PM
Last Post: Xpert

Forum Jump:


Users browsing this thread: 1 Guest(s)