473,387 Members | 3,684 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

cannot open the 'iostream.h' file

I'm not sure if this forum is the right place to post this question, but here it goes.

I am trying to compile a C++ file, and everytime I do, the 'command prompt' window says that it cannot open the 'iostream.h' file. 'iostream.h' is just something which the book I'm learning with said to type into the C++ template. Can you explain what all this means? Thanks.

AH
Mar 9 '07 #1
3 7997
DumRat
93
I'm not sure if this forum is the right place to post this question, but here it goes.

I am trying to compile a C++ file, and everytime I do, the 'command prompt' window says that it cannot open the 'iostream.h' file. 'iostream.h' is just something which the book I'm learning with said to type into the C++ template. Can you explain what all this means? Thanks.

AH
Try <iostream.h> or, check with
[code]

#include <iostream>
using namespace std;
Mar 9 '07 #2
What r the header files that u are binding with ur source code file?U need to add the stdio.h header file to ur source code...
Mar 9 '07 #3
What r the header files that u are binding with ur source code file?U need to add the stdio.h header file to ur source code...
Nope,
it depends on what you are going to use
for example
Expand|Select|Wrap|Line Numbers
  1. #include <iostream>
  2. #include <string>  // For using strings
  3. #include <fstream> // For file input/output
  4.  
  5. using namespace std;
  6. int main(){
  7.      return 0;
  8. }
  9.  
That's basically it ;-)
Mar 9 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Ryan | last post by:
PowerPoint.Application cannot open PPT file I am trying to use the following code using to open a PPT file using VS.NET 2003 and PowerPoint 2003 Option Strict Off Imports...
0
by: Dougie | last post by:
Hi All, I am trying to create a windows service that will open my lotus notes email inbox and transfer the message body text to MS SQL. I can get the code working in a windows application (via...
1
by: woodBeeProgrammer | last post by:
CONTEXT ok, so if i register the file extension .bar Windows is happy and when a user double clicks myApp gets called. but if the user double clicks my data file BEFORE i get to register, the...
3
by: Neal | last post by:
Hi All I am trying to connect from ASP.Net app to an Access Db. If i don't specify a userid an pwd.. I get this error The Microsoft Jet database engine cannot open the file 'C:\Documents and...
1
by: Morten Wennevik | last post by:
I'm transferring an Excel file from a client computer to a web-page on a server, then trying to open the file on the server causes this exception message to occur. The Microsoft Jet database...
3
by: Boki | last post by:
Dear All, I just installed the DirectX SDK, and I install the Tutorial00 project, I compile it, but it shows: ------ Build started: Project: Tutorial00, Configuration: Debug Win32 ------...
2
by: John Donnell | last post by:
We have recently added another PC to the network and have run into difficulty when trying to open access files from the server using the new box. We get the error message 'MS Access cannot open...
0
by: Fendi Baba | last post by:
I created an ASP.net page which opens excel. This works fine in Office 2007. However, Excel 2003 runs in an error which states "cannot read output file". Hee is the VB code and below is the ASPX...
24
by: dancer | last post by:
Using ASP.net 1.1 and Microsoft Access. I received the following error message. Why? I have closed the Access file. I have another very small access file that opens with no trouble with the...
2
by: =?Utf-8?B?c25henp5?= | last post by:
I have created an web application using Visual Studio 2008. The application works OK in Debug. However it does not work after publish. The following message appers "The Microsoft Jet database...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.