Mail Archives: djgpp/2001/06/09/17:39:44
X-Originating-IP: | [24.179.187.15]
|
From: | "Miller" <mill7213 AT hotmail DOT com>
|
To: | <djgpp AT delorie DOT com>
|
Subject: | IOSTREAM.H trouble
|
Date: | Sat, 9 Jun 2001 16:38:26 -0500
|
MIME-Version: | 1.0
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 5.50.4522.1200
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4522.1200
|
Message-ID: | <OE10kZIhTrBoe2U8QVj00007d23@hotmail.com>
|
X-OriginalArrivalTime: | 09 Jun 2001 21:38:15.0757 (UTC) FILETIME=[7DC93FD0:01C0F12C]
|
Reply-To: | djgpp AT delorie DOT com
|
When I compile this .ccp file, I get "iostream.h bad file name or no such file"
I checked the directory and that is true, no such file as iostream.h. I did
find a file "io.h and substituted that into the source. I then get an error "
installation problem, cannot exec 'cclplus': no such file or directory (ENOENT)
Could someone help me. I followed the install directions and do not understand.
//**************************************
// Name: Jack Miller
// Program Name: PGM2_1
// Program Description: A program that stores integers 62 and 99 in variables,
// and stores the sum of these two in a variable named Total
// Due Date: 06/16/01
// Input: Console
// Output: Console
//**************************************
#include <iostream.h>
void main (void)
{
int Value1 = 62;
int Value2 = 99;
int Total;
Total = Value1 + Value2;
cout << "Total = " << Total << endl;
Value1 = 100;
Total = Value1 + Value2;
cout << "Total = " << Total << endl;
}
Thanks - Jack
- Raw text -